diff options
author | Erik Johnston <erik@matrix.org> | 2019-03-08 16:38:23 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-03-08 16:38:23 +0000 |
commit | fe6c12e6cdbc2b34e93f6211c51e1eab33ae00c8 (patch) | |
tree | 60fcb924a8018fee7551df7f6157e9fff754dd9f /synapse/storage/schema/full_schemas | |
parent | Newsfile (diff) | |
download | synapse-fe6c12e6cdbc2b34e93f6211c51e1eab33ae00c8.tar.xz |
Add comment to schema
Diffstat (limited to 'synapse/storage/schema/full_schemas')
-rw-r--r-- | synapse/storage/schema/full_schemas/11/event_edges.sql | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/schema/full_schemas/11/event_edges.sql b/synapse/storage/schema/full_schemas/11/event_edges.sql index 52eec88357..bccd1c6f74 100644 --- a/synapse/storage/schema/full_schemas/11/event_edges.sql +++ b/synapse/storage/schema/full_schemas/11/event_edges.sql @@ -37,6 +37,8 @@ CREATE TABLE IF NOT EXISTS event_edges( event_id TEXT NOT NULL, prev_event_id TEXT NOT NULL, room_id TEXT NOT NULL, + -- We no longer insert prev_state into this table, so all new rows will have + -- is_state as false. is_state BOOL NOT NULL, UNIQUE (event_id, prev_event_id, room_id, is_state) ); |