DB/Core: Converted hotfix database charset to utf8mb4

Update DBUpdater to create databases with utf8mb4
This commit is contained in:
funjoker
2020-09-22 01:22:59 +02:00
parent 0fe8d6e7f2
commit 6e77dc8f78
3 changed files with 12 additions and 2 deletions

View File

@@ -213,7 +213,7 @@ bool DBUpdater<T>::Create(DatabaseWorkerPool<T>& pool)
return false;
}
file << "CREATE DATABASE `" << pool.GetConnectionInfo()->database << "` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci\n\n";
file << "CREATE DATABASE `" << pool.GetConnectionInfo()->database << "` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci\n\n";
file.close();