mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
* Use prepared statements in Pet::SavePetToDB * Add support for resetting all of a player's pet specializations * Send one big spell unlearn/learn packet instead of lots of small ones * Implemented Adaptation talent
3199 lines
118 KiB
SQL
3199 lines
118 KiB
SQL
-- MySQL dump 10.13 Distrib 5.6.26, for Win64 (x86_64)
|
|
--
|
|
-- Host: localhost Database: characters
|
|
-- ------------------------------------------------------
|
|
-- Server version 5.6.26-log
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
/*!40101 SET NAMES utf8 */;
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
--
|
|
-- Table structure for table `account_data`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `account_data`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `account_data` (
|
|
`accountId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
|
|
`type` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`time` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`data` blob NOT NULL,
|
|
PRIMARY KEY (`accountId`,`type`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `account_data`
|
|
--
|
|
|
|
LOCK TABLES `account_data` WRITE;
|
|
/*!40000 ALTER TABLE `account_data` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `account_data` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `account_instance_times`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `account_instance_times`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `account_instance_times` (
|
|
`accountId` int(10) unsigned NOT NULL,
|
|
`instanceId` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`releaseTime` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`accountId`,`instanceId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `account_instance_times`
|
|
--
|
|
|
|
LOCK TABLES `account_instance_times` WRITE;
|
|
/*!40000 ALTER TABLE `account_instance_times` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `account_instance_times` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `account_tutorial`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `account_tutorial`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `account_tutorial` (
|
|
`accountId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
|
|
`tut0` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`tut1` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`tut2` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`tut3` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`tut4` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`tut5` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`tut6` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`tut7` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`accountId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `account_tutorial`
|
|
--
|
|
|
|
LOCK TABLES `account_tutorial` WRITE;
|
|
/*!40000 ALTER TABLE `account_tutorial` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `account_tutorial` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `addons`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `addons`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `addons` (
|
|
`name` varchar(120) NOT NULL DEFAULT '',
|
|
`crc` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`name`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Addons';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `addons`
|
|
--
|
|
|
|
LOCK TABLES `addons` WRITE;
|
|
/*!40000 ALTER TABLE `addons` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `addons` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `arena_team`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `arena_team`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `arena_team` (
|
|
`arenaTeamId` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`name` varchar(24) NOT NULL,
|
|
`captainGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`type` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`rating` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`seasonGames` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`seasonWins` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`weekGames` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`weekWins` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`rank` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`backgroundColor` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`emblemStyle` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`emblemColor` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`borderStyle` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`borderColor` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`arenaTeamId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `arena_team`
|
|
--
|
|
|
|
LOCK TABLES `arena_team` WRITE;
|
|
/*!40000 ALTER TABLE `arena_team` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `arena_team` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `arena_team_member`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `arena_team_member`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `arena_team_member` (
|
|
`arenaTeamId` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`weekGames` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`weekWins` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`seasonGames` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`seasonWins` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`personalRating` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`arenaTeamId`,`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `arena_team_member`
|
|
--
|
|
|
|
LOCK TABLES `arena_team_member` WRITE;
|
|
/*!40000 ALTER TABLE `arena_team_member` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `arena_team_member` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `auctionhouse`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `auctionhouse`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!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` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`time` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`buyguid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`lastbid` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`startbid` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`deposit` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `item_guid` (`itemguid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `auctionhouse`
|
|
--
|
|
|
|
LOCK TABLES `auctionhouse` WRITE;
|
|
/*!40000 ALTER TABLE `auctionhouse` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `auctionhouse` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `banned_addons`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `banned_addons`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `banned_addons` (
|
|
`Id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
|
`Name` varchar(255) NOT NULL,
|
|
`Version` varchar(255) NOT NULL DEFAULT '',
|
|
`Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
PRIMARY KEY (`Id`),
|
|
UNIQUE KEY `idx_name_ver` (`Name`,`Version`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `banned_addons`
|
|
--
|
|
|
|
LOCK TABLES `banned_addons` WRITE;
|
|
/*!40000 ALTER TABLE `banned_addons` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `banned_addons` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `blackmarket_auctions`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `blackmarket_auctions`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `blackmarket_auctions` (
|
|
`marketId` int(10) NOT NULL DEFAULT '0',
|
|
`currentBid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`time` int(10) NOT NULL DEFAULT '0',
|
|
`numBids` int(10) NOT NULL DEFAULT '0',
|
|
`bidder` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`marketId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `blackmarket_auctions`
|
|
--
|
|
|
|
LOCK TABLES `blackmarket_auctions` WRITE;
|
|
/*!40000 ALTER TABLE `blackmarket_auctions` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `blackmarket_auctions` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `bugreport`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `bugreport`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `bugreport` (
|
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
|
|
`type` longtext NOT NULL,
|
|
`content` longtext NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Debug System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `bugreport`
|
|
--
|
|
|
|
LOCK TABLES `bugreport` WRITE;
|
|
/*!40000 ALTER TABLE `bugreport` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `bugreport` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `calendar_events`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `calendar_events`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `calendar_events` (
|
|
`EventID` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`Owner` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`Title` varchar(255) NOT NULL DEFAULT '',
|
|
`Description` varchar(255) NOT NULL DEFAULT '',
|
|
`EventType` tinyint(1) unsigned NOT NULL DEFAULT '4',
|
|
`TextureID` int(10) NOT NULL DEFAULT '-1',
|
|
`Date` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`Flags` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`LockDate` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`EventID`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `calendar_events`
|
|
--
|
|
|
|
LOCK TABLES `calendar_events` WRITE;
|
|
/*!40000 ALTER TABLE `calendar_events` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `calendar_events` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `calendar_invites`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `calendar_invites`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `calendar_invites` (
|
|
`InviteID` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`EventID` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`Invitee` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`Sender` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`Status` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
|
`ResponseTime` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`ModerationRank` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
|
`Note` varchar(255) NOT NULL DEFAULT '',
|
|
PRIMARY KEY (`InviteID`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `calendar_invites`
|
|
--
|
|
|
|
LOCK TABLES `calendar_invites` WRITE;
|
|
/*!40000 ALTER TABLE `calendar_invites` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `calendar_invites` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `channels`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `channels`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `channels` (
|
|
`name` varchar(128) NOT NULL,
|
|
`team` int(10) unsigned NOT NULL,
|
|
`announce` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
|
`ownership` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
|
`password` varchar(32) DEFAULT NULL,
|
|
`bannedList` text,
|
|
`lastUsed` int(10) unsigned NOT NULL,
|
|
PRIMARY KEY (`name`,`team`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Channel System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `channels`
|
|
--
|
|
|
|
LOCK TABLES `channels` WRITE;
|
|
/*!40000 ALTER TABLE `channels` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `channels` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_account_data`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_account_data`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_account_data` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`type` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`time` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`data` blob NOT NULL,
|
|
PRIMARY KEY (`guid`,`type`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_account_data`
|
|
--
|
|
|
|
LOCK TABLES `character_account_data` WRITE;
|
|
/*!40000 ALTER TABLE `character_account_data` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_account_data` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_achievement`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_achievement`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_achievement` (
|
|
`guid` bigint(20) unsigned NOT NULL,
|
|
`achievement` int(10) unsigned NOT NULL,
|
|
`date` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`achievement`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_achievement`
|
|
--
|
|
|
|
LOCK TABLES `character_achievement` WRITE;
|
|
/*!40000 ALTER TABLE `character_achievement` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_achievement` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_achievement_progress`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_achievement_progress`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_achievement_progress` (
|
|
`guid` bigint(20) unsigned NOT NULL,
|
|
`criteria` int(10) unsigned NOT NULL,
|
|
`counter` bigint(20) unsigned NOT NULL,
|
|
`date` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`criteria`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_achievement_progress`
|
|
--
|
|
|
|
LOCK TABLES `character_achievement_progress` WRITE;
|
|
/*!40000 ALTER TABLE `character_achievement_progress` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_achievement_progress` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_action`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_action`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_action` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`spec` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`button` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`action` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`type` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`spec`,`button`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_action`
|
|
--
|
|
|
|
LOCK TABLES `character_action` WRITE;
|
|
/*!40000 ALTER TABLE `character_action` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_action` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_arena_stats`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_arena_stats`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_arena_stats` (
|
|
`guid` bigint(20) NOT NULL,
|
|
`slot` tinyint(3) NOT NULL,
|
|
`matchMakerRating` smallint(5) NOT NULL,
|
|
PRIMARY KEY (`guid`,`slot`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_arena_stats`
|
|
--
|
|
|
|
LOCK TABLES `character_arena_stats` WRITE;
|
|
/*!40000 ALTER TABLE `character_arena_stats` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_arena_stats` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_aura`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_aura`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_aura` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`casterGuid` binary(16) NOT NULL COMMENT 'Full Global Unique Identifier',
|
|
`itemGuid` binary(16) NOT NULL,
|
|
`spell` int(10) unsigned NOT NULL,
|
|
`effectMask` int(10) unsigned NOT NULL,
|
|
`recalculateMask` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`stackCount` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
|
`maxDuration` int(11) NOT NULL DEFAULT '0',
|
|
`remainTime` int(11) NOT NULL DEFAULT '0',
|
|
`remainCharges` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`castItemLevel` int(11) NOT NULL DEFAULT '-1',
|
|
PRIMARY KEY (`guid`,`casterGuid`,`itemGuid`,`spell`,`effectMask`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_aura`
|
|
--
|
|
|
|
LOCK TABLES `character_aura` WRITE;
|
|
/*!40000 ALTER TABLE `character_aura` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_aura` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_aura_effect`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_aura_effect`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_aura_effect` (
|
|
`guid` bigint(20) unsigned NOT NULL,
|
|
`casterGuid` binary(16) NOT NULL COMMENT 'Full Global Unique Identifier',
|
|
`itemGuid` binary(16) NOT NULL,
|
|
`spell` int(10) unsigned NOT NULL,
|
|
`effectMask` int(10) unsigned NOT NULL,
|
|
`effectIndex` tinyint(3) unsigned NOT NULL,
|
|
`amount` int(11) NOT NULL DEFAULT '0',
|
|
`baseAmount` int(11) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`casterGuid`,`itemGuid`,`spell`,`effectMask`,`effectIndex`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_aura_effect`
|
|
--
|
|
|
|
LOCK TABLES `character_aura_effect` WRITE;
|
|
/*!40000 ALTER TABLE `character_aura_effect` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_aura_effect` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_banned`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_banned`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_banned` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`bandate` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`unbandate` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`bannedby` varchar(50) NOT NULL,
|
|
`banreason` varchar(255) NOT NULL,
|
|
`active` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
|
PRIMARY KEY (`guid`,`bandate`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Ban List';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_banned`
|
|
--
|
|
|
|
LOCK TABLES `character_banned` WRITE;
|
|
/*!40000 ALTER TABLE `character_banned` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_banned` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_battleground_data`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_battleground_data`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_battleground_data` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`instanceId` int(10) unsigned NOT NULL COMMENT 'Instance Identifier',
|
|
`team` smallint(5) unsigned NOT NULL,
|
|
`joinX` float NOT NULL DEFAULT '0',
|
|
`joinY` float NOT NULL DEFAULT '0',
|
|
`joinZ` float NOT NULL DEFAULT '0',
|
|
`joinO` float NOT NULL DEFAULT '0',
|
|
`joinMapId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
|
|
`taxiStart` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`taxiEnd` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`mountSpell` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_battleground_data`
|
|
--
|
|
|
|
LOCK TABLES `character_battleground_data` WRITE;
|
|
/*!40000 ALTER TABLE `character_battleground_data` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_battleground_data` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_battleground_random`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_battleground_random`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_battleground_random` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_battleground_random`
|
|
--
|
|
|
|
LOCK TABLES `character_battleground_random` WRITE;
|
|
/*!40000 ALTER TABLE `character_battleground_random` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_battleground_random` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_cuf_profiles`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_cuf_profiles`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_cuf_profiles` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Guid',
|
|
`id` tinyint(3) unsigned NOT NULL COMMENT 'Profile Id (0-4)',
|
|
`name` varchar(12) NOT NULL COMMENT 'Profile Name',
|
|
`frameHeight` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Frame Height',
|
|
`frameWidth` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Frame Width',
|
|
`sortBy` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Frame Sort By',
|
|
`healthText` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Frame Health Text',
|
|
`boolOptions` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Many Configurable Bool Options',
|
|
`unk146` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8',
|
|
`unk147` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8',
|
|
`unk148` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8',
|
|
`unk150` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16',
|
|
`unk152` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16',
|
|
`unk154` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16',
|
|
PRIMARY KEY (`guid`,`id`),
|
|
KEY `index` (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_cuf_profiles`
|
|
--
|
|
|
|
LOCK TABLES `character_cuf_profiles` WRITE;
|
|
/*!40000 ALTER TABLE `character_cuf_profiles` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_cuf_profiles` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_currency`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_currency`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_currency` (
|
|
`CharacterGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`Currency` smallint(5) unsigned NOT NULL,
|
|
`Quantity` int(10) unsigned NOT NULL,
|
|
`WeeklyQuantity` int(10) unsigned NOT NULL,
|
|
`TrackedQuantity` int(10) unsigned NOT NULL,
|
|
`Flags` tinyint(3) unsigned NOT NULL,
|
|
PRIMARY KEY (`CharacterGuid`,`Currency`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_currency`
|
|
--
|
|
|
|
LOCK TABLES `character_currency` WRITE;
|
|
/*!40000 ALTER TABLE `character_currency` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_currency` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_declinedname`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_declinedname`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_declinedname` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`genitive` varchar(15) NOT NULL DEFAULT '',
|
|
`dative` varchar(15) NOT NULL DEFAULT '',
|
|
`accusative` varchar(15) NOT NULL DEFAULT '',
|
|
`instrumental` varchar(15) NOT NULL DEFAULT '',
|
|
`prepositional` varchar(15) NOT NULL DEFAULT '',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_declinedname`
|
|
--
|
|
|
|
LOCK TABLES `character_declinedname` WRITE;
|
|
/*!40000 ALTER TABLE `character_declinedname` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_declinedname` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_equipmentsets`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_equipmentsets`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_equipmentsets` (
|
|
`guid` bigint(20) NOT NULL DEFAULT '0',
|
|
`setguid` bigint(20) NOT NULL AUTO_INCREMENT,
|
|
`setindex` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`name` varchar(31) NOT NULL,
|
|
`iconname` varchar(100) NOT NULL,
|
|
`ignore_mask` int(11) unsigned NOT NULL DEFAULT '0',
|
|
`item0` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item1` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item2` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item3` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item4` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item5` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item6` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item7` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item8` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item9` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item10` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item11` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item12` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item13` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item14` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item15` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item16` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item17` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item18` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`setguid`),
|
|
UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`),
|
|
KEY `Idx_setindex` (`setindex`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_equipmentsets`
|
|
--
|
|
|
|
LOCK TABLES `character_equipmentsets` WRITE;
|
|
/*!40000 ALTER TABLE `character_equipmentsets` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_equipmentsets` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_garrison`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_garrison`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_garrison` (
|
|
`guid` bigint(20) unsigned NOT NULL,
|
|
`siteLevelId` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`followerActivationsRemainingToday` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_garrison`
|
|
--
|
|
|
|
LOCK TABLES `character_garrison` WRITE;
|
|
/*!40000 ALTER TABLE `character_garrison` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_garrison` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_garrison_blueprints`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_garrison_blueprints`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_garrison_blueprints` (
|
|
`guid` bigint(20) unsigned NOT NULL,
|
|
`buildingId` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`buildingId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_garrison_blueprints`
|
|
--
|
|
|
|
LOCK TABLES `character_garrison_blueprints` WRITE;
|
|
/*!40000 ALTER TABLE `character_garrison_blueprints` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_garrison_blueprints` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_garrison_buildings`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_garrison_buildings`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_garrison_buildings` (
|
|
`guid` bigint(20) unsigned NOT NULL,
|
|
`plotInstanceId` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`buildingId` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`timeBuilt` bigint(20) unsigned NOT NULL,
|
|
`active` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`plotInstanceId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_garrison_buildings`
|
|
--
|
|
|
|
LOCK TABLES `character_garrison_buildings` WRITE;
|
|
/*!40000 ALTER TABLE `character_garrison_buildings` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_garrison_buildings` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_garrison_follower_abilities`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_garrison_follower_abilities`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_garrison_follower_abilities` (
|
|
`dbId` bigint(20) unsigned NOT NULL,
|
|
`abilityId` int(10) unsigned NOT NULL,
|
|
`slot` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`dbId`,`abilityId`,`slot`),
|
|
CONSTRAINT `fk_foll_dbid` FOREIGN KEY (`dbId`) REFERENCES `character_garrison_followers` (`dbId`) ON DELETE CASCADE
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_garrison_follower_abilities`
|
|
--
|
|
|
|
LOCK TABLES `character_garrison_follower_abilities` WRITE;
|
|
/*!40000 ALTER TABLE `character_garrison_follower_abilities` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_garrison_follower_abilities` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_garrison_followers`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_garrison_followers`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_garrison_followers` (
|
|
`dbId` bigint(20) unsigned NOT NULL,
|
|
`guid` bigint(20) unsigned NOT NULL,
|
|
`followerId` int(10) unsigned NOT NULL,
|
|
`quality` int(10) unsigned NOT NULL DEFAULT '2',
|
|
`level` int(10) unsigned NOT NULL DEFAULT '90',
|
|
`itemLevelWeapon` int(10) unsigned NOT NULL DEFAULT '600',
|
|
`itemLevelArmor` int(10) unsigned NOT NULL DEFAULT '600',
|
|
`xp` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`currentBuilding` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`currentMission` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`status` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`dbId`),
|
|
UNIQUE KEY `idx_guid_id` (`guid`,`followerId`),
|
|
CONSTRAINT `fk_foll_owner` FOREIGN KEY (`guid`) REFERENCES `characters` (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_garrison_followers`
|
|
--
|
|
|
|
LOCK TABLES `character_garrison_followers` WRITE;
|
|
/*!40000 ALTER TABLE `character_garrison_followers` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_garrison_followers` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_gifts`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_gifts`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_gifts` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`item_guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`entry` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`flags` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`item_guid`),
|
|
KEY `idx_guid` (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_gifts`
|
|
--
|
|
|
|
LOCK TABLES `character_gifts` WRITE;
|
|
/*!40000 ALTER TABLE `character_gifts` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_gifts` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_glyphs`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_glyphs`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_glyphs` (
|
|
`guid` bigint(20) unsigned NOT NULL,
|
|
`talentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`glyph1` smallint(5) unsigned DEFAULT '0',
|
|
`glyph2` smallint(5) unsigned DEFAULT '0',
|
|
`glyph3` smallint(5) unsigned DEFAULT '0',
|
|
`glyph4` smallint(5) unsigned DEFAULT '0',
|
|
`glyph5` smallint(5) unsigned DEFAULT '0',
|
|
`glyph6` smallint(5) unsigned DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`talentGroup`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_glyphs`
|
|
--
|
|
|
|
LOCK TABLES `character_glyphs` WRITE;
|
|
/*!40000 ALTER TABLE `character_glyphs` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_glyphs` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_homebind`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_homebind`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_homebind` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`mapId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
|
|
`zoneId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Zone Identifier',
|
|
`posX` float NOT NULL DEFAULT '0',
|
|
`posY` float NOT NULL DEFAULT '0',
|
|
`posZ` float NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_homebind`
|
|
--
|
|
|
|
LOCK TABLES `character_homebind` WRITE;
|
|
/*!40000 ALTER TABLE `character_homebind` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_homebind` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_instance`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_instance`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_instance` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`instance` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`permanent` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`extendState` tinyint(2) unsigned NOT NULL DEFAULT '1',
|
|
PRIMARY KEY (`guid`,`instance`),
|
|
KEY `instance` (`instance`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_instance`
|
|
--
|
|
|
|
LOCK TABLES `character_instance` WRITE;
|
|
/*!40000 ALTER TABLE `character_instance` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_instance` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_inventory`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_inventory`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_inventory` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`bag` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`slot` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`item` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Global Unique Identifier',
|
|
PRIMARY KEY (`item`),
|
|
UNIQUE KEY `guid` (`guid`,`bag`,`slot`),
|
|
KEY `idx_guid` (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_inventory`
|
|
--
|
|
|
|
LOCK TABLES `character_inventory` WRITE;
|
|
/*!40000 ALTER TABLE `character_inventory` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_inventory` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_pet`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_pet`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_pet` (
|
|
`id` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`entry` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`owner` bigint(10) unsigned NOT NULL DEFAULT '0',
|
|
`modelid` int(10) unsigned DEFAULT '0',
|
|
`CreatedBySpell` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
`PetType` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`level` smallint(5) unsigned NOT NULL DEFAULT '1',
|
|
`exp` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`Reactstate` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`name` varchar(21) NOT NULL DEFAULT 'Pet',
|
|
`renamed` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`slot` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`curhealth` int(10) unsigned NOT NULL DEFAULT '1',
|
|
`curmana` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`savetime` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`abdata` text,
|
|
`specialization` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
KEY `owner` (`owner`),
|
|
KEY `idx_slot` (`slot`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_pet`
|
|
--
|
|
|
|
LOCK TABLES `character_pet` WRITE;
|
|
/*!40000 ALTER TABLE `character_pet` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_pet` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_pet_declinedname`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_pet_declinedname`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_pet_declinedname` (
|
|
`id` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`owner` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`genitive` varchar(12) NOT NULL DEFAULT '',
|
|
`dative` varchar(12) NOT NULL DEFAULT '',
|
|
`accusative` varchar(12) NOT NULL DEFAULT '',
|
|
`instrumental` varchar(12) NOT NULL DEFAULT '',
|
|
`prepositional` varchar(12) NOT NULL DEFAULT '',
|
|
PRIMARY KEY (`id`),
|
|
KEY `owner_key` (`owner`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_pet_declinedname`
|
|
--
|
|
|
|
LOCK TABLES `character_pet_declinedname` WRITE;
|
|
/*!40000 ALTER TABLE `character_pet_declinedname` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_pet_declinedname` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_queststatus`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_queststatus`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_queststatus` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`quest` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`status` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`timer` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`quest`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_queststatus`
|
|
--
|
|
|
|
LOCK TABLES `character_queststatus` WRITE;
|
|
/*!40000 ALTER TABLE `character_queststatus` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_queststatus` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_queststatus_daily`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_queststatus_daily`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_queststatus_daily` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
|
|
`time` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`quest`),
|
|
KEY `idx_guid` (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_queststatus_daily`
|
|
--
|
|
|
|
LOCK TABLES `character_queststatus_daily` WRITE;
|
|
/*!40000 ALTER TABLE `character_queststatus_daily` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_queststatus_daily` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_queststatus_monthly`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_queststatus_monthly`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_queststatus_monthly` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
|
|
PRIMARY KEY (`guid`,`quest`),
|
|
KEY `idx_guid` (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_queststatus_monthly`
|
|
--
|
|
|
|
LOCK TABLES `character_queststatus_monthly` WRITE;
|
|
/*!40000 ALTER TABLE `character_queststatus_monthly` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_queststatus_monthly` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_queststatus_objectives`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_queststatus_objectives`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_queststatus_objectives` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`quest` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`objective` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`data` int(11) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`quest`,`objective`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_queststatus_objectives`
|
|
--
|
|
|
|
LOCK TABLES `character_queststatus_objectives` WRITE;
|
|
/*!40000 ALTER TABLE `character_queststatus_objectives` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_queststatus_objectives` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_queststatus_rewarded`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_queststatus_rewarded`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_queststatus_rewarded` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
|
|
`active` tinyint(10) unsigned NOT NULL DEFAULT '1',
|
|
PRIMARY KEY (`guid`,`quest`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_queststatus_rewarded`
|
|
--
|
|
|
|
LOCK TABLES `character_queststatus_rewarded` WRITE;
|
|
/*!40000 ALTER TABLE `character_queststatus_rewarded` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_queststatus_rewarded` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_queststatus_seasonal`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_queststatus_seasonal`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_queststatus_seasonal` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
|
|
`event` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Event Identifier',
|
|
PRIMARY KEY (`guid`,`quest`),
|
|
KEY `idx_guid` (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_queststatus_seasonal`
|
|
--
|
|
|
|
LOCK TABLES `character_queststatus_seasonal` WRITE;
|
|
/*!40000 ALTER TABLE `character_queststatus_seasonal` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_queststatus_seasonal` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_queststatus_weekly`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_queststatus_weekly`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_queststatus_weekly` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
|
|
PRIMARY KEY (`guid`,`quest`),
|
|
KEY `idx_guid` (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_queststatus_weekly`
|
|
--
|
|
|
|
LOCK TABLES `character_queststatus_weekly` WRITE;
|
|
/*!40000 ALTER TABLE `character_queststatus_weekly` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_queststatus_weekly` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_reputation`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_reputation`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_reputation` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`faction` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`standing` int(11) NOT NULL DEFAULT '0',
|
|
`flags` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`faction`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_reputation`
|
|
--
|
|
|
|
LOCK TABLES `character_reputation` WRITE;
|
|
/*!40000 ALTER TABLE `character_reputation` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_reputation` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_skills`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_skills`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_skills` (
|
|
`guid` bigint(20) unsigned NOT NULL COMMENT 'Global Unique Identifier',
|
|
`skill` smallint(5) unsigned NOT NULL,
|
|
`value` smallint(5) unsigned NOT NULL,
|
|
`max` smallint(5) unsigned NOT NULL,
|
|
PRIMARY KEY (`guid`,`skill`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_skills`
|
|
--
|
|
|
|
LOCK TABLES `character_skills` WRITE;
|
|
/*!40000 ALTER TABLE `character_skills` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_skills` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_social`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_social`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_social` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
|
|
`friend` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Friend Global Unique Identifier',
|
|
`flags` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Friend Flags',
|
|
`note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note',
|
|
PRIMARY KEY (`guid`,`friend`,`flags`),
|
|
KEY `friend` (`friend`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_social`
|
|
--
|
|
|
|
LOCK TABLES `character_social` WRITE;
|
|
/*!40000 ALTER TABLE `character_social` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_social` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_spell`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_spell`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_spell` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`spell` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier',
|
|
`active` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
|
`disabled` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`spell`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_spell`
|
|
--
|
|
|
|
LOCK TABLES `character_spell` WRITE;
|
|
/*!40000 ALTER TABLE `character_spell` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_spell` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_spell_charges`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_spell_charges`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_spell_charges` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part',
|
|
`categoryId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'SpellCategory.dbc Identifier',
|
|
`rechargeStart` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`rechargeEnd` int(10) unsigned NOT NULL DEFAULT '0',
|
|
KEY `idx_guid` (`guid`) USING BTREE
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_spell_charges`
|
|
--
|
|
|
|
LOCK TABLES `character_spell_charges` WRITE;
|
|
/*!40000 ALTER TABLE `character_spell_charges` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_spell_charges` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_spell_cooldown`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_spell_cooldown`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_spell_cooldown` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part',
|
|
`spell` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier',
|
|
`item` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Identifier',
|
|
`time` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`categoryId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell category Id',
|
|
`categoryEnd` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`spell`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_spell_cooldown`
|
|
--
|
|
|
|
LOCK TABLES `character_spell_cooldown` WRITE;
|
|
/*!40000 ALTER TABLE `character_spell_cooldown` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_spell_cooldown` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_stats`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_stats`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_stats` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part',
|
|
`maxhealth` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`maxpower1` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`maxpower2` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`maxpower3` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`maxpower4` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`maxpower5` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`maxpower6` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`strength` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`agility` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`stamina` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`intellect` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`spirit` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`armor` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`resHoly` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`resFire` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`resNature` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`resFrost` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`resShadow` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`resArcane` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`blockPct` float unsigned NOT NULL DEFAULT '0',
|
|
`dodgePct` float unsigned NOT NULL DEFAULT '0',
|
|
`parryPct` float unsigned NOT NULL DEFAULT '0',
|
|
`critPct` float unsigned NOT NULL DEFAULT '0',
|
|
`rangedCritPct` float unsigned NOT NULL DEFAULT '0',
|
|
`spellCritPct` float unsigned NOT NULL DEFAULT '0',
|
|
`attackPower` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`rangedAttackPower` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`spellPower` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`resilience` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_stats`
|
|
--
|
|
|
|
LOCK TABLES `character_stats` WRITE;
|
|
/*!40000 ALTER TABLE `character_stats` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_stats` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_talent`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_talent`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_talent` (
|
|
`guid` bigint(20) unsigned NOT NULL,
|
|
`spell` mediumint(8) unsigned NOT NULL,
|
|
`talentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`spell`,`talentGroup`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_talent`
|
|
--
|
|
|
|
LOCK TABLES `character_talent` WRITE;
|
|
/*!40000 ALTER TABLE `character_talent` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_talent` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_template`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_template`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_template` (
|
|
`id` int(10) unsigned NOT NULL,
|
|
`name` varchar(70) NOT NULL,
|
|
`description` varchar(100) NOT NULL,
|
|
`level` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_template`
|
|
--
|
|
|
|
LOCK TABLES `character_template` WRITE;
|
|
/*!40000 ALTER TABLE `character_template` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_template` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_template_class`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_template_class`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_template_class` (
|
|
`templateId` int(10) unsigned NOT NULL,
|
|
`factionGroup` tinyint(3) unsigned NOT NULL COMMENT '3 - Alliance, 5 - Horde',
|
|
`class` tinyint(3) unsigned NOT NULL,
|
|
PRIMARY KEY (`templateId`,`factionGroup`,`class`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_template_class`
|
|
--
|
|
|
|
LOCK TABLES `character_template_class` WRITE;
|
|
/*!40000 ALTER TABLE `character_template_class` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_template_class` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `character_void_storage`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `character_void_storage`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `character_void_storage` (
|
|
`itemId` bigint(20) unsigned NOT NULL,
|
|
`playerGuid` bigint(20) unsigned NOT NULL,
|
|
`itemEntry` mediumint(8) unsigned NOT NULL,
|
|
`slot` tinyint(3) unsigned NOT NULL,
|
|
`creatorGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`randomProperty` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`suffixFactor` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`upgradeId` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`bonusListIDs` text,
|
|
PRIMARY KEY (`itemId`),
|
|
UNIQUE KEY `idx_player_slot` (`playerGuid`,`slot`),
|
|
KEY `idx_player` (`playerGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `character_void_storage`
|
|
--
|
|
|
|
LOCK TABLES `character_void_storage` WRITE;
|
|
/*!40000 ALTER TABLE `character_void_storage` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `character_void_storage` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `characters`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `characters`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `characters` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`account` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
|
|
`name` varchar(12) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
|
|
`slot` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`race` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`class` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`gender` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`level` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`xp` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`money` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`skin` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`face` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`hairStyle` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`hairColor` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`facialStyle` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`bankSlots` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`restState` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`playerFlags` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`position_x` float NOT NULL DEFAULT '0',
|
|
`position_y` float NOT NULL DEFAULT '0',
|
|
`position_z` float NOT NULL DEFAULT '0',
|
|
`map` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
|
|
`instance_id` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`dungeonDifficulty` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
|
`raidDifficulty` tinyint(3) unsigned NOT NULL DEFAULT '14',
|
|
`legacyRaidDifficulty` tinyint(3) unsigned NOT NULL DEFAULT '3',
|
|
`orientation` float NOT NULL DEFAULT '0',
|
|
`taximask` text NOT NULL,
|
|
`online` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`cinematic` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`totaltime` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`leveltime` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`logout_time` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`is_logout_resting` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`rest_bonus` float NOT NULL DEFAULT '0',
|
|
`resettalents_cost` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`resettalents_time` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`talentTree` varchar(10) NOT NULL DEFAULT '0 0',
|
|
`trans_x` float NOT NULL DEFAULT '0',
|
|
`trans_y` float NOT NULL DEFAULT '0',
|
|
`trans_z` float NOT NULL DEFAULT '0',
|
|
`trans_o` float NOT NULL DEFAULT '0',
|
|
`transguid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`extra_flags` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`stable_slots` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`at_login` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`zone` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`death_expire_time` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`taxi_path` text,
|
|
`totalKills` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`todayKills` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`yesterdayKills` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`chosenTitle` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`watchedFaction` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`drunk` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`health` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`power1` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`power2` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`power3` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`power4` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`power5` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`power6` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`latency` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
`talentGroupsCount` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
|
`activeTalentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`lootSpecId` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`exploredZones` longtext,
|
|
`equipmentCache` longtext,
|
|
`knownTitles` longtext,
|
|
`actionBars` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`grantableLevels` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`deleteInfos_Account` int(10) unsigned DEFAULT NULL,
|
|
`deleteInfos_Name` varchar(12) DEFAULT NULL,
|
|
`deleteDate` int(10) unsigned DEFAULT NULL,
|
|
PRIMARY KEY (`guid`),
|
|
KEY `idx_account` (`account`),
|
|
KEY `idx_online` (`online`),
|
|
KEY `idx_name` (`name`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `characters`
|
|
--
|
|
|
|
LOCK TABLES `characters` WRITE;
|
|
/*!40000 ALTER TABLE `characters` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `characters` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `corpse`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `corpse`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `corpse` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
|
|
`posX` float NOT NULL DEFAULT '0',
|
|
`posY` float NOT NULL DEFAULT '0',
|
|
`posZ` float NOT NULL DEFAULT '0',
|
|
`orientation` float NOT NULL DEFAULT '0',
|
|
`mapId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
|
|
`displayId` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`itemCache` text NOT NULL,
|
|
`bytes1` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`bytes2` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`flags` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`dynFlags` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`time` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`corpseType` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`instanceId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Instance Identifier',
|
|
PRIMARY KEY (`guid`),
|
|
KEY `idx_type` (`corpseType`),
|
|
KEY `idx_instance` (`instanceId`),
|
|
KEY `idx_time` (`time`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Death System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `corpse`
|
|
--
|
|
|
|
LOCK TABLES `corpse` WRITE;
|
|
/*!40000 ALTER TABLE `corpse` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `corpse` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `corpse_phases`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `corpse_phases`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `corpse_phases` (
|
|
`OwnerGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`PhaseId` int(10) unsigned NOT NULL,
|
|
PRIMARY KEY (`OwnerGuid`,`PhaseId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `corpse_phases`
|
|
--
|
|
|
|
LOCK TABLES `corpse_phases` WRITE;
|
|
/*!40000 ALTER TABLE `corpse_phases` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `corpse_phases` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `creature_respawn`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `creature_respawn`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `creature_respawn` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`respawnTime` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`mapId` smallint(10) unsigned NOT NULL DEFAULT '0',
|
|
`instanceId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Instance Identifier',
|
|
PRIMARY KEY (`guid`,`instanceId`),
|
|
KEY `idx_instance` (`instanceId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Grid Loading System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `creature_respawn`
|
|
--
|
|
|
|
LOCK TABLES `creature_respawn` WRITE;
|
|
/*!40000 ALTER TABLE `creature_respawn` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `creature_respawn` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `game_event_condition_save`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `game_event_condition_save`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `game_event_condition_save` (
|
|
`eventEntry` tinyint(3) unsigned NOT NULL,
|
|
`condition_id` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`done` float DEFAULT '0',
|
|
PRIMARY KEY (`eventEntry`,`condition_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `game_event_condition_save`
|
|
--
|
|
|
|
LOCK TABLES `game_event_condition_save` WRITE;
|
|
/*!40000 ALTER TABLE `game_event_condition_save` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `game_event_condition_save` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `game_event_save`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `game_event_save`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `game_event_save` (
|
|
`eventEntry` tinyint(3) unsigned NOT NULL,
|
|
`state` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
|
`next_start` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`eventEntry`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `game_event_save`
|
|
--
|
|
|
|
LOCK TABLES `game_event_save` WRITE;
|
|
/*!40000 ALTER TABLE `game_event_save` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `game_event_save` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `gameobject_respawn`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `gameobject_respawn`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `gameobject_respawn` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`respawnTime` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`mapId` smallint(10) unsigned NOT NULL DEFAULT '0',
|
|
`instanceId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Instance Identifier',
|
|
PRIMARY KEY (`guid`,`instanceId`),
|
|
KEY `idx_instance` (`instanceId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Grid Loading System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `gameobject_respawn`
|
|
--
|
|
|
|
LOCK TABLES `gameobject_respawn` WRITE;
|
|
/*!40000 ALTER TABLE `gameobject_respawn` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `gameobject_respawn` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `gm_bug`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `gm_bug`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `gm_bug` (
|
|
`id` int(10) unsigned NOT NULL,
|
|
`playerGuid` bigint(20) unsigned NOT NULL,
|
|
`note` text NOT NULL,
|
|
`createTime` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`mapId` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`posX` float NOT NULL DEFAULT '0',
|
|
`posY` float NOT NULL DEFAULT '0',
|
|
`posZ` float NOT NULL DEFAULT '0',
|
|
`facing` float NOT NULL DEFAULT '0',
|
|
`closedBy` bigint(20) NOT NULL DEFAULT '0',
|
|
`assignedTo` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned',
|
|
`comment` text NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `gm_bug`
|
|
--
|
|
|
|
LOCK TABLES `gm_bug` WRITE;
|
|
/*!40000 ALTER TABLE `gm_bug` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `gm_bug` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `gm_complaint`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `gm_complaint`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `gm_complaint` (
|
|
`id` int(10) unsigned NOT NULL,
|
|
`playerGuid` bigint(20) unsigned NOT NULL,
|
|
`note` text NOT NULL,
|
|
`createTime` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`mapId` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`posX` float NOT NULL DEFAULT '0',
|
|
`posY` float NOT NULL DEFAULT '0',
|
|
`posZ` float NOT NULL DEFAULT '0',
|
|
`facing` float NOT NULL DEFAULT '0',
|
|
`targetCharacterGuid` bigint(20) unsigned NOT NULL,
|
|
`complaintType` smallint(5) unsigned NOT NULL,
|
|
`reportLineIndex` int(10) NOT NULL,
|
|
`closedBy` bigint(20) NOT NULL DEFAULT '0',
|
|
`assignedTo` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned',
|
|
`comment` text NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `gm_complaint`
|
|
--
|
|
|
|
LOCK TABLES `gm_complaint` WRITE;
|
|
/*!40000 ALTER TABLE `gm_complaint` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `gm_complaint` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `gm_complaint_chatlog`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `gm_complaint_chatlog`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `gm_complaint_chatlog` (
|
|
`complaintId` int(10) unsigned NOT NULL,
|
|
`lineId` int(10) unsigned NOT NULL,
|
|
`timestamp` int(10) unsigned NOT NULL,
|
|
`text` text NOT NULL,
|
|
PRIMARY KEY (`complaintId`,`lineId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `gm_complaint_chatlog`
|
|
--
|
|
|
|
LOCK TABLES `gm_complaint_chatlog` WRITE;
|
|
/*!40000 ALTER TABLE `gm_complaint_chatlog` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `gm_complaint_chatlog` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `gm_suggestion`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `gm_suggestion`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `gm_suggestion` (
|
|
`id` int(10) unsigned NOT NULL,
|
|
`playerGuid` bigint(20) unsigned NOT NULL,
|
|
`note` text NOT NULL,
|
|
`createTime` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`mapId` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`posX` float NOT NULL DEFAULT '0',
|
|
`posY` float NOT NULL DEFAULT '0',
|
|
`posZ` float NOT NULL DEFAULT '0',
|
|
`facing` float NOT NULL DEFAULT '0',
|
|
`closedBy` bigint(20) NOT NULL DEFAULT '0',
|
|
`assignedTo` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned',
|
|
`comment` text NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `gm_suggestion`
|
|
--
|
|
|
|
LOCK TABLES `gm_suggestion` WRITE;
|
|
/*!40000 ALTER TABLE `gm_suggestion` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `gm_suggestion` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `group_instance`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `group_instance`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `group_instance` (
|
|
`guid` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`instance` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`permanent` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`instance`),
|
|
KEY `instance` (`instance`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `group_instance`
|
|
--
|
|
|
|
LOCK TABLES `group_instance` WRITE;
|
|
/*!40000 ALTER TABLE `group_instance` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `group_instance` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `group_member`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `group_member`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `group_member` (
|
|
`guid` int(10) unsigned NOT NULL,
|
|
`memberGuid` bigint(20) unsigned NOT NULL,
|
|
`memberFlags` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`subgroup` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`roles` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`memberGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Groups';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `group_member`
|
|
--
|
|
|
|
LOCK TABLES `group_member` WRITE;
|
|
/*!40000 ALTER TABLE `group_member` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `group_member` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `groups`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `groups`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `groups` (
|
|
`guid` int(10) unsigned NOT NULL,
|
|
`leaderGuid` bigint(20) unsigned NOT NULL,
|
|
`lootMethod` tinyint(3) unsigned NOT NULL,
|
|
`looterGuid` bigint(20) unsigned NOT NULL,
|
|
`lootThreshold` tinyint(3) unsigned NOT NULL,
|
|
`icon1` binary(16) NOT NULL,
|
|
`icon2` binary(16) NOT NULL,
|
|
`icon3` binary(16) NOT NULL,
|
|
`icon4` binary(16) NOT NULL,
|
|
`icon5` binary(16) NOT NULL,
|
|
`icon6` binary(16) NOT NULL,
|
|
`icon7` binary(16) NOT NULL,
|
|
`icon8` binary(16) NOT NULL,
|
|
`groupType` tinyint(3) unsigned NOT NULL,
|
|
`difficulty` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
|
`raidDifficulty` tinyint(3) unsigned NOT NULL DEFAULT '14',
|
|
`legacyRaidDifficulty` tinyint(3) unsigned NOT NULL DEFAULT '3',
|
|
`masterLooterGuid` bigint(20) unsigned NOT NULL,
|
|
PRIMARY KEY (`guid`),
|
|
KEY `leaderGuid` (`leaderGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Groups';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `groups`
|
|
--
|
|
|
|
LOCK TABLES `groups` WRITE;
|
|
/*!40000 ALTER TABLE `groups` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `groups` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `guild`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `guild`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild` (
|
|
`guildid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`name` varchar(24) NOT NULL DEFAULT '',
|
|
`leaderguid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`EmblemStyle` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`EmblemColor` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`BorderStyle` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`BorderColor` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`BackgroundColor` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`info` varchar(500) NOT NULL DEFAULT '',
|
|
`motd` varchar(128) NOT NULL DEFAULT '',
|
|
`createdate` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`BankMoney` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`level` int(10) unsigned DEFAULT '1',
|
|
PRIMARY KEY (`guildid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `guild`
|
|
--
|
|
|
|
LOCK TABLES `guild` WRITE;
|
|
/*!40000 ALTER TABLE `guild` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `guild_achievement`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `guild_achievement`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild_achievement` (
|
|
`guildId` bigint(20) unsigned NOT NULL,
|
|
`achievement` int(10) unsigned NOT NULL,
|
|
`date` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`guids` text NOT NULL,
|
|
PRIMARY KEY (`guildId`,`achievement`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `guild_achievement`
|
|
--
|
|
|
|
LOCK TABLES `guild_achievement` WRITE;
|
|
/*!40000 ALTER TABLE `guild_achievement` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild_achievement` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `guild_achievement_progress`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `guild_achievement_progress`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild_achievement_progress` (
|
|
`guildId` bigint(20) unsigned NOT NULL,
|
|
`criteria` int(10) unsigned NOT NULL,
|
|
`counter` bigint(20) unsigned NOT NULL,
|
|
`date` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`completedGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guildId`,`criteria`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `guild_achievement_progress`
|
|
--
|
|
|
|
LOCK TABLES `guild_achievement_progress` WRITE;
|
|
/*!40000 ALTER TABLE `guild_achievement_progress` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild_achievement_progress` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `guild_bank_eventlog`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `guild_bank_eventlog`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild_bank_eventlog` (
|
|
`guildid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Guild Identificator',
|
|
`LogGuid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Log record identificator - auxiliary column',
|
|
`TabId` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Guild bank TabId',
|
|
`EventType` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Event type',
|
|
`PlayerGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`ItemOrMoney` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`ItemStackCount` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`DestTabId` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Destination Tab Id',
|
|
`TimeStamp` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Event UNIX time',
|
|
PRIMARY KEY (`guildid`,`LogGuid`,`TabId`),
|
|
KEY `guildid_key` (`guildid`),
|
|
KEY `Idx_PlayerGuid` (`PlayerGuid`),
|
|
KEY `Idx_LogGuid` (`LogGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `guild_bank_eventlog`
|
|
--
|
|
|
|
LOCK TABLES `guild_bank_eventlog` WRITE;
|
|
/*!40000 ALTER TABLE `guild_bank_eventlog` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild_bank_eventlog` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `guild_bank_item`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `guild_bank_item`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild_bank_item` (
|
|
`guildid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`TabId` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`SlotId` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`item_guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guildid`,`TabId`,`SlotId`),
|
|
KEY `guildid_key` (`guildid`),
|
|
KEY `Idx_item_guid` (`item_guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `guild_bank_item`
|
|
--
|
|
|
|
LOCK TABLES `guild_bank_item` WRITE;
|
|
/*!40000 ALTER TABLE `guild_bank_item` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild_bank_item` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `guild_bank_right`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `guild_bank_right`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild_bank_right` (
|
|
`guildid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`TabId` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`rid` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`gbright` tinyint(3) NOT NULL DEFAULT '0',
|
|
`SlotPerDay` int(10) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guildid`,`TabId`,`rid`),
|
|
KEY `guildid_key` (`guildid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `guild_bank_right`
|
|
--
|
|
|
|
LOCK TABLES `guild_bank_right` WRITE;
|
|
/*!40000 ALTER TABLE `guild_bank_right` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild_bank_right` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `guild_bank_tab`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `guild_bank_tab`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild_bank_tab` (
|
|
`guildid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`TabId` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`TabName` varchar(16) NOT NULL DEFAULT '',
|
|
`TabIcon` varchar(100) NOT NULL DEFAULT '',
|
|
`TabText` varchar(500) DEFAULT NULL,
|
|
PRIMARY KEY (`guildid`,`TabId`),
|
|
KEY `guildid_key` (`guildid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `guild_bank_tab`
|
|
--
|
|
|
|
LOCK TABLES `guild_bank_tab` WRITE;
|
|
/*!40000 ALTER TABLE `guild_bank_tab` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild_bank_tab` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `guild_eventlog`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `guild_eventlog`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild_eventlog` (
|
|
`guildid` bigint(20) unsigned NOT NULL COMMENT 'Guild Identificator',
|
|
`LogGuid` int(10) unsigned NOT NULL COMMENT 'Log record identificator - auxiliary column',
|
|
`EventType` tinyint(3) unsigned NOT NULL COMMENT 'Event type',
|
|
`PlayerGuid1` bigint(20) unsigned NOT NULL COMMENT 'Player 1',
|
|
`PlayerGuid2` bigint(20) unsigned NOT NULL COMMENT 'Player 2',
|
|
`NewRank` tinyint(3) unsigned NOT NULL COMMENT 'New rank(in case promotion/demotion)',
|
|
`TimeStamp` int(10) unsigned NOT NULL COMMENT 'Event UNIX time',
|
|
PRIMARY KEY (`guildid`,`LogGuid`),
|
|
KEY `Idx_PlayerGuid1` (`PlayerGuid1`),
|
|
KEY `Idx_PlayerGuid2` (`PlayerGuid2`),
|
|
KEY `Idx_LogGuid` (`LogGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild Eventlog';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `guild_eventlog`
|
|
--
|
|
|
|
LOCK TABLES `guild_eventlog` WRITE;
|
|
/*!40000 ALTER TABLE `guild_eventlog` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild_eventlog` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `guild_finder_applicant`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `guild_finder_applicant`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild_finder_applicant` (
|
|
`guildId` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`playerGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`availability` tinyint(3) unsigned DEFAULT '0',
|
|
`classRole` tinyint(3) unsigned DEFAULT '0',
|
|
`interests` tinyint(3) unsigned DEFAULT '0',
|
|
`comment` varchar(255) DEFAULT NULL,
|
|
`submitTime` int(10) unsigned DEFAULT NULL,
|
|
PRIMARY KEY (`guildId`,`playerGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `guild_finder_applicant`
|
|
--
|
|
|
|
LOCK TABLES `guild_finder_applicant` WRITE;
|
|
/*!40000 ALTER TABLE `guild_finder_applicant` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild_finder_applicant` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `guild_finder_guild_settings`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `guild_finder_guild_settings`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild_finder_guild_settings` (
|
|
`guildId` bigint(20) unsigned NOT NULL,
|
|
`availability` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`classRoles` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`interests` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`level` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
|
`listed` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`comment` varchar(255) DEFAULT NULL,
|
|
PRIMARY KEY (`guildId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `guild_finder_guild_settings`
|
|
--
|
|
|
|
LOCK TABLES `guild_finder_guild_settings` WRITE;
|
|
/*!40000 ALTER TABLE `guild_finder_guild_settings` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild_finder_guild_settings` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `guild_member`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `guild_member`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild_member` (
|
|
`guildid` bigint(20) unsigned NOT NULL COMMENT 'Guild Identificator',
|
|
`guid` bigint(20) unsigned NOT NULL,
|
|
`rank` tinyint(3) unsigned NOT NULL,
|
|
`pnote` varchar(31) NOT NULL DEFAULT '',
|
|
`offnote` varchar(31) NOT NULL DEFAULT '',
|
|
UNIQUE KEY `guid_key` (`guid`),
|
|
KEY `guildid_key` (`guildid`),
|
|
KEY `guildid_rank_key` (`guildid`,`rank`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `guild_member`
|
|
--
|
|
|
|
LOCK TABLES `guild_member` WRITE;
|
|
/*!40000 ALTER TABLE `guild_member` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild_member` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `guild_member_withdraw`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `guild_member_withdraw`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild_member_withdraw` (
|
|
`guid` bigint(20) unsigned NOT NULL,
|
|
`tab0` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`tab1` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`tab2` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`tab3` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`tab4` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`tab5` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`tab6` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`tab7` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`money` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild Member Daily Withdraws';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `guild_member_withdraw`
|
|
--
|
|
|
|
LOCK TABLES `guild_member_withdraw` WRITE;
|
|
/*!40000 ALTER TABLE `guild_member_withdraw` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild_member_withdraw` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `guild_newslog`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `guild_newslog`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild_newslog` (
|
|
`guildid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Guild Identificator',
|
|
`LogGuid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Log record identificator - auxiliary column',
|
|
`EventType` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Event type',
|
|
`PlayerGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`Flags` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`Value` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`TimeStamp` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Event UNIX time',
|
|
PRIMARY KEY (`guildid`,`LogGuid`),
|
|
KEY `guildid_key` (`guildid`),
|
|
KEY `Idx_PlayerGuid` (`PlayerGuid`),
|
|
KEY `Idx_LogGuid` (`LogGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `guild_newslog`
|
|
--
|
|
|
|
LOCK TABLES `guild_newslog` WRITE;
|
|
/*!40000 ALTER TABLE `guild_newslog` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild_newslog` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `guild_rank`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `guild_rank`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `guild_rank` (
|
|
`guildid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`rid` tinyint(3) unsigned NOT NULL,
|
|
`rname` varchar(20) NOT NULL DEFAULT '',
|
|
`rights` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
`BankMoneyPerDay` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guildid`,`rid`),
|
|
KEY `Idx_rid` (`rid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `guild_rank`
|
|
--
|
|
|
|
LOCK TABLES `guild_rank` WRITE;
|
|
/*!40000 ALTER TABLE `guild_rank` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `guild_rank` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `instance`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `instance`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `instance` (
|
|
`id` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`map` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`resettime` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`completedEncounters` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`data` tinytext NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `map` (`map`),
|
|
KEY `resettime` (`resettime`),
|
|
KEY `difficulty` (`difficulty`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `instance`
|
|
--
|
|
|
|
LOCK TABLES `instance` WRITE;
|
|
/*!40000 ALTER TABLE `instance` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `instance` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `instance_reset`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `instance_reset`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `instance_reset` (
|
|
`mapid` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`resettime` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`mapid`,`difficulty`),
|
|
KEY `difficulty` (`difficulty`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `instance_reset`
|
|
--
|
|
|
|
LOCK TABLES `instance_reset` WRITE;
|
|
/*!40000 ALTER TABLE `instance_reset` DISABLE KEYS */;
|
|
INSERT INTO `instance_reset` VALUES (33,2,1426996800),(36,2,1426996800),(249,3,1427515200),(249,4,1427515200),(269,2,1426996800),(409,9,1427515200),(469,9,1427515200),(509,3,1427169600),(531,9,1427515200),(532,3,1427515200),(533,3,1427515200),(533,4,1427515200),(534,4,1427515200),(540,2,1426996800),(542,2,1426996800),(543,2,1426996800),(544,4,1427515200),(545,2,1426996800),(546,2,1426996800),(547,2,1426996800),(548,4,1427515200),(550,4,1427515200),(552,2,1426996800),(553,2,1426996800),(554,2,1426996800),(555,2,1426996800),(556,2,1426996800),(557,2,1426996800),(558,2,1426996800),(560,2,1426996800),(564,4,1427515200),(565,4,1427515200),(568,2,1426996800),(574,2,1426996800),(575,2,1426996800),(576,2,1426996800),(578,2,1426996800),(580,4,1427515200),(585,2,1426996800),(595,2,1426996800),(598,2,1426996800),(599,2,1426996800),(600,2,1426996800),(601,2,1426996800),(602,2,1426996800),(603,3,1427515200),(603,4,1427515200),(604,2,1426996800),(608,2,1426996800),(615,3,1427515200),(615,4,1427515200),(616,3,1427515200),(616,4,1427515200),(619,2,1426996800),(624,3,1427515200),(624,4,1427515200),(631,3,1427515200),(631,4,1427515200),(631,5,1427515200),(631,6,1427515200),(632,2,1426996800),(643,2,1426996800),(644,2,1426996800),(645,2,1426996800),(649,3,1427515200),(649,4,1427515200),(649,5,1427515200),(649,6,1427515200),(650,2,1426996800),(657,2,1426996800),(658,2,1426996800),(668,2,1426996800),(669,3,1427515200),(669,4,1427515200),(669,5,1427515200),(669,6,1427515200),(670,2,1426996800),(671,3,1427515200),(671,4,1427515200),(671,5,1427515200),(671,6,1427515200),(720,3,1427515200),(720,4,1427515200),(720,5,1427515200),(720,6,1427515200),(724,3,1427515200),(724,4,1427515200),(724,5,1427515200),(724,6,1427515200),(725,2,1426996800),(754,3,1427515200),(754,4,1427515200),(754,5,1427515200),(754,6,1427515200),(755,2,1426996800),(757,3,1427515200),(757,4,1427515200),(757,5,1427515200),(757,6,1427515200),(859,2,1426996800),(938,2,1426996800),(939,2,1426996800),(940,2,1426996800),(959,2,1426996800),(960,2,1426996800),(961,2,1426996800),(962,2,1426996800),(967,3,1427515200),(967,4,1427515200),(967,5,1427515200),(967,6,1427515200),(994,2,1426996800),(996,3,1427515200),(996,4,1427515200),(996,5,1427515200),(996,6,1427515200),(1001,2,1426996800),(1004,2,1426996800),(1007,2,1426996800),(1008,3,1427515200),(1008,4,1427515200),(1008,5,1427515200),(1008,6,1427515200),(1009,3,1427515200),(1009,4,1427515200),(1009,5,1427515200),(1009,6,1427515200),(1011,2,1426996800),(1098,3,1427515200),(1098,4,1427515200),(1098,5,1427515200),(1098,6,1427515200),(1136,14,1427515200),(1136,15,1427515200),(1136,16,1427515200),(1175,2,1426996800),(1176,2,1426996800),(1182,2,1426996800),(1195,2,1426996800),(1205,14,1427515200),(1205,15,1427515200),(1205,16,1427515200),(1208,2,1426996800),(1209,2,1426996800),(1228,14,1427515200),(1228,15,1427515200),(1228,16,1427515200),(1279,2,1426996800),(1358,2,1426996800);
|
|
/*!40000 ALTER TABLE `instance_reset` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `item_instance`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `item_instance`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `item_instance` (
|
|
`guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`itemEntry` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
`owner_guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`creatorGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`giftCreatorGuid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`count` int(10) unsigned NOT NULL DEFAULT '1',
|
|
`duration` int(10) NOT NULL DEFAULT '0',
|
|
`charges` tinytext,
|
|
`flags` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
`enchantments` text NOT NULL,
|
|
`randomPropertyId` smallint(5) NOT NULL DEFAULT '0',
|
|
`durability` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`playedTime` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`text` text,
|
|
`transmogrification` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`upgradeId` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`enchantIllusion` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`battlePetSpeciesId` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`battlePetBreedData` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`battlePetLevel` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`battlePetDisplayId` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`bonusListIDs` text,
|
|
PRIMARY KEY (`guid`),
|
|
KEY `idx_owner_guid` (`owner_guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Item System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `item_instance`
|
|
--
|
|
|
|
LOCK TABLES `item_instance` WRITE;
|
|
/*!40000 ALTER TABLE `item_instance` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `item_instance` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `item_loot_items`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `item_loot_items`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `item_loot_items` (
|
|
`container_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'guid of container (item_instance.guid)',
|
|
`item_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'loot item entry (item_instance.itemEntry)',
|
|
`item_count` int(10) NOT NULL DEFAULT '0' COMMENT 'stack size',
|
|
`follow_rules` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'follow loot rules',
|
|
`ffa` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'free-for-all',
|
|
`blocked` tinyint(1) NOT NULL DEFAULT '0',
|
|
`counted` tinyint(1) NOT NULL DEFAULT '0',
|
|
`under_threshold` tinyint(1) NOT NULL DEFAULT '0',
|
|
`needs_quest` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'quest drop',
|
|
`rnd_prop` int(10) NOT NULL DEFAULT '0' COMMENT 'random enchantment added when originally rolled',
|
|
`rnd_suffix` int(10) NOT NULL DEFAULT '0' COMMENT 'random suffix added when originally rolled',
|
|
PRIMARY KEY (`container_id`,`item_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `item_loot_items`
|
|
--
|
|
|
|
LOCK TABLES `item_loot_items` WRITE;
|
|
/*!40000 ALTER TABLE `item_loot_items` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `item_loot_items` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `item_loot_money`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `item_loot_money`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `item_loot_money` (
|
|
`container_id` bigint(20) NOT NULL DEFAULT '0' COMMENT 'guid of container (item_instance.guid)',
|
|
`money` int(10) NOT NULL DEFAULT '0' COMMENT 'money loot (in copper)',
|
|
PRIMARY KEY (`container_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `item_loot_money`
|
|
--
|
|
|
|
LOCK TABLES `item_loot_money` WRITE;
|
|
/*!40000 ALTER TABLE `item_loot_money` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `item_loot_money` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `item_refund_instance`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `item_refund_instance`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `item_refund_instance` (
|
|
`item_guid` bigint(20) unsigned NOT NULL COMMENT 'Item GUID',
|
|
`player_guid` bigint(20) unsigned NOT NULL COMMENT 'Player GUID',
|
|
`paidMoney` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`paidExtendedCost` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`item_guid`,`player_guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Item Refund System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `item_refund_instance`
|
|
--
|
|
|
|
LOCK TABLES `item_refund_instance` WRITE;
|
|
/*!40000 ALTER TABLE `item_refund_instance` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `item_refund_instance` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `item_soulbound_trade_data`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `item_soulbound_trade_data`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `item_soulbound_trade_data` (
|
|
`itemGuid` bigint(20) unsigned NOT NULL COMMENT 'Item GUID',
|
|
`allowedPlayers` text NOT NULL COMMENT 'Space separated GUID list of players who can receive this item in trade',
|
|
PRIMARY KEY (`itemGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Item Refund System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `item_soulbound_trade_data`
|
|
--
|
|
|
|
LOCK TABLES `item_soulbound_trade_data` WRITE;
|
|
/*!40000 ALTER TABLE `item_soulbound_trade_data` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `item_soulbound_trade_data` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `lfg_data`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `lfg_data`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `lfg_data` (
|
|
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`dungeon` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`state` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='LFG Data';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `lfg_data`
|
|
--
|
|
|
|
LOCK TABLES `lfg_data` WRITE;
|
|
/*!40000 ALTER TABLE `lfg_data` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `lfg_data` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `mail`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `mail`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `mail` (
|
|
`id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier',
|
|
`messageType` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`stationery` tinyint(3) NOT NULL DEFAULT '41',
|
|
`mailTemplateId` smallint(5) unsigned NOT NULL DEFAULT '0',
|
|
`sender` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
|
|
`receiver` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
|
|
`subject` longtext,
|
|
`body` longtext,
|
|
`has_items` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
`expire_time` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`deliver_time` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`money` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`cod` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`checked` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
KEY `idx_receiver` (`receiver`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Mail System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `mail`
|
|
--
|
|
|
|
LOCK TABLES `mail` WRITE;
|
|
/*!40000 ALTER TABLE `mail` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `mail` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `mail_items`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `mail_items`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `mail_items` (
|
|
`mail_id` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`item_guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`receiver` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
|
|
PRIMARY KEY (`item_guid`),
|
|
KEY `idx_receiver` (`receiver`),
|
|
KEY `idx_mail_id` (`mail_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `mail_items`
|
|
--
|
|
|
|
LOCK TABLES `mail_items` WRITE;
|
|
/*!40000 ALTER TABLE `mail_items` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `mail_items` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `pet_aura`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `pet_aura`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `pet_aura` (
|
|
`guid` int(10) unsigned NOT NULL COMMENT 'Global Unique Identifier',
|
|
`casterGuid` binary(16) NOT NULL COMMENT 'Full Global Unique Identifier',
|
|
`spell` int(10) unsigned NOT NULL,
|
|
`effectMask` int(10) unsigned NOT NULL,
|
|
`recalculateMask` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`stackCount` tinyint(3) unsigned NOT NULL DEFAULT '1',
|
|
`maxDuration` int(11) NOT NULL DEFAULT '0',
|
|
`remainTime` int(11) NOT NULL DEFAULT '0',
|
|
`remainCharges` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`spell`,`effectMask`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `pet_aura`
|
|
--
|
|
|
|
LOCK TABLES `pet_aura` WRITE;
|
|
/*!40000 ALTER TABLE `pet_aura` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `pet_aura` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `pet_aura_effect`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `pet_aura_effect`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `pet_aura_effect` (
|
|
`guid` int(10) unsigned NOT NULL COMMENT 'Global Unique Identifier',
|
|
`casterGuid` binary(16) NOT NULL COMMENT 'Full Global Unique Identifier',
|
|
`spell` int(10) unsigned NOT NULL,
|
|
`effectMask` int(10) unsigned NOT NULL,
|
|
`effectIndex` tinyint(3) unsigned NOT NULL,
|
|
`amount` int(11) NOT NULL DEFAULT '0',
|
|
`baseAmount` int(11) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`casterGuid`,`spell`,`effectMask`,`effectIndex`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `pet_aura_effect`
|
|
--
|
|
|
|
LOCK TABLES `pet_aura_effect` WRITE;
|
|
/*!40000 ALTER TABLE `pet_aura_effect` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `pet_aura_effect` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `pet_spell`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `pet_spell`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `pet_spell` (
|
|
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`spell` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier',
|
|
`active` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`spell`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `pet_spell`
|
|
--
|
|
|
|
LOCK TABLES `pet_spell` WRITE;
|
|
/*!40000 ALTER TABLE `pet_spell` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `pet_spell` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `pet_spell_charges`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `pet_spell_charges`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `pet_spell_charges` (
|
|
`guid` int(10) unsigned NOT NULL,
|
|
`categoryId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'SpellCategory.dbc Identifier',
|
|
`rechargeStart` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`rechargeEnd` int(10) unsigned NOT NULL DEFAULT '0',
|
|
KEY `idx_guid` (`guid`) USING BTREE
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `pet_spell_charges`
|
|
--
|
|
|
|
LOCK TABLES `pet_spell_charges` WRITE;
|
|
/*!40000 ALTER TABLE `pet_spell_charges` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `pet_spell_charges` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `pet_spell_cooldown`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `pet_spell_cooldown`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `pet_spell_cooldown` (
|
|
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part',
|
|
`spell` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier',
|
|
`time` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`categoryId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell category Id',
|
|
`categoryEnd` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`spell`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `pet_spell_cooldown`
|
|
--
|
|
|
|
LOCK TABLES `pet_spell_cooldown` WRITE;
|
|
/*!40000 ALTER TABLE `pet_spell_cooldown` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `pet_spell_cooldown` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `petition`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `petition`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `petition` (
|
|
`ownerguid` bigint(20) unsigned NOT NULL,
|
|
`petitionguid` bigint(20) unsigned DEFAULT '0',
|
|
`name` varchar(24) NOT NULL,
|
|
PRIMARY KEY (`ownerguid`),
|
|
UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `petition`
|
|
--
|
|
|
|
LOCK TABLES `petition` WRITE;
|
|
/*!40000 ALTER TABLE `petition` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `petition` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `petition_sign`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `petition_sign`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `petition_sign` (
|
|
`ownerguid` bigint(20) unsigned NOT NULL,
|
|
`petitionguid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`playerguid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`player_account` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`petitionguid`,`playerguid`),
|
|
KEY `Idx_playerguid` (`playerguid`),
|
|
KEY `Idx_ownerguid` (`ownerguid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `petition_sign`
|
|
--
|
|
|
|
LOCK TABLES `petition_sign` WRITE;
|
|
/*!40000 ALTER TABLE `petition_sign` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `petition_sign` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `pool_quest_save`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `pool_quest_save`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `pool_quest_save` (
|
|
`pool_id` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`quest_id` int(10) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`pool_id`,`quest_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `pool_quest_save`
|
|
--
|
|
|
|
LOCK TABLES `pool_quest_save` WRITE;
|
|
/*!40000 ALTER TABLE `pool_quest_save` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `pool_quest_save` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `pvpstats_battlegrounds`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `pvpstats_battlegrounds`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `pvpstats_battlegrounds` (
|
|
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
|
`winner_faction` tinyint(4) NOT NULL,
|
|
`bracket_id` tinyint(3) unsigned NOT NULL,
|
|
`type` tinyint(3) unsigned NOT NULL,
|
|
`date` datetime NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `pvpstats_battlegrounds`
|
|
--
|
|
|
|
LOCK TABLES `pvpstats_battlegrounds` WRITE;
|
|
/*!40000 ALTER TABLE `pvpstats_battlegrounds` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `pvpstats_battlegrounds` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `pvpstats_players`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `pvpstats_players`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `pvpstats_players` (
|
|
`battleground_id` bigint(20) unsigned NOT NULL,
|
|
`character_guid` bigint(20) unsigned NOT NULL,
|
|
`winner` bit(1) NOT NULL,
|
|
`score_killing_blows` mediumint(8) unsigned NOT NULL,
|
|
`score_deaths` mediumint(8) unsigned NOT NULL,
|
|
`score_honorable_kills` mediumint(8) unsigned NOT NULL,
|
|
`score_bonus_honor` mediumint(8) unsigned NOT NULL,
|
|
`score_damage_done` mediumint(8) unsigned NOT NULL,
|
|
`score_healing_done` mediumint(8) unsigned NOT NULL,
|
|
`attr_1` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
`attr_2` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
`attr_3` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
`attr_4` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
`attr_5` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`battleground_id`,`character_guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `pvpstats_players`
|
|
--
|
|
|
|
LOCK TABLES `pvpstats_players` WRITE;
|
|
/*!40000 ALTER TABLE `pvpstats_players` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `pvpstats_players` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `quest_tracker`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `quest_tracker`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `quest_tracker` (
|
|
`id` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
|
`character_guid` bigint(20) unsigned NOT NULL DEFAULT '0',
|
|
`quest_accept_time` datetime NOT NULL,
|
|
`quest_complete_time` datetime DEFAULT NULL,
|
|
`quest_abandon_time` datetime DEFAULT NULL,
|
|
`completed_by_gm` tinyint(1) NOT NULL DEFAULT '0',
|
|
`core_hash` varchar(120) NOT NULL DEFAULT '0',
|
|
`core_revision` varchar(120) NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`,`character_guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `quest_tracker`
|
|
--
|
|
|
|
LOCK TABLES `quest_tracker` WRITE;
|
|
/*!40000 ALTER TABLE `quest_tracker` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `quest_tracker` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `reserved_name`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `reserved_name`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `reserved_name` (
|
|
`name` varchar(12) NOT NULL DEFAULT '',
|
|
PRIMARY KEY (`name`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player Reserved Names';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `reserved_name`
|
|
--
|
|
|
|
LOCK TABLES `reserved_name` WRITE;
|
|
/*!40000 ALTER TABLE `reserved_name` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `reserved_name` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `updates`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `updates`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `updates` (
|
|
`name` varchar(200) NOT NULL COMMENT 'filename with extension of the update.',
|
|
`hash` char(40) DEFAULT '' COMMENT 'sha1 hash of the sql file.',
|
|
`state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.',
|
|
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.',
|
|
`speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.',
|
|
PRIMARY KEY (`name`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of all applied updates in this database.';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `updates`
|
|
--
|
|
|
|
LOCK TABLES `updates` WRITE;
|
|
/*!40000 ALTER TABLE `updates` DISABLE KEYS */;
|
|
INSERT INTO `updates` VALUES ('2014_10_20_00_characters.sql','A5882DA0979CF4DAE33DA011EBAA006C24BE7230','ARCHIVED','2015-03-21 15:55:55',0),('2014_10_23_00_characters.sql','E2AC4758133EE19B7F08464A445802154D1261C8','ARCHIVED','2015-03-21 15:55:55',0),('2014_10_23_01_characters.sql','20029E6323D9773B32C34D84FFED1711CC60F09F','ARCHIVED','2015-03-21 15:55:55',0),('2014_10_23_02_characters.sql','8A7A16886EE71E7ACDDB3DDA6D0ECAC2FD2FDCA8','ARCHIVED','2015-03-21 15:55:55',0),('2014_10_24_00_characters.sql','D008FE81AE844FCA686439D6ECC5108FB0DD1EB9','ARCHIVED','2015-03-21 15:55:55',0),('2014_10_25_00_characters.sql','A39C7BE46686B54776BDAB9D7A882D91EDEC51A4','ARCHIVED','2015-03-21 15:55:55',0),('2014_10_26_00_characters.sql','C787954CC35FE34B4101FDE6527F14C027F4947C','ARCHIVED','2015-03-21 15:55:55',0),('2014_11_12_00_characters.sql','B160BB2313F1BD5F3B076A5A9279DC10D4796E34','ARCHIVED','2015-03-21 15:55:55',0),('2014_12_23_00_characters.sql','3D9D648B2387B357F4BD090B33F80682F7924882','ARCHIVED','2015-03-21 15:55:55',0),('2014_12_28_00_characters.sql','5362922FF4483A336311D73082A5727309CD9219','ARCHIVED','2015-03-21 15:55:55',0),('2014_12_31_00_characters.sql','498DDF2DD936CF156D74A8208DC93DCE9FCAB5AA','ARCHIVED','2015-03-21 15:55:55',0),('2015_01_02_00_characters.sql','E5940BE836F253982E07930120422E598D08BDE1','ARCHIVED','2015-03-21 15:55:55',0),('2015_01_10_00_characters.sql','30796056C8623699B2FE1BF626A19D38262E9284','ARCHIVED','2015-03-21 15:55:55',0),('2015_01_16_00_characters.sql','96642760A54C8D799AAFE438049A63AA521656F2','ARCHIVED','2015-03-21 15:55:55',0),('2015_01_27_00_characters.sql','EB710E3EB9F2CAFD84AB62CDC84E898403A80A4F','ARCHIVED','2015-03-21 15:55:55',0),('2015_02_13_00_characters.sql','405BEB4ED207DC6076442A37EE2AFB1F21E274A0','ARCHIVED','2015-03-21 15:55:55',0),('2015_02_13_01_characters.sql','35F582D4F33BF55D1685A1BA89273ED895FD09C5','ARCHIVED','2015-03-21 15:55:55',0),('2015_02_17_00_characters.sql','8D21FC5A55BF8B55D6DCDCE5F02CF2B640230E94','ARCHIVED','2015-03-21 15:55:55',0),('2015_03_10_00_characters.sql','E565B89B145C340067742DFF2DEF1B74F5F1BD4E','ARCHIVED','2015-03-21 15:55:55',0),('2015_03_20_00_characters.sql','B761760804EA73BD297F296C5C1919687DF7191C','ARCHIVED','2015-03-21 15:55:55',0),('2015_03_20_01_characters.sql','20BD68468C57FCF7E665B4DA185DCD52FACE8B3F','ARCHIVED','2015-03-21 15:55:55',0),('2015_03_20_02_characters.sql','0296995DCD3676BA9AE6024CA7C91C5F39D927A3','ARCHIVED','2015-03-21 15:56:46',0),('2015_03_29_00_characters.sql','95D6A46BB746A8BD3EE3FE2086DF1A07F7C33B92','ARCHIVED','2015-05-02 15:43:06',0),('2015_04_21_00_characters.sql','F2032B9BF4EDA7EDE5065554724ED392FD91657D','ARCHIVED','2015-05-02 15:43:06',0),('2015_04_28_00_characters.sql','949F62DB3A3461D420A1230ECF7A6A3ED6435703','ARCHIVED','2015-05-02 15:43:06',0),('2015_05_08_00_characters.sql','0F14B7821618D1C872625B6EDDAA9A667B211167','ARCHIVED','2015-07-10 19:32:17',0),('2015_05_22_00_characters.sql','65B82152413FAB23BE413656E59A486A74447FF7','ARCHIVED','2015-07-10 19:32:17',0),('2015_07_08_00_characters.sql','DAB25360ACB5244C8F8E6214CF6BD97160588A5B','ARCHIVED','2015-07-10 19:32:17',0),('2015_07_11_00_characters.sql','B421B6C0E57BD0FD587071358863D9DABF4BA849','ARCHIVED','2015-07-13 21:50:02',0),('2015_07_12_00_characters.sql','E98E7FD61EF6426E7EDE8ED9AD8C15D8D7132589','ARCHIVED','2015-07-13 21:50:02',0),('2015_07_28_00_characters.sql','0711BC3A658D189EF71B0CB68DCFF2E9B781C4A0','ARCHIVED','2015-07-29 16:23:56',0),('2015_08_08_00_characters.sql','EA12BB2DC24FAF2300A96D0888A45BBEA158D5DC','ARCHIVED','2015-08-08 16:34:07',0),('2015_08_12_00_characters.sql','4FD7F89FE5DA51D4E0C33E520719986AA3EBD31B','ARCHIVED','2015-08-12 12:35:20',0),('2015_09_05_00_characters.sql','4C22BB29365BE4B6B95E64DAD84B63CA002304EA','ARCHIVED','2015-09-05 12:35:20',0),('2015_09_09_00_characters.sql','AFC32E693BC17CFD9A17919FE5317B8FE337ACAD','ARCHIVED','2015-09-09 12:35:20',0),('2015_09_10_00_characters.sql','4555A7F35C107E54C13D74D20F141039ED42943E','ARCHIVED','2015-09-10 22:50:42',0),('2015_10_16_00_characters.sql','E3A3FFF0CB42F04A8DCF0CE4362143C16E2083AF','ARCHIVED','2015-10-15 21:54:11',0),('2015_11_06_00_characters_2015_10_12_00.sql','D6F9927BDED72AD0A81D6EC2C6500CBC34A39FA2','ARCHIVED','2015-11-06 23:43:27',0),('2015_11_08_00_characters.sql','0ACDD35EC9745231BCFA701B78056DEF94D0CC53','ARCHIVED','2015-11-08 00:51:45',15),('2015_11_23_00_characters.sql','9FC828E9E48E8E2E9B99A5A0073D6614C5BFC6B5','ARCHIVED','2015-11-22 23:27:34',0),('2016_01_05_00_characters.sql','0EAD24977F40DE2476B4567DA2B477867CC0DA1A','ARCHIVED','2016-01-04 23:07:40',0),('2016_04_05_00_characters_2016_02_10_00_characters.sql','F1B4DA202819CABC7319A4470A2D224A34609E97','ARCHIVED','2016-04-05 20:34:41',0),('2016_04_11_00_characters.sql','0ACDD35EC9745231BCFA701B78056DEF94D0CC53','RELEASED','2016-04-11 02:24:14',30),('2016_04_11_01_characters.sql','CA90F6D99C1EEA7B25BD58BC8368A8D78234BBEF','RELEASED','2016-04-11 18:14:18',0),('2016_05_07_00_characters.sql','D1DB5557B21A552C935564D829B4E98B98149077','RELEASED','2016-05-07 00:00:00',0),('2016_05_26_00_characters.sql','4179ADC32B96FD8D7D4CF5509A470B1ACE00BE85','RELEASED','2016-05-26 17:06:16',0);
|
|
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `updates_include`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `updates_include`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `updates_include` (
|
|
`path` varchar(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
|
|
`state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.',
|
|
PRIMARY KEY (`path`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of directories where we want to include sql updates.';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `updates_include`
|
|
--
|
|
|
|
LOCK TABLES `updates_include` WRITE;
|
|
/*!40000 ALTER TABLE `updates_include` DISABLE KEYS */;
|
|
INSERT INTO `updates_include` VALUES ('$/sql/updates/characters','RELEASED'),('$/sql/custom/characters','RELEASED'),('$/sql/old/6.x/characters','ARCHIVED');
|
|
/*!40000 ALTER TABLE `updates_include` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `warden_action`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `warden_action`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `warden_action` (
|
|
`wardenId` smallint(5) unsigned NOT NULL,
|
|
`action` tinyint(3) unsigned DEFAULT NULL,
|
|
PRIMARY KEY (`wardenId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `warden_action`
|
|
--
|
|
|
|
LOCK TABLES `warden_action` WRITE;
|
|
/*!40000 ALTER TABLE `warden_action` DISABLE KEYS */;
|
|
/*!40000 ALTER TABLE `warden_action` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
--
|
|
-- Table structure for table `worldstates`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `worldstates`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!40101 SET character_set_client = utf8 */;
|
|
CREATE TABLE `worldstates` (
|
|
`entry` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`value` int(10) unsigned NOT NULL DEFAULT '0',
|
|
`comment` tinytext,
|
|
PRIMARY KEY (`entry`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Variable Saves';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `worldstates`
|
|
--
|
|
|
|
LOCK TABLES `worldstates` WRITE;
|
|
/*!40000 ALTER TABLE `worldstates` DISABLE KEYS */;
|
|
INSERT INTO `worldstates` VALUES (20001,0,'NextArenaPointDistributionTime'),(20002,0,'NextWeeklyQuestResetTime'),(20003,0,'NextBGRandomDailyResetTime'),(20004,0,'cleaning_flags');
|
|
/*!40000 ALTER TABLE `worldstates` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
-- Dump completed on 2016-04-11 3:26:26
|