diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-22 13:42:52 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-22 13:42:52 +0100 |
commit | 231afe464aa9d5313de29ff569a1e2fea842fcb5 (patch) | |
tree | fcf3223d7c30cc646c21196203fb926a19b84426 /synapse/storage | |
parent | Merge branch 'master' of github.com:matrix-org/synapse into develop (diff) | |
download | synapse-231afe464aa9d5313de29ff569a1e2fea842fcb5.tar.xz |
Add a deletions table
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/schema/delta/v4.sql | 5 |
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) +); |