DB: TrinityDB revision 41: move SQL updates to the old directory

This commit is contained in:
Nay
2011-06-17 23:40:52 +01:00
parent c8a9bd2d1c
commit 9be16be7b3
227 changed files with 1 additions and 0 deletions

View File

@@ -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`);

View File

@@ -1,2 +0,0 @@
ALTER TABLE `character_pet`
ADD KEY `idx_slot` (`slot`);

View File

@@ -1,3 +0,0 @@
ALTER TABLE `character_pet`
DROP COLUMN `resettalents_cost`,
DROP COLUMN `resettalents_time`;