mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +00:00
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:
@@ -26,7 +26,7 @@ CREATE TABLE IF NOT EXISTS `item_dbc` (
|
|||||||
`InventoryType` int NOT NULL DEFAULT '0',
|
`InventoryType` int NOT NULL DEFAULT '0',
|
||||||
`SheatheType` int NOT NULL DEFAULT '0',
|
`SheatheType` int NOT NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`ID`)
|
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)
|
-- Dumping data for table acore_world.item_dbc: ~0 rows (approximately)
|
||||||
DELETE FROM `item_dbc`;
|
DELETE FROM `item_dbc`;
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ CREATE TABLE IF NOT EXISTS `lfgdungeons_dbc` (
|
|||||||
`Description_Lang_Unk` text,
|
`Description_Lang_Unk` text,
|
||||||
`Description_Lang_Mask` int unsigned NOT NULL DEFAULT '0',
|
`Description_Lang_Mask` int unsigned NOT NULL DEFAULT '0',
|
||||||
PRIMARY KEY (`ID`)
|
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)
|
-- Dumping data for table acore_world.lfgdungeons_dbc: ~0 rows (approximately)
|
||||||
DELETE FROM `lfgdungeons_dbc`;
|
DELETE FROM `lfgdungeons_dbc`;
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
-- DB update 2024_01_20_05 -> 2024_01_20_06
|
-- 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';
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
--
|
||||||
|
ALTER TABLE `item_dbc`
|
||||||
|
COLLATE='utf8mb4_unicode_ci';
|
||||||
|
ALTER TABLE `lfgdungeons_dbc`
|
||||||
|
COLLATE='utf8mb4_unicode_ci';
|
||||||
Reference in New Issue
Block a user