smm_tg/migrations/20241111180238_add_tg_user.sql

13 lines
246 B
SQL

-- +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