mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
The gamelist branch of generated_first_release_date is gated on an 8-digits/T/6-digits regex, which does not prove the digits form a real date. EmulationStation, ES-DE and Skyscraper write "00000000T000000" for an unknown release date, and make_timestamp raises on it. Because the column is STORED, that aborts the 0098 ALTER TABLE on upgrade, and any later INSERT of such a ROM on installs already past 0098. romm_gamelist_epoch_ms now traps the error and returns NULL, matching the range guard the MariaDB branch already applied. 0105 replaces the function in place for installs that have already run 0098. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>