Files
vctp2/db/migrations/20240915232747_extend_inventory.sql
Nathan Coad ea63ffa178
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
various improvements
2024-09-30 12:01:39 +10:00

12 lines
331 B
SQL

-- +goose Up
-- +goose StatementBegin
ALTER TABLE "Inventory" ADD COLUMN IsTemplate INTEGER;
ALTER TABLE "Inventory" ADD COLUMN PowerState INTEGER;
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
ALTER TABLE "Inventory" DROP COLUMN PowerState;
ALTER TABLE "Inventory" DROP COLUMN IsTemplate;
-- +goose StatementEnd