update to support postgresql and add godocs
This commit is contained in:
11
db/migrations_postgres/20240915232747_extend_inventory.sql
Normal file
11
db/migrations_postgres/20240915232747_extend_inventory.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- +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
|
||||
Reference in New Issue
Block a user