add goose

This commit is contained in:
2024-11-10 01:48:28 +07:00
parent 4a104923c7
commit 5567875910
3 changed files with 29 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
-- +goose Up
-- +goose StatementBegin
CREATE TABLE IF NOT EXISTS "user" (
id SERIAL PRIMARY KEY,
chat_id TEXT NOT NULL
);
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
DROP TABLE IF EXISTS "user";
-- +goose StatementEnd