status-go/protocol/migrations/sqlite/1662106895_add_chat_first_m...

2 lines
113 B
SQL

ALTER TABLE chats ADD COLUMN first_message_timestamp INT DEFAULT 0;
UPDATE chats SET first_message_timestamp = 0;