Skip to content
Snippets Groups Projects
Commit fe6c12e6 authored by Erik Johnston's avatar Erik Johnston
Browse files

Add comment to schema

parent cac4723a
No related branches found
No related tags found
No related merge requests found
...@@ -37,6 +37,8 @@ CREATE TABLE IF NOT EXISTS event_edges( ...@@ -37,6 +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,
-- We no longer insert prev_state into this table, so all new rows will have
-- is_state as false.
is_state BOOL NOT NULL, is_state BOOL NOT NULL,
UNIQUE (event_id, prev_event_id, room_id, is_state) UNIQUE (event_id, prev_event_id, room_id, is_state)
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment