fix(DB/Character): Allow names to be accent senstive (#16344)

* fix(DB/Character): Allow names to be accent senstive

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/16314

* Cherry-pick commit (fb388298a0)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
Kitzunu
2023-05-23 16:16:00 +02:00
committed by GitHub
parent f9e046db55
commit 5e326789ac
2 changed files with 3 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ DROP TABLE IF EXISTS `characters`;
CREATE TABLE IF NOT EXISTS `characters` (
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`account` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
`name` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL,
`name` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
`race` tinyint unsigned NOT NULL DEFAULT '0',
`class` tinyint unsigned NOT NULL DEFAULT '0',
`gender` tinyint unsigned NOT NULL DEFAULT '0',

View File

@@ -0,0 +1,2 @@
--
ALTER TABLE `characters` MODIFY `name` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL AFTER `account`;