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
pgx not following intended import behaviour #1035
Comments
I did have the same issue... You need to use pgx5 in your dsn like this :
hope it can help you or someone else |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
This is a follow up to issue #563
Despite following the guidlines about how to import drivers from
database
, I seem to be hitting the same problem with an unknown import error:database driver: unknown driver pgx (forgotten import?)
I've also run the neccesary
go get
command with thepgx
taggo install -tags 'pgx' github.com/golang-migrate/migrate/v4/cmd/migrate@latest
Steps to Reproduce
Steps to reproduce the behavior:
Expected Behavior
I would expect a succesful migration
Loaded Database Drivers
pgx
Go Version
go 1.21 linux/amd64
The text was updated successfully, but these errors were encountered: