2 # ALTER TABLE `creature_loot_template` DROP INDEX `idx_item`;
\r
3 # ALTER TABLE `creature_loot_template` DROP INDEX `idx_ref`;
\r
4 CREATE INDEX `idx_item` ON `creature_loot_template` (`item`);
\r
5 CREATE INDEX `idx_ref` ON `creature_loot_template` (`mincountOrRef`);
\r
6 # ALTER TABLE `disenchant_loot_template` DROP INDEX `idx_item`;
\r
7 # ALTER TABLE `disenchant_loot_template` DROP INDEX `idx_ref`;
\r
8 CREATE INDEX `idx_item` ON `disenchant_loot_template` (`item`);
\r
9 CREATE INDEX `idx_ref` ON `disenchant_loot_template` (`mincountOrRef`);
\r
10 # ALTER TABLE `fishing_loot_template` DROP INDEX `idx_item`;
\r
11 # ALTER TABLE `fishing_loot_template` DROP INDEX `idx_ref`;
\r
12 CREATE INDEX `idx_item` ON `fishing_loot_template` (`item`);
\r
13 CREATE INDEX `idx_ref` ON `fishing_loot_template` (`mincountOrRef`);
\r
14 # ALTER TABLE `gameobject_loot_template` DROP INDEX `idx_item`;
\r
15 # ALTER TABLE `gameobject_loot_template` DROP INDEX `idx_ref`;
\r
16 CREATE INDEX `idx_item` ON `gameobject_loot_template` (`item`);
\r
17 CREATE INDEX `idx_ref` ON `gameobject_loot_template` (`mincountOrRef`);
\r
18 # ALTER TABLE `item_loot_template` DROP INDEX `idx_item`;
\r
19 # ALTER TABLE `item_loot_template` DROP INDEX `idx_ref`;
\r
20 CREATE INDEX `idx_item` ON `item_loot_template` (`item`);
\r
21 CREATE INDEX `idx_ref` ON `item_loot_template` (`mincountOrRef`);
\r
22 # ALTER TABLE `pickpocketing_loot_template` DROP INDEX `idx_item`;
\r
23 # ALTER TABLE `pickpocketing_loot_template` DROP INDEX `idx_ref`;
\r
24 CREATE INDEX `idx_item` ON `pickpocketing_loot_template`(`item`);
\r
25 CREATE INDEX `idx_ref` ON `pickpocketing_loot_template`(`mincountOrRef`);
\r
26 # ALTER TABLE `prospecting_loot_template` DROP INDEX `idx_item`;
\r
27 # ALTER TABLE `prospecting_loot_template` DROP INDEX `idx_ref`;
\r
28 CREATE INDEX `idx_item` ON `prospecting_loot_template` (`item`);
\r
29 CREATE INDEX `idx_ref` ON `prospecting_loot_template` (`mincountOrRef`);
\r
30 # ALTER TABLE `skinning_loot_template` DROP INDEX `idx_item`;
\r
31 # ALTER TABLE `skinning_loot_template` DROP INDEX `idx_ref`;
\r
32 CREATE INDEX `idx_item` ON `skinning_loot_template` (`item`);
\r
33 CREATE INDEX `idx_ref` ON `skinning_loot_template` (`mincountOrRef`);
\r
34 # ALTER TABLE `milling_loot_template` DROP INDEX `idx_item`;
\r
35 # ALTER TABLE `milling_loot_template` DROP INDEX `idx_ref`;
\r
36 CREATE INDEX `idx_item` ON `milling_loot_template` (`item`);
\r
37 CREATE INDEX `idx_ref` ON `milling_loot_template` (`mincountOrRef`);
\r
38 # ALTER TABLE `mail_loot_template` DROP INDEX `idx_item`;
\r
39 # ALTER TABLE `mail_loot_template` DROP INDEX `idx_ref`;
\r
40 CREATE INDEX `idx_item` ON `mail_loot_template` (`item`);
\r
41 CREATE INDEX `idx_ref` ON `mail_loot_template` (`mincountOrRef`);
\r
42 # ALTER TABLE `reference_loot_template` DROP INDEX `idx_item`;
\r
43 # ALTER TABLE `reference_loot_template` DROP INDEX `idx_ref`;
\r
44 CREATE INDEX `idx_item` ON `reference_loot_template` (`item`);
\r
45 CREATE INDEX `idx_ref` ON `reference_loot_template` (`mincountOrRef`);
\r
48 # ALTER TABLE `creature_template` DROP INDEX `idx_loot`;
\r
49 # ALTER TABLE `creature_template` DROP INDEX `idx_skinloot`;
\r
50 # ALTER TABLE `creature_template` DROP INDEX `idx_pickpocketloot`;
\r
51 # ALTER TABLE `creature_template` DROP INDEX `idx_factionA`;
\r
52 # ALTER TABLE `creature_template` DROP INDEX `idx_factionH`;
\r
53 CREATE INDEX `idx_loot` ON `creature_template` (`lootid`);
\r
54 CREATE INDEX `idx_skinloot` ON `creature_template` (`skinloot`);
\r
55 CREATE INDEX `idx_pickpocketloot` ON `creature_template` (`pickpocketloot`);
\r
56 CREATE INDEX `idx_factionA` ON `creature_template` (`faction_A`);
\r
57 CREATE INDEX `idx_factionH` ON `creature_template` (`faction_H`);
\r
60 # ALTER TABLE `npc_trainer` DROP INDEX `idx_spell`;
\r
61 CREATE INDEX `idx_spell` ON `npc_trainer` (`spell`);
\r
64 # ALTER TABLE `npc_vendor` DROP INDEX `idx_sold`;
\r
65 CREATE INDEX `idx_sold` ON `npc_vendor` (`item`);
\r
68 # ALTER TABLE `item_template` DROP INDEX `idx_quest`;
\r
69 # ALTER TABLE `item_template` DROP INDEX `idx_reqFaction`;
\r
70 # ALTER TABLE `item_template` DROP INDEX `idx_spell1`;
\r
71 # ALTER TABLE `item_template` DROP INDEX `idx_spell2`;
\r
72 # ALTER TABLE `item_template` DROP INDEX `idx_spell3`;
\r
73 # ALTER TABLE `item_template` DROP INDEX `idx_spell4`;
\r
74 # ALTER TABLE `item_template` DROP INDEX `idx_spell5`;
\r
75 # ALTER TABLE `item_template` DROP INDEX `idx_disenchant`;
\r
76 CREATE INDEX `idx_quest` ON `item_template` (`startquest`);
\r
77 CREATE INDEX `idx_reqFaction` ON `item_template` (`RequiredReputationFaction`);
\r
78 CREATE INDEX `idx_spell1` ON `item_template` (`spellid_1`);
\r
79 CREATE INDEX `idx_spell2` ON `item_template` (`spellid_2`);
\r
80 CREATE INDEX `idx_spell3` ON `item_template` (`spellid_3`);
\r
81 CREATE INDEX `idx_spell4` ON `item_template` (`spellid_4`);
\r
82 CREATE INDEX `idx_spell5` ON `item_template` (`spellid_5`);
\r
83 CREATE INDEX `idx_disenchant` ON `item_template` (`DisenchantID`);
\r
86 # ALTER TABLE `quest_template` DROP INDEX `idx_rewSpell`;
\r
87 # ALTER TABLE `quest_template` DROP INDEX `idx_castSpell`;
\r
88 CREATE INDEX `idx_rewSpell` ON `quest_template` (`RewSpell`);
\r
89 CREATE INDEX `idx_castSpell` ON `quest_template` (`RewSpellCast`);
\r
91 # ALTER TABLE `creature_questrelation` DROP INDEX `idx_quest`;
\r
92 # ALTER TABLE `gameobject_questrelation` DROP INDEX `idx_quest`;
\r
93 # ALTER TABLE `creature_involvedrelation` DROP INDEX `idx_quest`;
\r
94 # ALTER TABLE `gameobject_involvedrelation` DROP INDEX `idx_quest`;
\r
95 CREATE INDEX `idx_quest` ON `creature_questrelation` (`quest`);
\r
96 CREATE INDEX `idx_quest` ON `gameobject_questrelation` (`quest`);
\r
97 CREATE INDEX `idx_quest` ON `creature_involvedrelation` (`quest`);
\r
98 CREATE INDEX `idx_quest` ON `gameobject_involvedrelation` (`quest`);
\r
102 # ALTER TABLE `gameobject_template` DROP INDEX `idx_type`;
\r
103 # ALTER TABLE `gameobject_template` DROP INDEX `idx_faction`;
\r
104 # ALTER TABLE `gameobject_template` DROP INDEX `idx_data0`;
\r
105 # ALTER TABLE `gameobject_template` DROP INDEX `idx_data1`;
\r
106 # ALTER TABLE `gameobject_template` DROP INDEX `idx_data2`;
\r
107 # ALTER TABLE `gameobject_template` DROP INDEX `idx_data3`;
\r
108 # ALTER TABLE `gameobject_template` DROP INDEX `idx_data10`;
\r
109 CREATE INDEX `idx_type` ON `gameobject_template` (`type`);
\r
110 CREATE INDEX `idx_faction` ON `gameobject_template` (`faction`);
\r
111 CREATE INDEX `idx_data0` ON `gameobject_template` (`data0`);
\r
112 CREATE INDEX `idx_data1` ON `gameobject_template` (`data1`);
\r
113 CREATE INDEX `idx_data2` ON `gameobject_template` (`data2`);
\r
114 CREATE INDEX `idx_data3` ON `gameobject_template` (`data3`);
\r
115 CREATE INDEX `idx_data10` ON `gameobject_template` (`data10`);