fix: repeat alter gorm autoMigrate due to incorrect comments
This commit is contained in:
parent
057ad2eeeb
commit
0be88bb442
|
|
@ -13,7 +13,7 @@ type SysBaseMenu struct {
|
||||||
Hidden bool `json:"hidden" gorm:"comment:是否在列表隐藏"` // 是否在列表隐藏
|
Hidden bool `json:"hidden" gorm:"comment:是否在列表隐藏"` // 是否在列表隐藏
|
||||||
Component string `json:"component" gorm:"comment:对应前端文件路径"` // 对应前端文件路径
|
Component string `json:"component" gorm:"comment:对应前端文件路径"` // 对应前端文件路径
|
||||||
Sort int `json:"sort" gorm:"comment:排序标记"` // 排序标记
|
Sort int `json:"sort" gorm:"comment:排序标记"` // 排序标记
|
||||||
Meta `json:"meta" gorm:"embedded;comment:附加属性"` // 附加属性
|
Meta `json:"meta" gorm:"embedded"` // 附加属性
|
||||||
SysAuthoritys []SysAuthority `json:"authoritys" gorm:"many2many:sys_authority_menus;"`
|
SysAuthoritys []SysAuthority `json:"authoritys" gorm:"many2many:sys_authority_menus;"`
|
||||||
Children []SysBaseMenu `json:"children" gorm:"-"`
|
Children []SysBaseMenu `json:"children" gorm:"-"`
|
||||||
Parameters []SysBaseMenuParameter `json:"parameters"`
|
Parameters []SysBaseMenuParameter `json:"parameters"`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue