Skip to content
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

Merged
merged 5 commits into from
Jul 9, 2024

Conversation

krehermann
Copy link
Contributor

@krehermann krehermann commented Jun 24, 2024

BCF-3276

Update goose and refactor migrations to use the newly added goose.Provider

This is a concrete step toward supporting multiple migrations providers.

@@ -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;
Copy link
Contributor Author

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()
Copy link
Contributor

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?

Copy link
Contributor Author

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

vyzaldysanchez
vyzaldysanchez previously approved these changes Jun 25, 2024
@vyzaldysanchez
Copy link
Contributor

Needs a changeset though... Will this be considered a minor change?

vyzaldysanchez
vyzaldysanchez previously approved these changes Jul 4, 2024
jmank88
jmank88 previously approved these changes Jul 4, 2024
@krehermann krehermann enabled auto-merge July 9, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants