mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 18:11:16 +01:00
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>