Files
vctp2/db/migrations/20240916041639_rename_eventid.sql
Nathan Coad 6d86a93539
Some checks are pending
CI / Lint (push) Waiting to run
CI / Test (push) Waiting to run
CI / End-to-End (push) Waiting to run
CI / Publish Docker (push) Blocked by required conditions
continuous-integration/drone/push Build is passing
rename eventid to cloudid
2024-09-16 14:20:14 +10:00

10 lines
241 B
SQL

-- +goose Up
-- +goose StatementBegin
ALTER TABLE "Inventory" RENAME COLUMN EventId to CloudId;
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
ALTER TABLE "Inventory" RENAME COLUMN CloudId to EventId;
-- +goose StatementEnd