Summary
Hotfix for #34 after 1.1.4: boot no longer drops system_config.modelscope during legacy column “merge”, which caused column SystemConfig.modelscope does not exist right after a successful mcp_servers recovery. Missing system_config columns are re-added automatically.
Fixes
- Do not run snake/camel merge when both names are identical (
modelscopeself-drop bug) (#34, #37) ADD COLUMN IF NOT EXISTSformodelscopeand othersystem_configfields the entity selects (repairs DBs already hit by 1.1.4)- Document the failure mode in the v1.0.3 upgrade guide
摘要
修复 #34 在 1.1.4 上的新阻塞:遗留列「合并」逻辑不再误删 system_config.modelscope(会在 mcp_servers 补偿成功后报 column SystemConfig.modelscope does not exist)。缺失的 system_config 列会在启动时自动补回。
修复
- 蛇形/驼峰同名时跳过合并,避免
modelscope被 DROP(#34、#37) - 对
modelscope等实体用到的system_config列执行ADD IF NOT EXISTS(修复已受 1.1.4 影响的库) - 升级文档补充该失败场景
References
- fix: restore system_config.modelscope after 1.1.4 self-merge drop (#34) by @huangjunsen0406 in #37
- Full changelog: v1.1.4...v1.1.5