summary refs log tree commit diff
path: root/synapse/storage/schema/delta/v4.sql
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-09-22 13:42:52 +0100
committerErik Johnston <erik@matrix.org>2014-09-22 13:42:52 +0100
commit231afe464aa9d5313de29ff569a1e2fea842fcb5 (patch)
treefcf3223d7c30cc646c21196203fb926a19b84426 /synapse/storage/schema/delta/v4.sql
parentMerge branch 'master' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-231afe464aa9d5313de29ff569a1e2fea842fcb5.tar.xz
Add a deletions table
Diffstat (limited to 'synapse/storage/schema/delta/v4.sql')
-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)
+);