Core/DBUpdater: Changed autoupdater created databases to use utf8mb4 instead of utf8mb3

This commit is contained in:
Shauren
2023-01-10 00:49:22 +01:00
parent 25c7656ffd
commit 65e787d18b

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();