Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
stream id column: NOT NULL DEFAULT 0
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson committed Sep 26, 2022
1 parent b5d67c4 commit 0f419d1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
-- the partial join. For now it's sufficient to know the device_list stream_id at the
-- time of the partial join, and the join event created for us during a partial join.
--
-- Both columns are nullable without defaults, for backwards compatibility.
ALTER TABLE partial_state_rooms ADD COLUMN device_lists_stream_id BIGINT;
-- Both columns are backwards compatible.
ALTER TABLE partial_state_rooms ADD COLUMN device_lists_stream_id BIGINT NOT NULL DEFAULT 0;
ALTER TABLE partial_state_rooms ADD COLUMN join_event_id TEXT;

0 comments on commit 0f419d1

Please sign in to comment.