Files
mocksnow/db/migrations/20250324105016_inc_update.sql
Nathan Coad a3de1b2b03
All checks were successful
continuous-integration/drone/push Build is passing
many fixes
2025-03-24 23:05:44 +11:00

12 lines
387 B
SQL

-- +goose Up
-- +goose StatementBegin
ALTER TABLE incidents RENAME COLUMN subcategory to sub_category;
ALTER TABLE "Incoming" RENAME COLUMN subcategory to sub_category;
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
ALTER TABLE incidents RENAME COLUMN sub_category to subcategory;
ALTER TABLE "Incoming" RENAME COLUMN sub_category to subcategory;
-- +goose StatementEnd