feat:完善项目信息
This commit is contained in:
@ -54,6 +54,7 @@ func (this *Instance) Handle() {
|
||||
&synchronized{iModel: model.NewSysUserRole()}, &synchronized{iModel: model.NewSysUserTenant()},
|
||||
&synchronized{iModel: model.NewSysDepartment()},
|
||||
&synchronized{iModel: model.NewSysRole()}, &synchronized{iModel: model.NewSysRoleMenu()}, &synchronized{iModel: model.NewSysRoleAuth()},
|
||||
&synchronized{iModel: model.NewSysUserDepartment()},
|
||||
// 配置管理
|
||||
&synchronized{iModel: model.NewSysConfig(), iValues: func() interface{} {
|
||||
return nil
|
||||
@ -142,10 +143,10 @@ func (this *Instance) Handle() {
|
||||
&synchronized{iModel: model.NewActivityInstance()}, &synchronized{iModel: model.NewActivityApply()},
|
||||
&synchronized{iModel: model.NewActivityExamine()}, &synchronized{iModel: model.NewActivityJoin()},
|
||||
)
|
||||
fmt.Println("=== 数据迁移 ===")
|
||||
fmt.Println("=== 数据开始迁移 ===")
|
||||
fmt.Printf("=== 成功【%d】 ===\n", successCount)
|
||||
fmt.Printf("=== 失败【%d】 ===\n", failureCount)
|
||||
fmt.Println("========================")
|
||||
fmt.Println("=== 数据完成迁移 ===")
|
||||
}
|
||||
|
||||
func WithGormDBOption(db *gorm.DB) Option {
|
||||
|
Reference in New Issue
Block a user