add create user method

This commit is contained in:
2024-11-20 15:32:43 +07:00
parent 074a202dc2
commit bd6b5fe4a8
10 changed files with 467 additions and 87 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
-- +goose StatementBegin
CREATE TABLE IF NOT EXISTS users (
id SERIAL PRIMARY KEY,
chat_id TEXT NOT NULL
username TEXT UNIQUE NOT NULL
);
-- +goose StatementEnd