mirror of
https://github.com/Redume/StarBoard.git
synced 2025-04-07 04:05:28 +01:00
chore: Added sql schemas
This commit is contained in:
parent
c3777b8875
commit
77825c37a9
1 changed files with 14 additions and 0 deletions
14
database/data/schema.sql
Normal file
14
database/data/schema.sql
Normal file
|
@ -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['⭐']
|
||||||
|
);
|
Loading…
Add table
Reference in a new issue