summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-03-08 16:38:23 +0000
committerErik Johnston <erik@matrix.org>2019-03-08 16:38:23 +0000
commitfe6c12e6cdbc2b34e93f6211c51e1eab33ae00c8 (patch)
tree60fcb924a8018fee7551df7f6157e9fff754dd9f /synapse
parentNewsfile (diff)
downloadsynapse-fe6c12e6cdbc2b34e93f6211c51e1eab33ae00c8.tar.xz
Add comment to schema
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/schema/full_schemas/11/event_edges.sql2
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)
 );