1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 12:24:04 +00:00

Make DBs use utfmb4_unicode_ci

This commit is contained in:
Samuel Štancl 2019-01-23 22:44:26 +01:00
parent 3cb5efc654
commit aabe48b54a

View file

@ -41,7 +41,7 @@ class DatabaseManager
return;
}
return DB::statement("CREATE DATABASE `$name`");
return DB::statement("CREATE DATABASE `$name` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci");
}
public function getDriver(): ?string