aboutsummaryrefslogtreecommitdiff
path: root/sql/base/characters_database.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/base/characters_database.sql')
-rw-r--r--sql/base/characters_database.sql96
1 files changed, 85 insertions, 11 deletions
diff --git a/sql/base/characters_database.sql b/sql/base/characters_database.sql
index 5e8d4795561..c0d8d36e917 100644
--- a/sql/base/characters_database.sql
+++ b/sql/base/characters_database.sql
@@ -159,6 +159,53 @@ LOCK TABLES `arena_team_member` WRITE;
UNLOCK TABLES;
--
+-- Table structure for table `auction_bidders`
+--
+
+DROP TABLE IF EXISTS `auction_bidders`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `auction_bidders` (
+ `auctionId` int unsigned NOT NULL,
+ `playerGuid` bigint unsigned NOT NULL,
+ PRIMARY KEY (`auctionId`,`playerGuid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `auction_bidders`
+--
+
+LOCK TABLES `auction_bidders` WRITE;
+/*!40000 ALTER TABLE `auction_bidders` DISABLE KEYS */;
+/*!40000 ALTER TABLE `auction_bidders` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `auction_items`
+--
+
+DROP TABLE IF EXISTS `auction_items`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `auction_items` (
+ `auctionId` int unsigned NOT NULL,
+ `itemGuid` bigint unsigned NOT NULL,
+ PRIMARY KEY (`auctionId`,`itemGuid`),
+ UNIQUE KEY `idx_itemGuid` (`itemGuid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `auction_items`
+--
+
+LOCK TABLES `auction_items` WRITE;
+/*!40000 ALTER TABLE `auction_items` DISABLE KEYS */;
+/*!40000 ALTER TABLE `auction_items` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
-- Table structure for table `auctionhouse`
--
@@ -167,17 +214,16 @@ DROP TABLE IF EXISTS `auctionhouse`;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `auctionhouse` (
`id` int(10) unsigned NOT NULL DEFAULT '0',
- `auctioneerguid` bigint(20) unsigned NOT NULL DEFAULT '0',
- `itemguid` bigint(20) unsigned NOT NULL DEFAULT '0',
- `itemowner` bigint(20) unsigned NOT NULL DEFAULT '0',
- `buyoutprice` bigint(20) unsigned NOT NULL DEFAULT '0',
- `time` int(10) unsigned NOT NULL DEFAULT '0',
- `buyguid` bigint(20) unsigned NOT NULL DEFAULT '0',
- `lastbid` bigint(20) unsigned NOT NULL DEFAULT '0',
- `startbid` bigint(20) unsigned NOT NULL DEFAULT '0',
+ `auctionHouseId` int(10) unsigned NOT NULL DEFAULT '0',
+ `owner` bigint(20) unsigned NOT NULL DEFAULT '0',
+ `bidder` bigint(20) unsigned NOT NULL DEFAULT '0',
+ `minBid` bigint(20) unsigned NOT NULL DEFAULT '0',
+ `buyoutOrUnitPrice` bigint(20) unsigned NOT NULL DEFAULT '0',
`deposit` bigint(20) unsigned NOT NULL DEFAULT '0',
- PRIMARY KEY (`id`),
- UNIQUE KEY `item_guid` (`itemguid`)
+ `bidAmount` bigint(20) unsigned NOT NULL DEFAULT '0',
+ `startTime` int(10) unsigned NOT NULL DEFAULT '0',
+ `endTime` int(10) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
@@ -734,6 +780,33 @@ LOCK TABLES `character_equipmentsets` WRITE;
UNLOCK TABLES;
--
+-- Table structure for table `character_favorite_auctions`
+--
+
+DROP TABLE IF EXISTS `character_favorite_auctions`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `character_favorite_auctions` (
+ `guid` bigint(20) unsigned NOT NULL,
+ `order` int(10) unsigned NOT NULL DEFAULT '0',
+ `itemId` int(10) unsigned NOT NULL DEFAULT '0',
+ `itemLevel` int(10) unsigned NOT NULL DEFAULT '0',
+ `battlePetSpeciesId` int(10) unsigned NOT NULL DEFAULT '0',
+ `suffixItemNameDescriptionId` int(10) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`guid`,`order`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `character_favorite_auctions`
+--
+
+LOCK TABLES `character_favorite_auctions` WRITE;
+/*!40000 ALTER TABLE `character_favorite_auctions` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_favorite_auctions` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
-- Table structure for table `character_fishingsteps`
--
@@ -3696,7 +3769,8 @@ INSERT INTO `updates` VALUES
('2019_11_22_00_characters.sql','95DFA71DBD75542C098CD86E9C0051C9690902F0','RELEASED','2019-11-20 15:10:12',0),
('2019_11_30_00_characters.sql','D0678E62B651AECA60C2DD6989BF80BD999AD12B','RELEASED','2019-11-29 22:42:01',0),
('2019_12_05_00_characters.sql','EA381C9634A5646A3168F15DF4E06A708A622762','RELEASED','2019-12-05 20:56:58',0),
-('2020_02_17_00_characters.sql','E1519A81D35F19B48B3C75A83A270CB4BA0B84F2','RELEASED','2020-02-17 21:55:17',0);
+('2020_02_17_00_characters.sql','E1519A81D35F19B48B3C75A83A270CB4BA0B84F2','RELEASED','2020-02-17 21:55:17',0),
+('2020_04_20_00_characters.sql','45F8D1AF0A345BED93BE55FF82D3823452DFF0FC','RELEASED','2020-04-20 19:08:18',0);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
UNLOCK TABLES;