-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Error in GORM migration: GuessConstraintInterfaceAndTable undefined #6821
Comments
The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the |
Hello, I managed to solve the problem by rolling back to the postgres driver version 1.5.4, since 1.5.5 is broken and has already been removed from github |
Got the same error. gorm.io/driver/postgres v1.5.5 // indirect
BTW, Thanks @mi6e4ka for finding the reason. |
The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the |
I resotre it |
The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the |
go-gorm/postgres#247 (comment) https://go.dev/ref/mod#go-mod-file-exclude require (
gorm.io/driver/postgres v1.5.4
)
exclude gorm.io/driver/postgres v1.5.5 // This release is a breaking change |
The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the |
We have released v1.5.6 and retracted v1.5.5 |
When attempting to run my Go application with GORM using the PostgreSQL driver, I encountered the following error:
Steps to Reproduce:
I expect the application to run without any errors related to the
GuessConstraintInterfaceAndTable
method.The text was updated successfully, but these errors were encountered: