fix(DB): Collation error (#18204)

* fix(DB): Collation error

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

* Update 2024_01_20_06.sql
This commit is contained in:
Kitzunu
2024-01-21 01:23:45 +01:00
committed by GitHub
parent 835b6ac893
commit fa8a9d65c8
4 changed files with 8 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ CREATE TABLE IF NOT EXISTS `item_dbc` (
`InventoryType` int NOT NULL DEFAULT '0',
`SheatheType` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Dumping data for table acore_world.item_dbc: ~0 rows (approximately)
DELETE FROM `item_dbc`;

View File

@@ -67,7 +67,7 @@ CREATE TABLE IF NOT EXISTS `lfgdungeons_dbc` (
`Description_Lang_Unk` text,
`Description_Lang_Mask` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- Dumping data for table acore_world.lfgdungeons_dbc: ~0 rows (approximately)
DELETE FROM `lfgdungeons_dbc`;

View File

@@ -1,3 +1,3 @@
-- DB update 2024_01_20_05 -> 2024_01_20_06
--
UPDATE `command` SET `help`='Syntax: .server set motd Optional($realmId) $MOTD\r\n\r\nSet server Message of the day for the specified $realmId.\r\nIf $realmId is not provided it will update for the current realm.' WHERE `name`='server set motd';
UPDATE `command` SET `help`='Syntax: .server set motd Optional($realmId) $MOTD\r\n\r\nSet server Message of the day for the specified $realmId.\r\nIf $realmId is not provided it will update for the current realm.\r\nUse $realmId -1 to set motd for all realms.' WHERE `name`='server set motd';

View File

@@ -0,0 +1,5 @@
--
ALTER TABLE `item_dbc`
COLLATE='utf8mb4_unicode_ci';
ALTER TABLE `lfgdungeons_dbc`
COLLATE='utf8mb4_unicode_ci';