This commit is contained in:
2023-08-14 00:17:42 +07:00
parent 6ce7cee5bc
commit fd88563096
5 changed files with 47 additions and 16 deletions
+7
View File
@@ -0,0 +1,7 @@
DROP TABLE IF EXISTS users;
CREATE TABLE users (
id SERIAL PRIMARY KEY,
chat_id TEXT NOT NULL,
user_id TEXT NOT NULL,
CONSTRAINT unique__chat_id__user_id UNIQUE (chat_id, user_id)
);