summary refs log tree commit diff
path: root/synapse/storage/schema
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-05 14:49:08 +0100
committerErik Johnston <erik@matrix.org>2016-09-05 14:49:08 +0100
commit485d999c8a95f8fdc6425a00e906e86efc77a917 (patch)
tree37c9489bb5e33154d5820448b90516149da2a790 /synapse/storage/schema
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/state_storage (diff)
downloadsynapse-485d999c8a95f8fdc6425a00e906e86efc77a917.tar.xz
Correctly delete old state groups in purge history API
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r--synapse/storage/schema/delta/35/state.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/35/state.sql b/synapse/storage/schema/delta/35/state.sql
index c4c244c169..0f1fa68a89 100644
--- a/synapse/storage/schema/delta/35/state.sql
+++ b/synapse/storage/schema/delta/35/state.sql
@@ -19,3 +19,4 @@ CREATE TABLE state_group_edges(
 );
 
 CREATE INDEX state_group_edges_idx ON state_group_edges(state_group);
+CREATE INDEX state_group_edges_prev_idx ON state_group_edges(prev_state_group);