aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorclick <none@none>2010-05-01 08:10:14 +0200
committerclick <none@none>2010-05-01 08:10:14 +0200
commit3a616674921763c5cf3f3409dbd1fe06251ec9c2 (patch)
tree8413f86248f603d5a74e6ab87b4b659266e5b9e3 /sql/updates
parentea2d4d95366fa74415e90bf3dd551697ec2a0eaa (diff)
Add support for sorting vendor itemlists
--HG-- branch : trunk
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/8057_world_game_event_npc_vendor.sql2
-rw-r--r--sql/updates/8057_world_npc_vendor.sql2
2 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/8057_world_game_event_npc_vendor.sql b/sql/updates/8057_world_game_event_npc_vendor.sql
new file mode 100644
index 00000000000..92923390b31
--- /dev/null
+++ b/sql/updates/8057_world_game_event_npc_vendor.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `game_event_npc_vendor` ADD `slot` SMALLINT(6) NOT NULL DEFAULT '0' AFTER `guid`;
+ALTER TABLE `game_event_npc_vendor` ADD INDEX (`slot`);
diff --git a/sql/updates/8057_world_npc_vendor.sql b/sql/updates/8057_world_npc_vendor.sql
new file mode 100644
index 00000000000..7703e035790
--- /dev/null
+++ b/sql/updates/8057_world_npc_vendor.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `npc_vendor` ADD `slot` SMALLINT(6) NOT NULL DEFAULT '0' AFTER `entry`;
+ALTER TABLE `npc_vendor` ADD INDEX (`slot`);