aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-01-10 00:49:22 +0100
committerShauren <shauren.trinity@gmail.com>2023-01-10 00:49:22 +0100
commit65e787d18be898532363fea3f8847fa4d7f21192 (patch)
tree25567ec7d52668f87977d1f1dca3910f35cef814 /src
parent25c7656ffd1f63a32a7f92fde1dc1649fcfd1323 (diff)
Core/DBUpdater: Changed autoupdater created databases to use utf8mb4 instead of utf8mb3
Diffstat (limited to 'src')
-rw-r--r--src/server/database/Updater/DBUpdater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/database/Updater/DBUpdater.cpp b/src/server/database/Updater/DBUpdater.cpp
index c43b61fb51b..49b1fada1fc 100644
--- a/src/server/database/Updater/DBUpdater.cpp
+++ b/src/server/database/Updater/DBUpdater.cpp
@@ -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();