summary refs log tree commit diff
path: root/synapse/storage/schema/main/delta/92/01_remove_trigger.sql.postgres
blob: e9f160cdccf0c906775b7dce92d21b4aed22995f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--
-- This file is licensed under the Affero General Public License (AGPL) version 3.
--
-- Copyright (C) 2025 New Vector, Ltd
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Affero General Public License as
-- published by the Free Software Foundation, either version 3 of the
-- License, or (at your option) any later version.
--
-- See the GNU Affero General Public License for more details:
-- <https://www.gnu.org/licenses/agpl-3.0.html>.

-- Removes the trigger that was added in #18260 and then reverted
DROP TRIGGER IF EXISTS event_stats_increment_counts_trigger ON events;
DROP FUNCTION IF EXISTS event_stats_increment_counts();