mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-01-07 11:17:52 -05:00
comment on event_edges
This commit is contained in:
parent
1bcd0490c2
commit
1b4d73fa52
@ -37,7 +37,8 @@ CREATE TABLE IF NOT EXISTS event_edges(
|
|||||||
event_id TEXT NOT NULL,
|
event_id TEXT NOT NULL,
|
||||||
prev_event_id TEXT NOT NULL,
|
prev_event_id TEXT NOT NULL,
|
||||||
room_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)
|
UNIQUE (event_id, prev_event_id, room_id, is_state)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user