internal/database/migrations/20241121105353_create_developers_table.sql (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
-- +goose Up -- +goose StatementBegin CREATE TABLE IF NOT EXISTS developers ( id TEXT PRIMARY KEY, name TEXT NOT NULL, email TEXT NOT NULL UNIQUE, created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ); -- +goose StatementEnd -- +goose Down -- +goose StatementBegin DROP TABLE IF EXISTS developers; -- +goose StatementEnd |