aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
Diffstat (limited to 'sql/updates')
-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;