aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorpete318 <pete318@hotmail.com>2015-09-27 21:27:23 +0100
committerr00ty <pete318@hotmail.com>2015-09-28 22:26:23 +0200
commit01ae5c4bf6bce7e2a9a0621eb8edcf0197bc3d2c (patch)
treeaf09d9126eb633bf75cd387396a5349dac8a2081 /sql/updates
parentfcc6ef6b1881196bbcebf5949fe682056b366b46 (diff)
Auction house changes:
- Stop storing guid for auctioneer. - Store instead house ID - No separate ID for various houses. Only Horde, Alliance and Neutral. - Removed non-needed faction checks. - Use enum for auction house IDs NOTE: This will expire all current auctions and return item to player (or award to high bidder) in order to prepare database for the changes.
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/characters/2015_09_28_00_characters_335.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/updates/characters/2015_09_28_00_characters_335.sql b/sql/updates/characters/2015_09_28_00_characters_335.sql
new file mode 100644
index 00000000000..f2ce50fd4c6
--- /dev/null
+++ b/sql/updates/characters/2015_09_28_00_characters_335.sql
@@ -0,0 +1,5 @@
+UPDATE `auctionhouse`
+SET `time` = 0, `auctioneerguid` = 7;
+
+ALTER TABLE `auctionhouse`
+ CHANGE COLUMN `auctioneerguid` `houseid` TINYINT(3) UNSIGNED NOT NULL DEFAULT '7' AFTER `id`;