github.com/status-im/status-go@v1.1.0/protocol/migrations/sqlite/1619094007_add_joined_chat_field.up.sql (about)

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