fix migration
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

This commit is contained in:
2024-10-02 13:25:06 +10:00
parent 77c1928436
commit f94339446d
2 changed files with 9 additions and 2 deletions

View File

@@ -1,11 +1,9 @@
-- +goose Up -- +goose Up
-- +goose StatementBegin -- +goose StatementBegin
ALTER TABLE "Updates" ADD COLUMN PlaceholderChange TEXT; ALTER TABLE "Updates" ADD COLUMN PlaceholderChange TEXT;
ALTER TABLE "Updates" ADD COLUMN Name TEXT;
-- +goose StatementEnd -- +goose StatementEnd
-- +goose Down -- +goose Down
-- +goose StatementBegin -- +goose StatementBegin
ALTER TABLE "Updates" DROP COLUMN Name;
ALTER TABLE "Updates" DROP COLUMN PlaceholderChange; ALTER TABLE "Updates" DROP COLUMN PlaceholderChange;
-- +goose StatementEnd -- +goose StatementEnd

View File

@@ -0,0 +1,9 @@
-- +goose Up
-- +goose StatementBegin
ALTER TABLE "Updates" ADD COLUMN Name TEXT;
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
ALTER TABLE "Updates" DROP COLUMN Name;
-- +goose StatementEnd