Files
romm/backend
Georges-Antoine Assi 57e207cff2 fix(db): don't use STR_TO_DATE in a generated column
MariaDB 12.3 enforces that STR_TO_DATE (which reads lc_time_names) cannot
appear in a GENERATED ALWAYS AS clause, so migration 0098 failed with
error 1901 and RomM could not start. Earlier releases up to 12.2 accepted
it, which is why the problem only surfaced on 12.3.

The gamelist value is already pinned to a fixed-width "YYYYMMDDThhmmss" by
the regex guard, so it is reshaped into a canonical datetime literal with
SUBSTRING/CONCAT and fed to the existing TIMESTAMPDIFF. Stored values and
their time-zone independence are unchanged.

Fixes #3873

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-22 07:25:35 -04:00
..
2026-06-21 17:42:25 -04:00
2026-02-09 17:26:21 -05:00
2026-07-20 19:04:59 -04:00
2026-07-01 08:58:00 -04:00
2026-07-19 14:46:47 -04:00
2026-07-20 08:39:34 -04:00
2024-02-10 12:43:39 -05:00
2025-07-05 19:17:40 -04:00
2026-05-17 17:39:47 -04:00
2026-07-18 18:17:45 -04:00
2026-05-22 22:35:30 -04:00