diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-05-11 12:48:50 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-05-11 12:48:50 +0100 |
commit | ff3d810ea8e84a48508a08e6246c7d70739c94ea (patch) | |
tree | cd5b5ee57167d7e86737499e3869090b92a4b0b8 /synapse/storage | |
parent | Don't create event_search index on sqlite (diff) | |
download | synapse-ff3d810ea8e84a48508a08e6246c7d70739c94ea.tar.xz |
Add a comment to old delta
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/schema/delta/37/remove_auth_idx.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/37/remove_auth_idx.py b/synapse/storage/schema/delta/37/remove_auth_idx.py index 784f3b348f..20ad8bd5a6 100644 --- a/synapse/storage/schema/delta/37/remove_auth_idx.py +++ b/synapse/storage/schema/delta/37/remove_auth_idx.py @@ -36,6 +36,10 @@ DROP INDEX IF EXISTS transactions_have_ref; -- and is used incredibly rarely. DROP INDEX IF EXISTS events_order_topo_stream_room; +-- an equivalent index to this actually gets re-created in delta 41, because it +-- turned out that deleting it wasn't a great plan :/. In any case, let's +-- delete it here, and delta 41 will create a new one with an added UNIQUE +-- constraint DROP INDEX IF EXISTS event_search_ev_idx; """ |