This repository has been archived on 2026-07-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
GoEdgeAPI/internal/setup/sql_data_test.go
T

19 lines
245 B
Go

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")
}