Files
vctp2/db/migrations/20240915232747_extend_inventory.sql
Nathan Coad 57980a860a
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
add vm power state and template
2024-09-16 10:14:46 +10:00

12 lines
327 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 "Updates" DROP COLUMN PowerState;
ALTER TABLE "Updates" DROP COLUMN IsTemplate;
-- +goose StatementEnd