summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-05-11 12:48:50 +0100
committerRichard van der Hoff <richard@matrix.org>2017-05-11 12:48:50 +0100
commitff3d810ea8e84a48508a08e6246c7d70739c94ea (patch)
treecd5b5ee57167d7e86737499e3869090b92a4b0b8 /synapse
parentDon't create event_search index on sqlite (diff)
downloadsynapse-ff3d810ea8e84a48508a08e6246c7d70739c94ea.tar.xz
Add a comment to old delta
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/schema/delta/37/remove_auth_idx.py4
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;
 """