-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BCF-3276: refactor migrations to use goose provider #13678
Conversation
5391199
to
933cd39
Compare
@@ -10,4 +10,4 @@ CREATE TABLE feeds_managers ( | |||
updated_at timestamp with time zone NOT NULL | |||
); | |||
-- +goose Down | |||
DROP TABLE feeds_managers | |||
DROP TABLE feeds_managers; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix a linting issue found by the new version of goose
} | ||
// hack to work around global go migrations | ||
// https: //github.com/pressly/goose/issues/782 | ||
goose.ResetGlobalMigrations() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any concerns of the usage of this hack?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, goose has already fixed the issue and it will be in a new release soon
Needs a changeset though... Will this be considered a minor change? |
4da9235
to
909993f
Compare
Quality Gate passedIssues Measures |
BCF-3276
Update goose and refactor migrations to use the newly added
goose.Provider
This is a concrete step toward supporting multiple migrations providers.