diff --git a/internal/db/postgres/migrations/20241217192629_test.sql b/internal/db/postgres/migrations/20241217192629_test.sql new file mode 100644 index 0000000..c52b26a --- /dev/null +++ b/internal/db/postgres/migrations/20241217192629_test.sql @@ -0,0 +1,14 @@ +-- +goose Up +-- +goose StatementBegin +CREATE TABLE test_table ( + id SERIAL PRIMARY KEY, + name VARCHAR(255) NOT NULL, + created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + is_active BOOLEAN DEFAULT TRUE +); +-- +goose StatementEnd + +-- +goose Down +-- +goose StatementBegin +DROP TABLE test_table; +-- +goose StatementEnd