日志
This commit is contained in:
parent
c5623e401b
commit
583a99ffe6
@ -97,5 +97,6 @@ func InitDB(env string, conf DbConfig) {
|
|||||||
}
|
}
|
||||||
DBS[conf.Name] = db
|
DBS[conf.Name] = db
|
||||||
}
|
}
|
||||||
|
DBS[conf.Name] = DBS[conf.Name].Session(&gorm.Session{SkipDefaultTransaction: true})
|
||||||
//db.AutoMigrate(TaskData{}, Task{}, Version{})
|
//db.AutoMigrate(TaskData{}, Task{}, Version{})
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user