fix: support utf8mb4 across MySQL and MariaDB
Test / test (push) Canceled after 6m35s
Build and publish image / image (push) Successful in 13m42s

This commit is contained in:
bryanpedini committed 2026-11-20 15:14:28 +01:00
1 parent cce17c5fa4
commit d34894c9cd
28 files changed
+224 -121

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ func TestLoadEmbeddedMigrations(t *testing.T) {
if !strings.Contains(stmt, "CREATE TABLE") || !strings.Contains(stmt, wantTables[i]) {
t.Fatalf("statement %d: %s", i, stmt)
}
if !strings.HasSuffix(stmt, "COLLATE = utf8mb4_0900_ai_ci") {
if !strings.HasSuffix(stmt, "DEFAULT CHARSET = utf8mb4") {
t.Fatalf("statement %d: %s", i, stmt)
}
}