feat: Update database version constant to 264

This commit is contained in:
lejianwen
2025-07-08 12:13:31 +08:00
parent 73a8461a2d
commit b3aee87655

View File

@@ -23,6 +23,8 @@ import (
"github.com/spf13/cobra"
)
const DatabaseVersion = 264
// @title 管理系统API
// @version 1.0
// @description 接口
@@ -211,7 +213,7 @@ func InitGlobal() {
}
func DatabaseAutoUpdate() {
version := 263
version := DatabaseVersion
db := global.DB