Files
vctp2/db/migrations_postgres/20240915232747_extend_inventory.sql
Nathan Coad ea1eeb5c21
Some checks failed
continuous-integration/drone Build is passing
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / End-to-End (push) Has been cancelled
CI / Publish Docker (push) Has been cancelled
update to support postgresql and add godocs
2026-01-13 17:05:14 +11:00

12 lines
339 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