mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
Code-review pass: the rom_user and metadata NULL handling collapse into a single block built from the folded sort key, with PostgreSQL on native NULLS LAST for both families and the leading IS NULL term emitted only where an engine needs it (non-PG ascending), so the redundant terms and the raw-vs-folded hazard are gone. The zero-as- unset column set moves to models/rom.py beside the columns it describes, the hltb query-shape test folds into the metadata parametrize, and the comments that overclaimed index behavior after the change now state the measured cost instead. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ldi4YaXJWDDmFdbKfQay8L