Skip to content

Commit 849d576

Browse files
authored
Merge pull request #2139 from feitianbubu/pr/fix-repeat-migrate-alter
fix: repeat alter gorm autoMigrate due to incorrect comments
2 parents b6c0138 + 0be88bb commit 849d576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/model/system/sys_base_menu.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type SysBaseMenu struct {
1313
Hidden bool `json:"hidden" gorm:"comment:是否在列表隐藏"` // 是否在列表隐藏
1414
Component string `json:"component" gorm:"comment:对应前端文件路径"` // 对应前端文件路径
1515
Sort int `json:"sort" gorm:"comment:排序标记"` // 排序标记
16-
Meta `json:"meta" gorm:"embedded;comment:附加属性"` // 附加属性
16+
Meta `json:"meta" gorm:"embedded"` // 附加属性
1717
SysAuthoritys []SysAuthority `json:"authoritys" gorm:"many2many:sys_authority_menus;"`
1818
Children []SysBaseMenu `json:"children" gorm:"-"`
1919
Parameters []SysBaseMenuParameter `json:"parameters"`

0 commit comments

Comments
 (0)