Merge remote-tracking branch 'origin/develop' into hawkowl/userdir-search

This commit is contained in:
Amber Brown 2019-03-11 21:12:30 +11:00
commit 30a8deeb68
8 changed files with 57 additions and 19 deletions

View file

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