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
sqlite test (1.19 in ubuntu:latest) : table xxx has more than one primary key #6628
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 |
It seems that there is a problem with Try |
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 |
@mykbas see https://github.com/go-gorm/gorm/blob/master/tests/go.mod line11 |
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 |
same, v1.5.3 run ok |
@minchenzz look my PR file changed, i changed nothing, but test failed. hhhhh... |
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 |
Error disappears after downgrading to go.mod now has:
|
测试在这个版本时未报错
当 |
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 |
how about gorm v1.25.5? |
@jinzhu use gorm v1.25.5, mysql, mariadb, tidb all have other problems. |
@saltyfishyu you are right, but when i use gorm v1.25.3, mysql, mariadb have other problems. sqllite is ok. |
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 |
The conclusion is when you only use sqlite , using But I think there are unstable test cases in Even if I use the same version number in the current master branch |
GORM PR Link
#6627
Description
i want to make PR to add some config for migrator, it has only minimal code changes. But the checks failed, here is details: https://github.com/go-gorm/gorm/actions/runs/6448509357/job/17505845740?pr=6627
I don't think this is caused by me, because when I comment out my changes, the problem still occurs.
here is the other test details: https://github.com/go-gorm/gorm/actions/runs/6448558597/job/17505952191?pr=6627
who can fix it?
The text was updated successfully, but these errors were encountered: