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

This commit is contained in:
Nay committed 2011-06-17 23:46:57 +01:00
1 parent c8a9bd2d1c
commit 9be16be7b3
227 files changed
+1

No files matched your search

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