fix migration
This commit is contained in:
1 parent
77c1928436
commit
f94339446d
2 files changed
+9
-2
No files matched your search
@@ -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
|
||||||
@@ -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
|
||||||
Reference in new issue
Block a user