project-nomad/admin/database
Jake Turner 4d6b140a1f fix(KB): align chunks_per_mb column type with TS contract
Switch kb_ratio_registry.chunks_per_mb from DECIMAL(10,2) to UNSIGNED
INTEGER so the value mysql2 returns matches the `number` type declared
on the model. DECIMAL columns deserialize as strings by default, which
would break `=== 0` checks for video-only ZIMs and silently coerce
through arithmetic in Phase 2 consumers.

All seeds are whole numbers and the heuristic's real-world variance
(~±50%) makes sub-integer precision meaningless.
2026-05-20 10:16:00 -07:00
..
migrations fix(KB): align chunks_per_mb column type with TS contract 2026-05-20 10:16:00 -07:00
seeders fix(qdrant): disable anonymous telemetry by default (#747) 2026-04-21 14:26:28 -07:00