diff --git a/database/data/schema.sql b/database/data/schema.sql new file mode 100644 index 0000000..de0939e --- /dev/null +++ b/database/data/schema.sql @@ -0,0 +1,14 @@ +CREATE TABLE message +( + message_id BIGINT NOT NULL, + chat_id BIGINT NOT NULL, + reaction_count INT DEFAULT 0 +); + +CREATE TABLE chat +( + chat_id BIGINT NOT NULL, + channel_id BIGINT, + min_reaction_count INT DEFAULT 5, + emoji_list TEXT[] DEFAULT array['⭐'] +); \ No newline at end of file