Files
romm/backend
Kyle Thistlewood 6011334478 fix(db): pin explicit collation in virtual_collections view for MariaDB 11.6+
On MariaDB 11.6+ the default character_set_collations maps utf8mb4
expressions to uca1400_ai_ci, which clashes with the view's general_ci
string literals and JSON_TABLE columns: every /api/collections/virtual
request fails with 'Illegal mix of collations ... for operation ='.

Recreate the view (new migration, 0095 pattern) with an explicit
COLLATE utf8mb4_general_ci on each string output column so comparisons
resolve deterministically regardless of server collation defaults.
PostgreSQL is unaffected (no-op).

Fixes #3758

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 05:19:14 +00:00
..
2026-06-21 17:42:25 -04:00
2026-02-09 17:26:21 -05:00
2026-07-07 10:47:15 -04:00
2026-07-01 08:58:00 -04:00
2026-07-06 22:17:56 -04:00
2024-02-10 12:43:39 -05:00
2025-07-05 19:17:40 -04:00
2026-07-02 11:16:07 +09:00
2026-05-17 17:39:47 -04:00
2026-06-25 16:09:15 -04:00
2026-05-22 22:35:30 -04:00