diff options
author | Erik Johnston <erik@matrix.org> | 2017-07-10 14:53:19 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-07-20 16:36:42 +0100 |
commit | c544188ee3644c85a97a3c4e09e63ad4e3c6f0cc (patch) | |
tree | 6e8f40f857d42827b2fef0c1f6e150480ff870f3 /synapse/storage/schema/delta | |
parent | Merge pull request #2374 from matrix-org/erikj/group_server_local (diff) | |
download | synapse-c544188ee3644c85a97a3c4e09e63ad4e3c6f0cc.tar.xz |
Add groups to sync stream
Diffstat (limited to 'synapse/storage/schema/delta')
-rw-r--r-- | synapse/storage/schema/delta/43/group_server.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/43/group_server.sql b/synapse/storage/schema/delta/43/group_server.sql index e1fd47aa7f..92f3339c94 100644 --- a/synapse/storage/schema/delta/43/group_server.sql +++ b/synapse/storage/schema/delta/43/group_server.sql @@ -155,3 +155,12 @@ CREATE TABLE local_group_membership ( CREATE INDEX local_group_membership_u_idx ON local_group_membership(user_id, group_id); CREATE INDEX local_group_membership_g_idx ON local_group_membership(group_id); + + +CREATE TABLE local_group_updates ( + stream_id BIGINT NOT NULL, + group_id TEXT NOT NULL, + user_id TEXT NOT NULL, + type TEXT NOT NULL, + content TEXT NOT NULL +); |