cmangos-tbc/sql/base/characters.sql

1792 lines
61 KiB
SQL

-- MySQL dump 10.13
--
-- Host: localhost Database: characters
-- ------------------------------------------------------
-- Server version 5.5.32
/*!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 `character_db_version`
--
DROP TABLE IF EXISTS `character_db_version`;
CREATE TABLE `character_db_version` (
`required_s2473_01_characters_item_instance_text_id_fix` bit(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
--
-- Dumping data for table `character_db_version`
--
LOCK TABLES `character_db_version` WRITE;
/*!40000 ALTER TABLE `character_db_version` DISABLE KEYS */;
INSERT INTO `character_db_version` VALUES
(NULL);
/*!40000 ALTER TABLE `character_db_version` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ahbot_items`
--
DROP TABLE IF EXISTS `ahbot_items`;
CREATE TABLE `ahbot_items` (
`item` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Identifier',
`value` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Item value, a value of 0 bans item from being sold/bought by AHBot',
`add_chance` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Chance item is added to AH upon bot visit, 0 for normal loot sources',
`min_amount` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Min amount added, not used when add_chance is 0',
`max_amount` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Max amount added, not used when add_chance is 0',
PRIMARY KEY (`item`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='AuctionHouseBot overridden item settings';
--
-- Table structure for table `account_data`
--
DROP TABLE IF EXISTS `account_data`;
CREATE TABLE `account_data` (
`account` int(11) unsigned NOT NULL DEFAULT '0',
`type` int(11) unsigned NOT NULL DEFAULT '0',
`time` bigint(11) unsigned NOT NULL DEFAULT '0',
`data` longblob NOT NULL,
PRIMARY KEY (`account`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- 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_instances_entered`
--
DROP TABLE IF EXISTS `account_instances_entered`;
CREATE TABLE `account_instances_entered` (
`AccountId` INT(11) UNSIGNED NOT NULL COMMENT 'Player account',
`ExpireTime` BIGINT(40) NOT NULL COMMENT 'Time when instance was entered',
`InstanceId` INT(11) UNSIGNED NOT NULL COMMENT 'ID of instance entered',
PRIMARY KEY(`AccountId`,`InstanceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='Instance reset limit system';
--
-- Dumping data for table `account_instances_entered`
--
LOCK TABLES `account_instances_entered` WRITE;
/*!40000 ALTER TABLE `account_instances_entered` DISABLE KEYS */;
/*!40000 ALTER TABLE `account_instances_entered` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `arena_team`
--
DROP TABLE IF EXISTS `arena_team`;
CREATE TABLE `arena_team` (
`arenateamid` int(10) unsigned NOT NULL DEFAULT '0',
`name` char(255) NOT NULL,
`captainguid` int(10) unsigned NOT NULL DEFAULT '0',
`type` tinyint(3) unsigned NOT NULL DEFAULT '0',
`BackgroundColor` int(10) unsigned NOT NULL DEFAULT '0',
`EmblemStyle` int(10) unsigned NOT NULL DEFAULT '0',
`EmblemColor` int(10) unsigned NOT NULL DEFAULT '0',
`BorderStyle` int(10) unsigned NOT NULL DEFAULT '0',
`BorderColor` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`arenateamid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- 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`;
CREATE TABLE `arena_team_member` (
`arenateamid` int(10) unsigned NOT NULL DEFAULT '0',
`guid` int(10) unsigned NOT NULL DEFAULT '0',
`played_week` int(10) unsigned NOT NULL DEFAULT '0',
`wons_week` int(10) unsigned NOT NULL DEFAULT '0',
`played_season` int(10) unsigned NOT NULL DEFAULT '0',
`wons_season` int(10) unsigned NOT NULL DEFAULT '0',
`personal_rating` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`arenateamid`,`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- 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 `arena_team_stats`
--
DROP TABLE IF EXISTS `arena_team_stats`;
CREATE TABLE `arena_team_stats` (
`arenateamid` int(10) unsigned NOT NULL DEFAULT '0',
`rating` int(10) unsigned NOT NULL DEFAULT '0',
`games_week` int(10) unsigned NOT NULL DEFAULT '0',
`wins_week` int(10) unsigned NOT NULL DEFAULT '0',
`games_season` int(10) unsigned NOT NULL DEFAULT '0',
`wins_season` int(10) unsigned NOT NULL DEFAULT '0',
`rank` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`arenateamid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `arena_team_stats`
--
LOCK TABLES `arena_team_stats` WRITE;
/*!40000 ALTER TABLE `arena_team_stats` DISABLE KEYS */;
/*!40000 ALTER TABLE `arena_team_stats` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `auction`
--
DROP TABLE IF EXISTS `auction`;
CREATE TABLE `auction` (
`id` int(11) unsigned NOT NULL DEFAULT '0',
`houseid` int(11) unsigned NOT NULL DEFAULT '0',
`itemguid` int(11) unsigned NOT NULL DEFAULT '0',
`item_template` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Identifier',
`item_count` int(11) unsigned NOT NULL DEFAULT '0',
`item_randompropertyid` int(11) NOT NULL DEFAULT '0',
`itemowner` int(11) unsigned NOT NULL DEFAULT '0',
`buyoutprice` int(11) NOT NULL DEFAULT '0',
`time` bigint(40) unsigned NOT NULL DEFAULT '0',
`buyguid` int(11) unsigned NOT NULL DEFAULT '0',
`lastbid` int(11) NOT NULL DEFAULT '0',
`startbid` int(11) NOT NULL DEFAULT '0',
`deposit` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `auction`
--
LOCK TABLES `auction` WRITE;
/*!40000 ALTER TABLE `auction` DISABLE KEYS */;
/*!40000 ALTER TABLE `auction` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `bugreport`
--
DROP TABLE IF EXISTS `bugreport`;
CREATE TABLE `bugreport` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`type` longtext NOT NULL,
`content` longtext NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Debug System';
--
-- 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 `character_account_data`
--
DROP TABLE IF EXISTS `character_account_data`;
CREATE TABLE `character_account_data` (
`guid` int(11) unsigned NOT NULL DEFAULT '0',
`type` int(11) unsigned NOT NULL DEFAULT '0',
`time` bigint(11) unsigned NOT NULL DEFAULT '0',
`data` longblob NOT NULL,
PRIMARY KEY (`guid`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Table structure for table `character_action`
--
DROP TABLE IF EXISTS `character_action`;
CREATE TABLE `character_action` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`button` tinyint(3) unsigned NOT NULL DEFAULT '0',
`action` int(11) unsigned NOT NULL DEFAULT '0',
`type` tinyint(3) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`button`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- 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_aura`
--
DROP TABLE IF EXISTS `character_aura`;
CREATE TABLE `character_aura` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`caster_guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier',
`item_guid` int(11) unsigned NOT NULL DEFAULT '0',
`spell` int(11) unsigned NOT NULL DEFAULT '0',
`stackcount` int(11) unsigned NOT NULL DEFAULT '1',
`remaincharges` int(11) unsigned NOT NULL DEFAULT '0',
`basepoints0` int(11) NOT NULL DEFAULT '0',
`basepoints1` int(11) NOT NULL DEFAULT '0',
`basepoints2` int(11) NOT NULL DEFAULT '0',
`periodictime0` int(11) unsigned NOT NULL DEFAULT '0',
`periodictime1` int(11) unsigned NOT NULL DEFAULT '0',
`periodictime2` int(11) unsigned NOT NULL DEFAULT '0',
`maxduration` int(11) NOT NULL DEFAULT '0',
`remaintime` int(11) NOT NULL DEFAULT '0',
`effIndexMask` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`caster_guid`,`item_guid`,`spell`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- 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_battleground_data`
--
DROP TABLE IF EXISTS `character_battleground_data`;
CREATE TABLE `character_battleground_data` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`instance_id` int(11) unsigned NOT NULL DEFAULT '0',
`team` int(11) unsigned NOT NULL DEFAULT '0',
`join_x` float NOT NULL DEFAULT '0',
`join_y` float NOT NULL DEFAULT '0',
`join_z` float NOT NULL DEFAULT '0',
`join_o` float NOT NULL DEFAULT '0',
`join_map` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- 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_declinedname`
--
DROP TABLE IF EXISTS `character_declinedname`;
CREATE TABLE `character_declinedname` (
`guid` int(11) 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 ROW_FORMAT=DYNAMIC;
--
-- 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_gifts`
--
DROP TABLE IF EXISTS `character_gifts`;
CREATE TABLE `character_gifts` (
`guid` int(20) unsigned NOT NULL DEFAULT '0',
`item_guid` int(11) unsigned NOT NULL DEFAULT '0',
`entry` int(20) unsigned NOT NULL DEFAULT '0',
`flags` int(20) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`item_guid`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- 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_homebind`
--
DROP TABLE IF EXISTS `character_homebind`;
CREATE TABLE `character_homebind` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`map` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
`zone` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Zone Identifier',
`position_x` float NOT NULL DEFAULT '0',
`position_y` float NOT NULL DEFAULT '0',
`position_z` float NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- 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`;
CREATE TABLE `character_instance` (
`guid` int(11) unsigned NOT NULL DEFAULT '0',
`instance` int(11) unsigned NOT NULL DEFAULT '0',
`permanent` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`instance`),
KEY `instance` (`instance`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- 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`;
CREATE TABLE `character_inventory` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`bag` int(11) unsigned NOT NULL DEFAULT '0',
`slot` tinyint(3) unsigned NOT NULL DEFAULT '0',
`item` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Global Unique Identifier',
`item_template` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Identifier',
PRIMARY KEY (`item`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- 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`;
CREATE TABLE `character_pet` (
`id` int(11) unsigned NOT NULL DEFAULT '0',
`entry` int(11) unsigned NOT NULL DEFAULT '0',
`owner` int(11) unsigned NOT NULL DEFAULT '0',
`modelid` int(11) unsigned DEFAULT '0',
`CreatedBySpell` int(11) unsigned NOT NULL DEFAULT '0',
`PetType` tinyint(3) unsigned NOT NULL DEFAULT '0',
`level` int(11) unsigned NOT NULL DEFAULT '1',
`exp` int(11) unsigned NOT NULL DEFAULT '0',
`Reactstate` tinyint(1) unsigned NOT NULL DEFAULT '0',
`loyaltypoints` int(11) NOT NULL DEFAULT '0',
`loyalty` int(11) unsigned NOT NULL DEFAULT '0',
`xpForNextLoyalty` int(11) unsigned NOT NULL default '0',
`trainpoint` int(11) NOT NULL DEFAULT '0',
`name` varchar(100) DEFAULT 'Pet',
`renamed` tinyint(1) unsigned NOT NULL DEFAULT '0',
`slot` int(11) unsigned NOT NULL DEFAULT '0',
`curhealth` int(11) unsigned NOT NULL DEFAULT '1',
`curmana` int(11) unsigned NOT NULL DEFAULT '0',
`curhappiness` int(11) unsigned NOT NULL DEFAULT '0',
`savetime` bigint(20) unsigned NOT NULL DEFAULT '0',
`resettalents_cost` int(11) unsigned NOT NULL DEFAULT '0',
`resettalents_time` bigint(20) unsigned NOT NULL DEFAULT '0',
`abdata` longtext,
`teachspelldata` longtext,
PRIMARY KEY (`id`),
KEY `owner` (`owner`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
--
-- 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`;
CREATE TABLE `character_pet_declinedname` (
`id` int(11) unsigned NOT NULL DEFAULT '0',
`owner` int(11) 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 ROW_FORMAT=DYNAMIC;
--
-- 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`;
CREATE TABLE `character_queststatus` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`quest` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
`status` int(11) unsigned NOT NULL DEFAULT '0',
`rewarded` tinyint(1) unsigned NOT NULL DEFAULT '0',
`explored` tinyint(1) unsigned NOT NULL DEFAULT '0',
`timer` bigint(20) unsigned NOT NULL DEFAULT '0',
`mobcount1` int(11) unsigned NOT NULL DEFAULT '0',
`mobcount2` int(11) unsigned NOT NULL DEFAULT '0',
`mobcount3` int(11) unsigned NOT NULL DEFAULT '0',
`mobcount4` int(11) unsigned NOT NULL DEFAULT '0',
`itemcount1` int(11) unsigned NOT NULL DEFAULT '0',
`itemcount2` int(11) unsigned NOT NULL DEFAULT '0',
`itemcount3` int(11) unsigned NOT NULL DEFAULT '0',
`itemcount4` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`quest`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- 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`;
CREATE TABLE `character_queststatus_daily` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`quest` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
PRIMARY KEY (`guid`,`quest`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- 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`;
CREATE TABLE `character_queststatus_monthly` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`quest` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
PRIMARY KEY (`guid`,`quest`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- 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_weekly`
--
DROP TABLE IF EXISTS `character_queststatus_weekly`;
CREATE TABLE `character_queststatus_weekly` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`quest` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
PRIMARY KEY (`guid`,`quest`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='Player System';
--
-- 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`;
CREATE TABLE `character_reputation` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`faction` int(11) unsigned NOT NULL DEFAULT '0',
`standing` int(11) NOT NULL DEFAULT '0',
`flags` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`faction`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- 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`;
CREATE TABLE `character_skills` (
`guid` int(11) unsigned NOT NULL COMMENT 'Global Unique Identifier',
`skill` mediumint(9) unsigned NOT NULL,
`value` mediumint(9) unsigned NOT NULL,
`max` mediumint(9) unsigned NOT NULL,
PRIMARY KEY (`guid`,`skill`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- 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`;
CREATE TABLE `character_social` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
`friend` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Friend Global Unique Identifier',
`flags` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'Friend Flags',
`note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note',
PRIMARY KEY (`guid`,`friend`,`flags`),
KEY `guid_flags` (`guid`,`flags`),
KEY `friend_flags` (`friend`,`flags`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- 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`;
CREATE TABLE `character_spell` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`spell` int(11) 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`),
KEY `Idx_spell` (`spell`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- 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_cooldown`
--
DROP TABLE IF EXISTS `character_spell_cooldown`;
CREATE TABLE `character_spell_cooldown` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part',
`SpellId` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier',
`SpellExpireTime` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell cooldown expire time',
`Category` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell category',
`CategoryExpireTime` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell category cooldown expire time',
`ItemId` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Identifier',
PRIMARY KEY (`guid`,`SpellId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
--
-- 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`;
CREATE TABLE `character_stats` (
`guid` int(11) 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',
`maxpower7` 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',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- 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_tutorial`
--
DROP TABLE IF EXISTS `character_tutorial`;
CREATE TABLE `character_tutorial` (
`account` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Account Identifier',
`tut0` int(11) unsigned NOT NULL DEFAULT '0',
`tut1` int(11) unsigned NOT NULL DEFAULT '0',
`tut2` int(11) unsigned NOT NULL DEFAULT '0',
`tut3` int(11) unsigned NOT NULL DEFAULT '0',
`tut4` int(11) unsigned NOT NULL DEFAULT '0',
`tut5` int(11) unsigned NOT NULL DEFAULT '0',
`tut6` int(11) unsigned NOT NULL DEFAULT '0',
`tut7` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`account`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- Dumping data for table `character_tutorial`
--
LOCK TABLES `character_tutorial` WRITE;
/*!40000 ALTER TABLE `character_tutorial` DISABLE KEYS */;
/*!40000 ALTER TABLE `character_tutorial` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `characters`
--
DROP TABLE IF EXISTS `characters`;
CREATE TABLE `characters` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`account` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
`name` varchar(12) NOT NULL DEFAULT '',
`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` int(10) unsigned NOT NULL DEFAULT '0',
`playerBytes` int(10) unsigned NOT NULL DEFAULT '0',
`playerBytes2` int(10) 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` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
`dungeon_difficulty` tinyint(1) unsigned NOT NULL DEFAULT '0',
`orientation` float NOT NULL DEFAULT '0',
`taximask` longtext,
`online` tinyint(3) unsigned NOT NULL DEFAULT '0',
`cinematic` tinyint(3) unsigned NOT NULL DEFAULT '0',
`totaltime` int(11) unsigned NOT NULL DEFAULT '0',
`leveltime` int(11) unsigned NOT NULL DEFAULT '0',
`logout_time` bigint(20) 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(11) unsigned NOT NULL DEFAULT '0',
`resettalents_time` bigint(20) unsigned NOT NULL DEFAULT '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` int(11) unsigned NOT NULL DEFAULT '0',
`stable_slots` tinyint(1) unsigned NOT NULL DEFAULT '0',
`at_login` int(11) unsigned NOT NULL DEFAULT '0',
`zone` int(11) unsigned NOT NULL DEFAULT '0',
`death_expire_time` bigint(20) unsigned NOT NULL DEFAULT '0',
`taxi_path` text,
`arenaPoints` int(10) unsigned NOT NULL DEFAULT '0',
`totalHonorPoints` int(10) unsigned NOT NULL DEFAULT '0',
`todayHonorPoints` int(10) unsigned NOT NULL DEFAULT '0',
`yesterdayHonorPoints` int(10) unsigned NOT NULL DEFAULT '0',
`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` smallint(5) 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',
`exploredZones` longtext,
`equipmentCache` longtext,
`ammoId` int(10) unsigned NOT NULL DEFAULT '0',
`knownTitles` longtext,
`actionBars` tinyint(3) unsigned NOT NULL DEFAULT '0',
`grantableLevels` INT UNSIGNED DEFAULT '0',
`fishingSteps` TINYINT UNSIGNED NOT NULL DEFAULT '0',
`deleteInfos_Account` int(11) unsigned DEFAULT NULL,
`deleteInfos_Name` varchar(12) DEFAULT NULL,
`deleteDate` bigint(20) unsigned DEFAULT NULL,
PRIMARY KEY (`guid`),
KEY `idx_account` (`account`),
KEY `idx_online` (`online`),
KEY `idx_name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
--
-- 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`;
CREATE TABLE `corpse` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`player` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
`position_x` float NOT NULL DEFAULT '0',
`position_y` float NOT NULL DEFAULT '0',
`position_z` float NOT NULL DEFAULT '0',
`orientation` float NOT NULL DEFAULT '0',
`map` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
`time` bigint(20) unsigned NOT NULL DEFAULT '0',
`corpse_type` tinyint(3) unsigned NOT NULL DEFAULT '0',
`instance` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`),
KEY `idx_type` (`corpse_type`),
KEY `instance` (`instance`),
KEY `Idx_player` (`player`),
KEY `Idx_time` (`time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Death System';
--
-- 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 `creature_respawn`
--
DROP TABLE IF EXISTS `creature_respawn`;
CREATE TABLE `creature_respawn` (
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`respawntime` bigint(20) unsigned NOT NULL DEFAULT '0',
`instance` mediumint(8) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`instance`),
KEY `instance` (`instance`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Grid Loading System';
--
-- 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 `event_group_chosen`
--
DROP TABLE IF EXISTS `event_group_chosen`;
CREATE TABLE `event_group_chosen` (
`eventGroup` mediumint(8) unsigned NOT NULL DEFAULT '0',
`entry` mediumint(8) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`eventGroup`,`entry`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Quest Group picked';
--
-- Dumping data for table `event_group_chosen`
--
LOCK TABLES `event_group_chosen` WRITE;
/*!40000 ALTER TABLE `event_group_chosen` DISABLE KEYS */;
/*!40000 ALTER TABLE `event_group_chosen` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `game_event_status`
--
DROP TABLE IF EXISTS `game_event_status`;
CREATE TABLE `game_event_status` (
`event` smallint(6) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`event`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Game event system';
--
-- Dumping data for table `game_event_status`
--
LOCK TABLES `game_event_status` WRITE;
/*!40000 ALTER TABLE `game_event_status` DISABLE KEYS */;
/*!40000 ALTER TABLE `game_event_status` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `gm_tickets`
--
DROP TABLE IF EXISTS `gm_tickets`;
CREATE TABLE `gm_tickets` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'GM Ticket\'s unique identifier',
`category` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT 'GM Ticket Category DBC entry\'s identifier',
`state` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'Ticket\'s current state',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'Ticket\'s current status',
`level` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'Ticket\'s security level',
`author_guid` int(11) unsigned NOT NULL COMMENT 'Player\'s character Global Unique Identifier',
`author_name` varchar(12) NOT NULL COMMENT 'Player\'s character name',
`locale` varchar(4) NOT NULL DEFAULT 'enUS' COMMENT 'Player\'s client locale name',
`mapid` int(4) unsigned NOT NULL DEFAULT '0' COMMENT 'Character\'s map identifier on submission',
`x` float NOT NULL DEFAULT '0' COMMENT 'Character\'s x coordinate on submission',
`y` float NOT NULL DEFAULT '0' COMMENT 'Character\'s y coordinate on submission',
`z` float NOT NULL DEFAULT '0' COMMENT 'Character\'s z coordinate on submission',
`o` float NOT NULL DEFAULT '0' COMMENT 'Character\'s orientation angle on submission',
`text` text NOT NULL COMMENT 'Ticket\'s message',
`created` bigint(40) unsigned NOT NULL COMMENT 'Timestamp: ticket created by a player',
`updated` bigint(40) unsigned NOT NULL DEFAULT 0 COMMENT 'Timestamp: ticket text\'s last update',
`seen` bigint(40) unsigned NOT NULL DEFAULT 0 COMMENT 'Timestamp: ticket\'s last time opened by a GM',
`answered` bigint(40) unsigned NOT NULL DEFAULT 0 COMMENT 'Timestamp: ticket\'s last time answered by a GM',
`closed` bigint(40) unsigned NOT NULL DEFAULT 0 COMMENT 'Timestamp: ticket closed by a GM',
`assignee_guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Assignee\'s character\'s Global Unique Identifier',
`assignee_name` varchar(12) NOT NULL DEFAULT '' COMMENT 'Assignee\'s character\'s name',
`conclusion` varchar(255) NOT NULL DEFAULT '' COMMENT 'Assignee\'s final conclusion on this ticket',
`notes` varchar(10000) NOT NULL DEFAULT '' COMMENT 'Additional notes for GMs',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='GM Tickets System';
--
-- Dumping data for table `gm_tickets`
--
LOCK TABLES `gm_tickets` WRITE;
/*!40000 ALTER TABLE `gm_tickets` DISABLE KEYS */;
/*!40000 ALTER TABLE `gm_tickets` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `gm_surveys`
--
DROP TABLE IF EXISTS `gm_surveys`;
CREATE TABLE `gm_surveys` (
`ticketid` int(11) unsigned NOT NULL COMMENT 'GM Ticket\'s unique identifier',
`surveyid` int(2) unsigned NOT NULL COMMENT 'Survey DBC entry\'s identifier',
`answer1` tinyint(2) unsigned,
`answer2` tinyint(2) unsigned,
`answer3` tinyint(2) unsigned,
`answer4` tinyint(2) unsigned,
`answer5` tinyint(2) unsigned,
`answer6` tinyint(2) unsigned,
`answer7` tinyint(2) unsigned,
`answer8` tinyint(2) unsigned,
`answer9` tinyint(2) unsigned,
`answer10` tinyint(2) unsigned,
`comment` text COMMENT 'Player\'s feedback',
PRIMARY KEY (`ticketid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='GM Tickets System';
--
-- Dumping data for table `gm_surveys`
--
LOCK TABLES `gm_surveys` WRITE;
/*!40000 ALTER TABLE `gm_surveys` DISABLE KEYS */;
/*!40000 ALTER TABLE `gm_surveys` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `gameobject_respawn`
--
DROP TABLE IF EXISTS `gameobject_respawn`;
CREATE TABLE `gameobject_respawn` (
`guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`respawntime` bigint(20) unsigned NOT NULL DEFAULT '0',
`instance` mediumint(8) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`instance`),
KEY `instance` (`instance`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Grid Loading System';
--
-- 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 `group_instance`
--
DROP TABLE IF EXISTS `group_instance`;
CREATE TABLE `group_instance` (
`leaderGuid` int(11) unsigned NOT NULL DEFAULT '0',
`instance` int(11) unsigned NOT NULL DEFAULT '0',
`permanent` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`leaderGuid`,`instance`),
KEY `instance` (`instance`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- 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`;
CREATE TABLE `group_member` (
`groupId` int(11) unsigned NOT NULL,
`memberGuid` int(11) unsigned NOT NULL,
`assistant` tinyint(1) unsigned NOT NULL,
`subgroup` smallint(6) unsigned NOT NULL,
PRIMARY KEY (`groupId`,`memberGuid`),
KEY `Idx_memberGuid` (`memberGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Groups';
--
-- 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`;
CREATE TABLE `groups` (
`groupId` int(11) unsigned NOT NULL,
`leaderGuid` int(11) unsigned NOT NULL,
`mainTank` int(11) unsigned NOT NULL,
`mainAssistant` int(11) unsigned NOT NULL,
`lootMethod` tinyint(4) unsigned NOT NULL,
`looterGuid` int(11) unsigned NOT NULL,
`lootThreshold` tinyint(4) unsigned NOT NULL,
`icon1` int(11) unsigned NOT NULL,
`icon2` int(11) unsigned NOT NULL,
`icon3` int(11) unsigned NOT NULL,
`icon4` int(11) unsigned NOT NULL,
`icon5` int(11) unsigned NOT NULL,
`icon6` int(11) unsigned NOT NULL,
`icon7` int(11) unsigned NOT NULL,
`icon8` int(11) unsigned NOT NULL,
`isRaid` tinyint(1) unsigned NOT NULL,
`difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`groupId`),
UNIQUE KEY `leaderGuid` (`leaderGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Groups';
--
-- 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`;
CREATE TABLE `guild` (
`guildid` int(6) unsigned NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL DEFAULT '',
`leaderguid` int(6) unsigned NOT NULL DEFAULT '0',
`EmblemStyle` int(5) NOT NULL DEFAULT '0',
`EmblemColor` int(5) NOT NULL DEFAULT '0',
`BorderStyle` int(5) NOT NULL DEFAULT '0',
`BorderColor` int(5) NOT NULL DEFAULT '0',
`BackgroundColor` int(5) NOT NULL DEFAULT '0',
`info` varchar(500) NOT NULL DEFAULT '',
`motd` varchar(128) NOT NULL DEFAULT '',
`createdate` bigint(20) unsigned NOT NULL DEFAULT '0',
`BankMoney` bigint(20) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guildid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
--
-- 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_bank_eventlog`
--
DROP TABLE IF EXISTS `guild_bank_eventlog`;
CREATE TABLE `guild_bank_eventlog` (
`guildid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Guild Identificator',
`LogGuid` int(11) 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` int(11) unsigned NOT NULL DEFAULT '0',
`ItemOrMoney` int(11) unsigned NOT NULL DEFAULT '0',
`ItemStackCount` tinyint(3) unsigned NOT NULL DEFAULT '0',
`DestTabId` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT 'Destination Tab Id',
`TimeStamp` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Event UNIX time',
PRIMARY KEY (`guildid`,`LogGuid`,`TabId`),
KEY `Idx_PlayerGuid` (`PlayerGuid`),
KEY `Idx_LogGuid` (`LogGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- 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`;
CREATE TABLE `guild_bank_item` (
`guildid` int(11) unsigned NOT NULL DEFAULT '0',
`TabId` tinyint(1) unsigned NOT NULL DEFAULT '0',
`SlotId` tinyint(3) unsigned NOT NULL DEFAULT '0',
`item_guid` int(11) unsigned NOT NULL DEFAULT '0',
`item_entry` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guildid`,`TabId`,`SlotId`),
KEY `Idx_item_guid` (`item_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- 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`;
CREATE TABLE `guild_bank_right` (
`guildid` int(11) unsigned NOT NULL DEFAULT '0',
`TabId` tinyint(1) unsigned NOT NULL DEFAULT '0',
`rid` int(11) unsigned NOT NULL DEFAULT '0',
`gbright` tinyint(3) unsigned NOT NULL DEFAULT '0',
`SlotPerDay` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guildid`,`TabId`,`rid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- 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`;
CREATE TABLE `guild_bank_tab` (
`guildid` int(11) unsigned NOT NULL DEFAULT '0',
`TabId` tinyint(1) unsigned NOT NULL DEFAULT '0',
`TabName` varchar(100) NOT NULL DEFAULT '',
`TabIcon` varchar(100) NOT NULL DEFAULT '',
`TabText` varchar(500) DEFAULT NULL,
PRIMARY KEY (`guildid`,`TabId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- 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`;
CREATE TABLE `guild_eventlog` (
`guildid` int(11) unsigned NOT NULL COMMENT 'Guild Identificator',
`LogGuid` int(11) unsigned NOT NULL COMMENT 'Log record identificator - auxiliary column',
`EventType` tinyint(1) unsigned NOT NULL COMMENT 'Event type',
`PlayerGuid1` int(11) unsigned NOT NULL COMMENT 'Player 1',
`PlayerGuid2` int(11) unsigned NOT NULL COMMENT 'Player 2',
`NewRank` tinyint(2) unsigned NOT NULL COMMENT 'New rank(in case promotion/demotion)',
`TimeStamp` bigint(20) 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';
--
-- 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_member`
--
DROP TABLE IF EXISTS `guild_member`;
CREATE TABLE `guild_member` (
`guildid` int(6) unsigned NOT NULL DEFAULT '0',
`guid` int(11) unsigned NOT NULL DEFAULT '0',
`rank` tinyint(2) unsigned NOT NULL DEFAULT '0',
`pnote` varchar(31) NOT NULL DEFAULT '',
`offnote` varchar(31) NOT NULL DEFAULT '',
`BankResetTimeMoney` int(11) unsigned NOT NULL DEFAULT '0',
`BankRemMoney` int(11) unsigned NOT NULL DEFAULT '0',
`BankResetTimeTab0` int(11) unsigned NOT NULL DEFAULT '0',
`BankRemSlotsTab0` int(11) unsigned NOT NULL DEFAULT '0',
`BankResetTimeTab1` int(11) unsigned NOT NULL DEFAULT '0',
`BankRemSlotsTab1` int(11) unsigned NOT NULL DEFAULT '0',
`BankResetTimeTab2` int(11) unsigned NOT NULL DEFAULT '0',
`BankRemSlotsTab2` int(11) unsigned NOT NULL DEFAULT '0',
`BankResetTimeTab3` int(11) unsigned NOT NULL DEFAULT '0',
`BankRemSlotsTab3` int(11) unsigned NOT NULL DEFAULT '0',
`BankResetTimeTab4` int(11) unsigned NOT NULL DEFAULT '0',
`BankRemSlotsTab4` int(11) unsigned NOT NULL DEFAULT '0',
`BankResetTimeTab5` int(11) unsigned NOT NULL DEFAULT '0',
`BankRemSlotsTab5` int(11) unsigned NOT NULL DEFAULT '0',
UNIQUE KEY `guid_key` (`guid`),
KEY `guildid_rank_key` (`guildid`,`rank`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
--
-- 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_rank`
--
DROP TABLE IF EXISTS `guild_rank`;
CREATE TABLE `guild_rank` (
`guildid` int(6) unsigned NOT NULL DEFAULT '0',
`rid` int(11) unsigned NOT NULL,
`rname` varchar(255) NOT NULL DEFAULT '',
`rights` int(3) unsigned NOT NULL DEFAULT '0',
`BankMoneyPerDay` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guildid`,`rid`),
KEY `Idx_rid` (`rid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
--
-- 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`;
CREATE TABLE `instance` (
`id` int(11) unsigned NOT NULL DEFAULT '0',
`map` int(11) unsigned NOT NULL DEFAULT '0',
`resettime` bigint(40) unsigned NOT NULL DEFAULT '0',
`encountersMask` int(10) unsigned NOT NULL DEFAULT '0',
`difficulty` tinyint(1) unsigned NOT NULL DEFAULT '0',
`data` longtext,
PRIMARY KEY (`id`),
KEY `map` (`map`),
KEY `resettime` (`resettime`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- 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`;
CREATE TABLE `instance_reset` (
`mapid` int(11) unsigned NOT NULL DEFAULT '0',
`resettime` bigint(40) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`mapid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `instance_reset`
--
LOCK TABLES `instance_reset` WRITE;
/*!40000 ALTER TABLE `instance_reset` DISABLE KEYS */;
/*!40000 ALTER TABLE `instance_reset` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `item_instance`
--
DROP TABLE IF EXISTS `item_instance`;
CREATE TABLE `item_instance` (
`guid` int(11) unsigned NOT NULL DEFAULT '0',
`owner_guid` int(11) unsigned NOT NULL DEFAULT '0',
`itemEntry` mediumint(8) unsigned NOT NULL DEFAULT '0',
`creatorGuid` int(10) unsigned NOT NULL default '0',
`giftCreatorGuid` int(10) unsigned NOT NULL default '0',
`count` int(10) unsigned NOT NULL default '1',
`duration` int(10) unsigned NOT NULL default '0',
`charges` text NOT NULL,
`flags` int(8) unsigned NOT NULL default '0',
`enchantments` text NOT NULL,
`randomPropertyId` smallint(5) NOT NULL default '0',
`durability` int(5) unsigned NOT NULL default '0',
`itemTextId` int(8) unsigned NOT NULL default '0',
PRIMARY KEY (`guid`),
KEY `idx_owner_guid` (`owner_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item System';
--
-- 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`
--
DROP TABLE IF EXISTS `item_loot`;
CREATE TABLE `item_loot` (
`guid` int(11) unsigned NOT NULL DEFAULT '0',
`owner_guid` int(11) unsigned NOT NULL DEFAULT '0',
`itemid` int(11) unsigned NOT NULL DEFAULT '0',
`amount` int(11) unsigned NOT NULL DEFAULT '0',
`suffix` int(11) unsigned NOT NULL DEFAULT '0',
`property` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`itemid`),
KEY `idx_owner_guid` (`owner_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item System';
--
-- Dumping data for table `item_loot`
--
LOCK TABLES `item_loot` WRITE;
/*!40000 ALTER TABLE `item_loot` DISABLE KEYS */;
/*!40000 ALTER TABLE `item_loot` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `item_text`
--
DROP TABLE IF EXISTS `item_text`;
CREATE TABLE `item_text` (
`id` int(11) unsigned NOT NULL DEFAULT '0',
`text` longtext,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item System';
--
-- Dumping data for table `item_text`
--
LOCK TABLES `item_text` WRITE;
/*!40000 ALTER TABLE `item_text` DISABLE KEYS */;
/*!40000 ALTER TABLE `item_text` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `mail`
--
DROP TABLE IF EXISTS `mail`;
CREATE TABLE `mail` (
`id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier',
`messageType` tinyint(3) unsigned NOT NULL DEFAULT '0',
`stationery` tinyint(3) NOT NULL DEFAULT '41',
`mailTemplateId` mediumint(8) unsigned NOT NULL DEFAULT '0',
`sender` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
`receiver` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
`subject` longtext,
`itemTextId` int(11) unsigned NOT NULL DEFAULT '0',
`has_items` tinyint(3) unsigned NOT NULL DEFAULT '0',
`expire_time` bigint(40) unsigned NOT NULL DEFAULT '0',
`deliver_time` bigint(40) unsigned NOT NULL DEFAULT '0',
`money` int(11) unsigned NOT NULL DEFAULT '0',
`cod` int(11) 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 ROW_FORMAT=DYNAMIC COMMENT='Mail System';
--
-- 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`;
CREATE TABLE `mail_items` (
`mail_id` int(11) NOT NULL DEFAULT '0',
`item_guid` int(11) NOT NULL DEFAULT '0',
`item_template` int(11) NOT NULL DEFAULT '0',
`receiver` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
PRIMARY KEY (`mail_id`,`item_guid`),
KEY `idx_receiver` (`receiver`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
--
-- 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`;
CREATE TABLE `pet_aura` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`caster_guid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier',
`item_guid` int(11) unsigned NOT NULL DEFAULT '0',
`spell` int(11) unsigned NOT NULL DEFAULT '0',
`stackcount` int(11) unsigned NOT NULL DEFAULT '1',
`remaincharges` int(11) unsigned NOT NULL DEFAULT '0',
`basepoints0` int(11) NOT NULL DEFAULT '0',
`basepoints1` int(11) NOT NULL DEFAULT '0',
`basepoints2` int(11) NOT NULL DEFAULT '0',
`periodictime0` int(11) unsigned NOT NULL DEFAULT '0',
`periodictime1` int(11) unsigned NOT NULL DEFAULT '0',
`periodictime2` int(11) unsigned NOT NULL DEFAULT '0',
`maxduration` int(11) NOT NULL DEFAULT '0',
`remaintime` int(11) NOT NULL DEFAULT '0',
`effIndexMask` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`caster_guid`,`item_guid`,`spell`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
--
-- 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_spell`
--
DROP TABLE IF EXISTS `pet_spell`;
CREATE TABLE `pet_spell` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`spell` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier',
`active` int(11) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`spell`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
--
-- 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_cooldown`
--
DROP TABLE IF EXISTS `pet_spell_cooldown`;
CREATE TABLE `pet_spell_cooldown` (
`guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part',
`spell` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier',
`time` bigint(20) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`spell`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- 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`;
CREATE TABLE `petition` (
`ownerguid` int(10) unsigned NOT NULL,
`petitionguid` int(10) unsigned DEFAULT '0',
`name` varchar(255) NOT NULL DEFAULT '',
`type` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`ownerguid`,`type`),
UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
--
-- 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`;
CREATE TABLE `petition_sign` (
`ownerguid` int(10) unsigned NOT NULL,
`petitionguid` int(11) unsigned NOT NULL DEFAULT '0',
`playerguid` int(11) unsigned NOT NULL DEFAULT '0',
`player_account` int(11) unsigned NOT NULL DEFAULT '0',
`type` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`petitionguid`,`playerguid`),
KEY `Idx_playerguid` (`playerguid`),
KEY `Idx_ownerguid` (`ownerguid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
-- ----------------------------
-- Table structure for `playerbot_saved_data`
-- ----------------------------
DROP TABLE IF EXISTS `playerbot_saved_data`;
CREATE TABLE `playerbot_saved_data` (
`guid` int(11) unsigned NOT NULL DEFAULT '0',
`combat_order` tinyint(3) unsigned NOT NULL DEFAULT '0',
`primary_target` int(11) unsigned NOT NULL DEFAULT '0',
`secondary_target` int(11) unsigned NOT NULL DEFAULT '0',
`pname` varchar(12) NOT NULL DEFAULT '',
`sname` varchar(12) NOT NULL DEFAULT '',
`combat_delay` INT(11) unsigned NOT NULL DEFAULT '0',
`auto_follow` INT(11) unsigned NOT NULL DEFAULT '1',
`autoequip` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Persistent Playerbot settings per alt';
--
-- 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 `pvpstats_battlegrounds`
--
DROP TABLE IF EXISTS `pvpstats_battlegrounds`;
CREATE TABLE `pvpstats_battlegrounds` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`winner_team` tinyint(3) NOT NULL,
`bracket_id` tinyint(3) unsigned NOT NULL,
`type` tinyint(3) unsigned NOT NULL,
`date` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB;
--
-- 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`;
CREATE TABLE `pvpstats_players` (
`battleground_id` bigint(20) unsigned NOT NULL,
`character_guid` int(10) unsigned 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;
--
-- 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 `saved_variables`
--
DROP TABLE IF EXISTS `saved_variables`;
CREATE TABLE `saved_variables` (
`NextArenaPointDistributionTime` bigint(40) unsigned NOT NULL DEFAULT '0',
`NextDailyQuestResetTime` bigint(40) unsigned NOT NULL DEFAULT '0',
`NextWeeklyQuestResetTime` bigint(40) unsigned NOT NULL DEFAULT '0',
`NextMonthlyQuestResetTime` bigint(40) unsigned NOT NULL DEFAULT '0',
`cleaning_flags` int(11) unsigned NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Variable Saves';
--
-- Dumping data for table `saved_variables`
--
LOCK TABLES `saved_variables` WRITE;
/*!40000 ALTER TABLE `saved_variables` DISABLE KEYS */;
/*!40000 ALTER TABLE `saved_variables` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `world`
--
DROP TABLE IF EXISTS `world`;
CREATE TABLE `world` (
`map` int(11) unsigned NOT NULL DEFAULT '0',
`data` longtext,
PRIMARY KEY (`map`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `world`
--
LOCK TABLES `world` WRITE;
/*!40000 ALTER TABLE `world` DISABLE KEYS */;
/*!40000 ALTER TABLE `world` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
DROP TABLE IF EXISTS world_state;
CREATE TABLE world_state(
Id INT(11) UNSIGNED NOT NULL COMMENT 'Internal save ID',
Data longtext,
PRIMARY KEY(`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='WorldState save system';
/*!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 2013-09-10 0:00:00