fix(db): 重编号 Pages 部署源迁移避免版本冲突

main 已占用 202607190001(OpenResty 默认限流),
将 Pages source runtime / scanner seed 顺延为
202607190002、202607190003,并同步迁移测试期望配置数。
This commit is contained in:
ryan
2026-07-19 19:41:30 +08:00
parent c92f986978
commit f0b51a99b3
8 changed files with 16 additions and 15 deletions
+3 -2
View File
@@ -19,8 +19,9 @@ import (
)
// expectedMigratedSystemConfigCount 包含初始 32 项系统配置、202606220004
// 从 of_options 迁移过来的 48 项业务配置,以及 Pages 的 2 项业务配置。
const expectedMigratedSystemConfigCount = 82
// 从 of_options 迁移过来的 48 项业务配置、Pages 的 2 项业务配置,
// 以及 OpenResty 默认限流的 3 项业务配置。
const expectedMigratedSystemConfigCount = 85
func TestMigrateInitializesSQLiteDatabase(t *testing.T) {
sqliteDB, err := gorm.Open(sqlite.Open(":memory:"), &gorm.Config{