Files
mocksnow/db/migrations/20250322100927_incidents.sql

14 lines
308 B
SQL

-- +goose Up
-- +goose StatementBegin
CREATE TABLE incidents (
id INTEGER PRIMARY KEY AUTOINCREMENT,
external_id TEXT NOT NULL,
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
);
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
DROP TABLE IF EXISTS incidents;
-- +goose StatementEnd