提升数据库升级速度

This commit is contained in:
刘祥超
2022-11-02 16:58:09 +08:00
parent d479140f87
commit c1b4551dd1
4 changed files with 90 additions and 32 deletions

View File

@@ -18,7 +18,7 @@ func main() {
fmt.Println("[ERROR]" + err.Error())
return
}
results, err := setup.NewSQLDump().Dump(db)
results, err := setup.NewSQLDump().Dump(db, true)
if err != nil {
fmt.Println("[ERROR]" + err.Error())
return