DB/Core: Converted hotfix database charset to utf8mb4
Update DBUpdater to create databases with utf8mb4
This commit is contained in:
1 parent
0fe8d6e7f2
commit
6e77dc8f78
3 files changed
+12
-2
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user