Don't set default room_version value in SQL

This commit is contained in:
Neil Alexander 2020-03-16 15:44:15 +00:00
parent 288a1bff5f
commit 286931d108
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ CREATE TABLE IF NOT EXISTS roomserver_rooms (
state_snapshot_nid BIGINT NOT NULL DEFAULT 0,
-- The version of the room, which will assist in determining the state resolution
-- algorithm, event ID format, etc.
room_version TEXT NOT NULL DEFAULT '1'
room_version TEXT NOT NULL
);
`

View file

@ -32,7 +32,7 @@ const roomsSchema = `
latest_event_nids TEXT NOT NULL DEFAULT '[]',
last_event_sent_nid INTEGER NOT NULL DEFAULT 0,
state_snapshot_nid INTEGER NOT NULL DEFAULT 0,
room_version TEXT NOT NULL DEFAULT '1'
room_version TEXT NOT NULL
);
`