status-go/protocol/migrations/sqlite/1595865249_create_emoji_rea...

11 lines
300 B
SQL

CREATE TABLE IF NOT EXISTS emoji_reactions (
id VARCHAR PRIMARY KEY ON CONFLICT REPLACE,
clock_value INT NOT NULL,
source TEXT NOT NULL,
emoji_id INT NOT NULL,
message_id VARCHAR NOT NULL,
chat_id VARCHAR NOT NULL,
local_chat_id VARCHAR NOT NULL,
retracted INT DEFAULT 0
);