mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-05 17:40:24 +08:00
简化数据库查询代码
This commit is contained in:
@@ -79,6 +79,9 @@ func (this *SQLExecutor) checkData(db *dbs.DB) error {
|
||||
|
||||
// 检查集群配置
|
||||
err = this.checkCluster(db)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// 更新版本号
|
||||
err = this.updateVersion(db, teaconst.Version)
|
||||
|
||||
Reference in New Issue
Block a user