mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-15 22:03:50 -05:00
Store room tag content and return the content in the m.tag event
This commit is contained in:
parent
0e36756383
commit
ddd8566f41
4 changed files with 41 additions and 22 deletions
|
|
@ -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)
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue