go-project-template/db/migrations/001_init.sql
2024-05-05 15:10:32 -07:00

12 lines
223 B
SQL

-- +goose Up
-- +goose StatementBegin
CREATE TABLE example (
id BIGSERIAL PRIMARY KEY,
name TEXT NOT NULL
)
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
DROP TABLE example;
-- +goose StatementEnd