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

fix goosex migration pgx not imported / update to crdbpgxv5 and pgx/v5 #217

Merged
merged 3 commits into from
Apr 4, 2024

Conversation

mikemrm
Copy link
Contributor

@mikemrm mikemrm commented Apr 4, 2024

This fixes pgx/v4 not being imported and upgrades to pgx/v5.

Additionally, tests have been added to ensure migrations should always work in the future.

Finally, this also fixes issue #154 with a panic happening when goosex which results in the logger being called but the logger not previously being set and therefore is nil. Logger is now the Nop logger by default to ensure no panics occur.

@mikemrm mikemrm requested review from a team, nicolerenee and sfunkhouser as code owners April 4, 2024 17:30
Signed-off-by: Mike Mason <mimason@equinix.com>
…driver

Signed-off-by: Mike Mason <mimason@equinix.com>
Signed-off-by: Mike Mason <mimason@equinix.com>
Copy link
Member

@nicolerenee nicolerenee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉 Without the import of stdlib I can't help but wonder how this works in places today 🤔. Oh well glad to have an upgrade and some fixes

@nicolerenee nicolerenee changed the title fix goosex migration pgx not imported fix goosex migration pgx not imported / update to crdbpgxv5 and pgx/v5 Apr 4, 2024
@nicolerenee nicolerenee added this pull request to the merge queue Apr 4, 2024
Merged via the queue into infratographer:main with commit f279525 Apr 4, 2024
6 checks passed
@mikemrm mikemrm deleted the fix-goosex branch April 4, 2024 18:29
@mikemrm mikemrm mentioned this pull request Apr 4, 2024
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.

2 participants