We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 312b750 commit 31f8d13Copy full SHA for 31f8d13
1 file changed
src/db_schema.sql
@@ -25,6 +25,16 @@ CREATE TABLE IF NOT EXISTS `messages` (
25
PRIMARY KEY (`chat`,`message`)
26
);
27
28
+CREATE TABLE IF NOT EXISTS `reactions` (
29
+ `chat` bigint NOT NULL,
30
+ `message` int NOT NULL,
31
+ `user` bigint NOT NULL,
32
+ `executor` bigint NOT NULL,
33
+ `isspam` int NOT NULL,
34
+ `username` varchar(64) NOT NULL,
35
+ PRIMARY KEY (`chat`,`user`)
36
+);
37
+
38
CREATE TABLE IF NOT EXISTS `users` (
39
`id` bigint NOT NULL,
40
`appearance` bigint NOT NULL,
0 commit comments