summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/schema/delta/v4.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/v4.sql b/synapse/storage/schema/delta/v4.sql
new file mode 100644
index 0000000000..1652ef2921
--- /dev/null
+++ b/synapse/storage/schema/delta/v4.sql
@@ -0,0 +1,5 @@
+CREATE TABLE IF NOT EXISTS deletions (
+    event_id TEXT NOT NULL,
+    deletes TEXT NOT NULL,
+    CONSTRAINT ev_uniq UNIQUE (event_id)
+);