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.
This commit is contained in:
pete318
2015-09-27 21:27:23 +01:00
committed by r00ty
parent fcc6ef6b18
commit 01ae5c4bf6
7 changed files with 83 additions and 68 deletions

View File

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