-
-
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
fix: auto migration column order unpredictable #4980
Conversation
3c0b0f4
to
a4471b3
Compare
a4471b3
to
c04db4a
Compare
071004e
to
7b3a5b7
Compare
tests/go.mod
Outdated
@@ -16,3 +16,5 @@ require ( | |||
) | |||
|
|||
replace gorm.io/gorm => ../ | |||
|
|||
replace gorm.io/driver/mysql => github.com/halfcrazy/mysql v1.2.3-0.20220106042630-805c93c0d8d9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove those debug code, thank you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ci get failed after switching origin MySQL driver. pls take a look at go-gorm/mysql#60
7b3a5b7
to
c04db4a
Compare
Hi @halfcrazy Can you format the source code with |
c04db4a
to
f605175
Compare
Done |
What did this pull request do?
Fix #4351 make migration column order predictable.
User Case Description