status-go/protocol/migrations/sqlite/1619094007_add_joined_chat_...

4 lines
101 B
SQL

ALTER TABLE chats ADD COLUMN joined INT DEFAULT 0;
UPDATE chats SET joined = 0 WHERE joined = NULL;