aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/characters
diff options
context:
space:
mode:
authoriridinite <codingcuddlewolf@gmail.com>2017-11-27 23:00:30 +0100
committerShauren <shauren.trinity@gmail.com>2017-11-27 23:00:30 +0100
commit9d454eb3dfd6f74af5eb32045bc1a5a4bf21db90 (patch)
treec8226ab149c07a98fe80841a489108c7e3b7a575 /sql/updates/characters
parent463ed5e1ac6881696124cfaa2eeb49b95a082914 (diff)
[3.3.5] Core/AuctionHouse: Auction bidders (#18328)
* Save more auction bidders than the highest bidder only
Diffstat (limited to 'sql/updates/characters')
-rw-r--r--sql/updates/characters/3.3.5/2017_11_27_00_characters.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/updates/characters/3.3.5/2017_11_27_00_characters.sql b/sql/updates/characters/3.3.5/2017_11_27_00_characters.sql
new file mode 100644
index 00000000000..21c7192f0b2
--- /dev/null
+++ b/sql/updates/characters/3.3.5/2017_11_27_00_characters.sql
@@ -0,0 +1,9 @@
+DROP TABLE IF EXISTS `auctionbidders`;
+CREATE TABLE `auctionbidders` (
+ `id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `bidderguid` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ PRIMARY KEY (`id`, `bidderguid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+INSERT INTO `auctionbidders` (`id`, `bidderguid`)
+SELECT DISTINCT `id`, `buyguid` FROM `auctionhouse` WHERE `buyguid` != 0;