Make is_double_puppeted column nullable

This commit is contained in:
Brad Murray 2025-01-09 14:58:22 -05:00
commit ecb7b97e01
No known key found for this signature in database
GPG key ID: A49463C6B5B28DCF
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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;