数据库升级时表名不区分大小写/增加一些注释

This commit is contained in:
GoEdgeLab
2021-04-18 16:32:08 +08:00
parent 0d97f52551
commit ee2e9527eb
4 changed files with 10 additions and 10 deletions

View File

@@ -52,9 +52,8 @@ import (
"github.com/iwind/TeaGo/logs"
)
// 最新的SQL语句
// 由sql-dump/main.go自动生成
// 最新版本的数据库SQL语句用来对比并升级已有的数据库
// 由 sql-dump/main.go 自动生成
func init() {
err := json.Unmarshal([]byte(` + strconv.Quote(string(resultsJSON)) + `), LatestSQLResult)
if err != nil {