diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-23 17:36:17 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-23 17:36:24 +0100 |
commit | bc250a6afa68b7584f3b7b3aacb919df406da75a (patch) | |
tree | db6bfd1b559eadcb70e742f5df0b4531d6ed17ff /synapse/storage/schema/delta/v4.sql | |
parent | Add prune_event method (diff) | |
download | synapse-bc250a6afa68b7584f3b7b3aacb919df406da75a.tar.xz |
SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops levels event
SYN-12 # comment Auth has been added.
Diffstat (limited to 'synapse/storage/schema/delta/v4.sql')
-rw-r--r-- | synapse/storage/schema/delta/v4.sql | 4 |
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; |