various improvements
This commit is contained in:
@@ -6,6 +6,6 @@ ALTER TABLE "Inventory" ADD COLUMN PowerState INTEGER;
|
||||
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
ALTER TABLE "Updates" DROP COLUMN PowerState;
|
||||
ALTER TABLE "Updates" DROP COLUMN IsTemplate;
|
||||
ALTER TABLE "Inventory" DROP COLUMN PowerState;
|
||||
ALTER TABLE "Inventory" DROP COLUMN IsTemplate;
|
||||
-- +goose StatementEnd
|
||||
|
9
db/migrations/20240930012450_add_uuid.sql
Normal file
9
db/migrations/20240930012450_add_uuid.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
ALTER TABLE "Inventory" ADD COLUMN VmUuid TEXT;
|
||||
-- +goose StatementEnd
|
||||
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
ALTER TABLE "Inventory" DROP COLUMN VmUuid;
|
||||
-- +goose StatementEnd
|
Reference in New Issue
Block a user