project-nomad/admin/database
Jake Turner 460065ae85 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-16 20:23:47 -07:00
..
migrations fix(KB): align chunks_per_mb column type with TS contract 2026-05-16 20:23:47 -07:00
seeders fix(qdrant): disable anonymous telemetry by default (#747) 2026-04-20 15:25:58 -07:00