This commit is contained in:
@@ -29,6 +29,7 @@ var (
|
||||
g.DB().SetDebug(true)
|
||||
// service.NewServerService().SetServerScreen(0, "sss")
|
||||
cool.Config.ServerInfo.IsDebug = 1
|
||||
cool.Config.AutoMigrate = true
|
||||
}
|
||||
if err = cool.RunAutoMigrate(); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user