mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-07 02:20:24 +08:00
版本号修改0.3.1
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package teaconst
|
||||
|
||||
const (
|
||||
Version = "0.3.0"
|
||||
Version = "0.3.1"
|
||||
|
||||
ProductName = "Edge API"
|
||||
ProcessName = "edge-api"
|
||||
@@ -23,4 +23,5 @@ const (
|
||||
AuthorityNodeVersion = "0.0.2"
|
||||
MonitorNodeVersion = "0.0.3"
|
||||
DNSNodeVersion = "0.2.0"
|
||||
ReportNodeVersion = "0.1.0"
|
||||
)
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -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