mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-02 07:07:29 +01:00
DB: TrinityDB revision 41: move SQL updates to the old directory
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
-- Uncomment this query if the ALTER query gives you primary key violation errors
|
||||
-- SET @item_guid := (SELECT `item_guid` FROM `mail_items` GROUP BY `item_guid` HAVING COUNT(`item_guid`) > 1);
|
||||
-- DELETE FROM `mail_items` WHERE `item_guid` IN (@item_guid);
|
||||
|
||||
ALTER TABLE `mail_items`
|
||||
DROP PRIMARY KEY,
|
||||
ADD PRIMARY KEY(`item_guid`),
|
||||
ADD KEY `idx_mail_id` (`mail_id`);
|
||||
@@ -1,2 +0,0 @@
|
||||
ALTER TABLE `character_pet`
|
||||
ADD KEY `idx_slot` (`slot`);
|
||||
@@ -1,3 +0,0 @@
|
||||
ALTER TABLE `character_pet`
|
||||
DROP COLUMN `resettalents_cost`,
|
||||
DROP COLUMN `resettalents_time`;
|
||||
Reference in New Issue
Block a user