comment on event_edges

pull/3613/head
Richard van der Hoff 2018-07-26 12:53:51 +01:00
parent 1bcd0490c2
commit 1b4d73fa52
1 changed files with 2 additions and 1 deletions

View File

@ -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)
);