Files
SupplierSystem/migrations
雨天 c8eefca8de
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
修迁移20261053: U+0130 折 i 不依赖 lower()
本地迁移实跑报 P0001「U+0130 未折成 i(实际 İ箱12瓶)」。
根因:该迁移假设 PG lower(\x27İ\x27)=\x27i\x27,但这一行为随数据库 ctype 变化 ——
本机 Windows/libc(Chinese_China.936)下 lower(\x27İ\x27) 原样返回 \x27İ\x27。
修法:norm_spec 内显式 translate(..., chr(304) || chr(775), \x27i\x27),
İ 与 i+U+0307 都收敛为单个 i;与原 UTF-8 locale 下的行为等价,
对已应用该迁移的环境是 no-op。并补组合点 U+0307 守卫。
本地已验证:20261053–20261064 全部应用成功。
2026-10-19 17:16:29 +08:00
..