Files
romm/backend/models
Claude 8fcc16bad2 refactor(roms): replace denormalized columns with deferred column_property
Drop the migration and the multi_file / top_level_file_count columns on
roms; express both as deferred column_property correlated subqueries
against rom_files instead. The gallery list and detail queries opt in
via undefer, so they get the values computed in the same SELECT via
indexed subqueries (rom_id index already in place); other code paths
that don't read the flags pay nothing.

This keeps the gallery perf win (no rom_files load for cards) without
introducing schema state that has to stay in sync with rom_files at
write time.
2026-05-24 20:41:44 +00:00
..
2025-09-17 11:14:03 -04:00
2026-03-15 20:09:33 -04:00
2025-09-04 11:17:00 -03:00
2026-04-12 11:04:12 -04:00
2026-03-14 23:35:04 -04:00