summary refs log tree commit diff
path: root/synapse/storage/prepare_database.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-10-04 15:24:01 +0100
committerErik Johnston <erik@matrix.org>2018-10-04 16:03:08 +0100
commit4917ff55234718c0e650c6dc2a1117304465b9be (patch)
treed7f51bf4691b1f4ed22c039a3a0a8a32e331320b /synapse/storage/prepare_database.py
parentDelete unreferened state groups during purge (diff)
downloadsynapse-4917ff55234718c0e650c6dc2a1117304465b9be.tar.xz
Add state_group index to event_to_state_groups
This is needed to efficiently check for unreferenced state groups during
purge.
Diffstat (limited to 'synapse/storage/prepare_database.py')
-rw-r--r--synapse/storage/prepare_database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/prepare_database.py b/synapse/storage/prepare_database.py
index b364719312..bd740e1e45 100644
--- a/synapse/storage/prepare_database.py
+++ b/synapse/storage/prepare_database.py
@@ -25,7 +25,7 @@ logger = logging.getLogger(__name__)
 
 # Remember to update this number every time a change is made to database
 # schema files, so the users will be informed on server restarts.
-SCHEMA_VERSION = 51
+SCHEMA_VERSION = 52
 
 dir_path = os.path.abspath(os.path.dirname(__file__))