summary refs log tree commit diff
path: root/synapse/storage/schema
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-11-02 15:11:31 +0000
committerMark Haines <mark.haines@matrix.org>2015-11-02 15:11:31 +0000
commitddd8566f415ab3a6092aa4947e5d2aebf67109fc (patch)
treeeab8cc4d46e1ab7446b990d8eb5556e65304c0a1 /synapse/storage/schema
parentMerge branch 'develop' into markjh/room_tags (diff)
downloadsynapse-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.sql1
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)
 );