summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-07-26 12:53:51 +0100
committerRichard van der Hoff <richard@matrix.org>2018-07-26 12:53:51 +0100
commit1b4d73fa520a301ec35ba417d14a4549a44f33e0 (patch)
tree4ed19c47351d6cf62a8a9e08166998f5e610090e
parentMerge pull request #2970 from matrix-org/matthew/filter_members (diff)
downloadsynapse-1b4d73fa520a301ec35ba417d14a4549a44f33e0.tar.xz
comment on event_edges
-rw-r--r--synapse/storage/schema/full_schemas/16/event_edges.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/schema/full_schemas/16/event_edges.sql b/synapse/storage/schema/full_schemas/16/event_edges.sql
index 52eec88357..6b5a5a88fa 100644
--- a/synapse/storage/schema/full_schemas/16/event_edges.sql
+++ b/synapse/storage/schema/full_schemas/16/event_edges.sql
@@ -37,7 +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,
-    is_state BOOL NOT NULL,
+    is_state BOOL NOT NULL,  -- true if this is a prev_state edge rather than a regular
+                             -- event dag edge.
     UNIQUE (event_id, prev_event_id, room_id, is_state)
 );