mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
`hasheous_metadata` gains keys as RomM maps more of Hasheous' signature sources, so rows written before `mame_redump_match` existed don't carry it. On PostgreSQL `hasheous_metadata->>'mame_redump_match'` is then NULL, the OR chain over the match flags evaluates to NULL instead of false, and `NOT (...)` stays NULL: the unverified filter returned nothing for those rows until they were rescanned. Each extraction is now coalesced to false. The JSON path is untouched, since SQLAlchemy compiles `as_boolean()` to a CASE whose ELSE branch already folds a missing key into false. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>