Core/Conversations: Fix conversation data handling
Port From (https://github.com/TrinityCore/TrinityCore/commit/f4ef40d9686135088a76c90a3f9de6a6bc10e8f0)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
ALTER TABLE `conversation_actors`
|
||||
ADD COLUMN `CreatureId` int(10) unsigned NOT NULL DEFAULT '0' AFTER `Idx`,
|
||||
ADD COLUMN `CreatureDisplayInfoId` int(10) unsigned NOT NULL DEFAULT '0' AFTER `CreatureId`;
|
||||
|
||||
UPDATE `conversation_actors` AS ca
|
||||
INNER JOIN `conversation_actor_template` AS cat ON (ca.ConversationActorId = cat.Id)
|
||||
SET ca.CreatureId = cat.CreatureId, ca.CreatureDisplayInfoId = cat.CreatureModelId;
|
||||
|
||||
DROP TABLE `conversation_actor_template`;
|
||||
Reference in New Issue
Block a user