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 (https://github.com/TrinityCore/TrinityCore/commit/fb388298a0bf76402a6f1de35bdfcb33223d51bb) Co-authored-by: Shauren <shauren.trinity@gmail.com>
This commit is contained in:
@@ -19,7 +19,7 @@ DROP TABLE IF EXISTS `characters`;
|
|||||||
CREATE TABLE IF NOT EXISTS `characters` (
|
CREATE TABLE IF NOT EXISTS `characters` (
|
||||||
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||||
`account` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account 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',
|
`race` tinyint unsigned NOT NULL DEFAULT '0',
|
||||||
`class` tinyint unsigned NOT NULL DEFAULT '0',
|
`class` tinyint unsigned NOT NULL DEFAULT '0',
|
||||||
`gender` tinyint unsigned NOT NULL DEFAULT '0',
|
`gender` tinyint unsigned NOT NULL DEFAULT '0',
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
--
|
||||||
|
ALTER TABLE `characters` MODIFY `name` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL AFTER `account`;
|
||||||
Reference in New Issue
Block a user