fix: 解决外键约束顺序依赖导致数据表迁移失败的问题

main
熊二 1 year ago
parent f730f23dd0
commit cd6bf1fea7
  1. 4
      internal/init.go

@ -31,16 +31,16 @@ func syncEntities() error {
&entities.Company{},
&entities.CompanyDepartment{},
&entities.CompanyStaff{},
&entities.Config{},
&entities.ConfigGroup{},
&entities.Config{},
&entities.Feature{},
&entities.FeatureCategory{},
&entities.FeatureConfig{},
&entities.FeatureContent{},
&entities.FeatureContentChapter{},
&entities.FeatureContentDetail{},
&entities.Resource{},
&entities.ResourceCategory{},
&entities.Resource{},
&entities.SystemLog{},
&entities.SystemMenu{},
&entities.SystemPermission{},

Loading…
Cancel
Save