diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-11-02 15:11:31 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-11-02 15:11:31 +0000 |
commit | ddd8566f415ab3a6092aa4947e5d2aebf67109fc (patch) | |
tree | eab8cc4d46e1ab7446b990d8eb5556e65304c0a1 /synapse/storage/schema | |
parent | Merge branch 'develop' into markjh/room_tags (diff) | |
download | synapse-ddd8566f415ab3a6092aa4947e5d2aebf67109fc.tar.xz |
Store room tag content and return the content in the m.tag event
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r-- | synapse/storage/schema/delta/25/tags.sql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/25/tags.sql b/synapse/storage/schema/delta/25/tags.sql index 168766dcf3..527424c998 100644 --- a/synapse/storage/schema/delta/25/tags.sql +++ b/synapse/storage/schema/delta/25/tags.sql @@ -18,6 +18,7 @@ CREATE TABLE IF NOT EXISTS room_tags( user_id TEXT NOT NULL, room_id TEXT NOT NULL, tag TEXT NOT NULL, -- The name of the tag. + content TEXT NOT NULL, -- The JSON content of the tag. CONSTRAINT room_tag_uniqueness UNIQUE (user_id, room_id, tag) ); |