mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-06 01:50:25 +08:00
提升数据库升级速度
This commit is contained in:
@@ -55,7 +55,7 @@ func (this *SQLExecutor) Run(showLog bool) error {
|
||||
_ = db.Close()
|
||||
}()
|
||||
|
||||
sqlDump := NewSQLDump()
|
||||
var sqlDump = NewSQLDump()
|
||||
_, err = sqlDump.Apply(db, LatestSQLResult, showLog)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user