summary refs log tree commit diff
path: root/synapse/storage/schema/delta/v4.sql
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage/schema/delta/v4.sql')
-rw-r--r--synapse/storage/schema/delta/v4.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/v4.sql b/synapse/storage/schema/delta/v4.sql
index 2e2635317a..fc8bb5ad84 100644
--- a/synapse/storage/schema/delta/v4.sql
+++ b/synapse/storage/schema/delta/v4.sql
@@ -5,3 +5,7 @@ CREATE TABLE IF NOT EXISTS deletions (
 
 CREATE INDEX IF NOT EXISTS deletions_event_id ON deletions (event_id);
 CREATE INDEX IF NOT EXISTS deletions_deletes ON deletions (deletes);
+
+ALTER TABLE room_ops_levels ADD COLUMN delete_level INTEGER;
+
+PRAGMA user_version = 4;