Skip to content

Conversation

@feitianbubu
Copy link
Contributor

gorm的autoMigrate会将embedded的注释附加属性同步到mysql
但每次比较又是根据实际字段的注释
造成每次autoMigrate都会重复执行一次alter修改字段

@pixelmaxQm pixelmaxQm merged commit 849d576 into flipped-aurora:main Nov 11, 2025
8 checks passed
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