增加内置的统计指标

This commit is contained in:
GoEdgeLab
2021-07-19 20:38:30 +08:00
parent 7e64d44d4c
commit 940e8c46b0
5 changed files with 157 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package setup
import (
"github.com/iwind/TeaGo/dbs"
"testing"
)
func TestUpgradeSQLData(t *testing.T) {
db, err := dbs.Default()
if err != nil {
t.Fatal(err)
}
err = UpgradeSQLData(db)
if err != nil {
t.Fatal(err)
}
t.Log("ok")
}