mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-04 16:00:24 +08:00
版本号修改0.3.1
This commit is contained in:
@@ -49,6 +49,9 @@ var upgradeFuncs = []*upgradeVersion{
|
||||
{
|
||||
"0.3.0", upgradeV0_3_0,
|
||||
},
|
||||
{
|
||||
"0.3.1", upgradeV0_3_1,
|
||||
},
|
||||
}
|
||||
|
||||
// UpgradeSQLData 升级SQL数据
|
||||
@@ -361,3 +364,11 @@ func upgradeV0_3_0(db *dbs.DB) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// v0.3.1
|
||||
func upgradeV0_3_1(db *dbs.DB) error {
|
||||
// 忽略错误
|
||||
_, _ = db.Exec("TRUNCATE table edgeServerDomainHourlyStats")
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user