mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-16 19:33:09 -06:00
Don't set default room_version value in SQL
This commit is contained in:
parent
288a1bff5f
commit
286931d108
|
|
@ -43,7 +43,7 @@ CREATE TABLE IF NOT EXISTS roomserver_rooms (
|
||||||
state_snapshot_nid BIGINT NOT NULL DEFAULT 0,
|
state_snapshot_nid BIGINT NOT NULL DEFAULT 0,
|
||||||
-- The version of the room, which will assist in determining the state resolution
|
-- The version of the room, which will assist in determining the state resolution
|
||||||
-- algorithm, event ID format, etc.
|
-- algorithm, event ID format, etc.
|
||||||
room_version TEXT NOT NULL DEFAULT '1'
|
room_version TEXT NOT NULL
|
||||||
);
|
);
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ const roomsSchema = `
|
||||||
latest_event_nids TEXT NOT NULL DEFAULT '[]',
|
latest_event_nids TEXT NOT NULL DEFAULT '[]',
|
||||||
last_event_sent_nid INTEGER NOT NULL DEFAULT 0,
|
last_event_sent_nid INTEGER NOT NULL DEFAULT 0,
|
||||||
state_snapshot_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
|
||||||
);
|
);
|
||||||
`
|
`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue