This commit is contained in:
11
db/migrations/20250324105016_inc_update.sql
Normal file
11
db/migrations/20250324105016_inc_update.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- +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
|
Reference in New Issue
Block a user