status-go/protocol/migrations/sqlite/1594390919_create_emoji_reactions_table.up.sql
Samuel Hawksby-Robinson 57319599de
created emoji_reaction table migration
Signed-off-by: Samuel Hawksby-Robinson <samuel@samyoul.com>
2020-07-30 20:20:07 +02:00

8 lines
234 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,
retracted INT DEFAULT 0
);