Skip to content

Commit

Permalink
Make is_double_puppeted column nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
bradtgmurray committed Jan 9, 2025
1 parent 99f29b4 commit ecb7b97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bridgev2/database/upgrades/00-latest.sql
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ CREATE TABLE message (
sender_mxid TEXT NOT NULL,
timestamp BIGINT NOT NULL,
edit_count INTEGER NOT NULL,
is_double_puppeted BOOLEAN NOT NULL,
is_double_puppeted BOOLEAN,
thread_root_id TEXT,
reply_to_id TEXT,
reply_to_part_id TEXT,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-- v19 (compatible with v9+): Add double puppeted state to messages
ALTER TABLE messages ADD COLUMN is_double_puppeted BOOLEAN NOT NULL;
ALTER TABLE messages ADD COLUMN is_double_puppeted BOOLEAN;

0 comments on commit ecb7b97

Please sign in to comment.