Move DoMigration() after CreateTables()

This commit is contained in:
hsluoyz
2023-06-09 09:36:20 +08:00
parent e93d8c19d9
commit cc566bf31f
2 changed files with 3 additions and 3 deletions

View File

@ -41,8 +41,8 @@ func InitConfig() {
beego.BConfig.WebConfig.Session.SessionOn = true
InitAdapter()
DoMigration()
CreateTables(true)
DoMigration()
}
func InitAdapter() {