mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-09-18 08:14:55 +08:00
fix(sqlite): 收口长期状态数据库版本化迁移契约
This commit is contained in:
@@ -46,6 +46,14 @@ TextUnit scope、source history 和 approved review。worker、TM 复用、人
|
||||
按当前 QA 精确校验 identity。`translation.glossary.*` 已通过
|
||||
`bat.sock` 暴露,Go `bat-api` 仅做鉴权 typed forwarding。
|
||||
|
||||
三个长期 SQLite owner 现在统一使用只读 schema preflight、精确 component
|
||||
fingerprint 和 `BEGIN IMMEDIATE` writer transaction:Translation Tasks 从 V1
|
||||
按显式 `v1 -> v2` step 迁移,当前版本为 V2;Translation Memory 和 Glossary
|
||||
当前版本均为 V1。future、未知或版本与结构不一致的数据库在任何 schema/data
|
||||
mutation 前 fail closed;migration 失败会 rollback,已知无
|
||||
`schema_migrations` 表的历史 fingerprint 可安全补建版本表后重试。正式 schema
|
||||
路径不再使用 `ensure_column` 隐式补列。
|
||||
|
||||
`localized.status` 现将 generic manifest schema/contract 与已发布 artifact integrity
|
||||
分开报告;current、state 和 identity 存在但文件被截断或手工修改时返回
|
||||
`localized.degraded`,只读检查不会自动回滚、删除或修复。双 release 的
|
||||
|
||||
Reference in New Issue
Block a user