Files
Nico 3a6c0b5575
clang PCH / build (push) Has been cancelled
GCC PCH / build (push) Has been cancelled
docs(database): add current Vcore MariaDB schemas
2026-10-08 10:37:27 +02:00

1582 lines
79 KiB
SQL

/*M!999999\- enable the sandbox mode */
/*!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 utf8mb4 */;
/*!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 */;
DROP TABLE IF EXISTS `account_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `account_instance_times`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `account_tutorial`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `addons`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `addons` (
`name` varchar(120) NOT NULL DEFAULT '',
`crc` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Addons';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `arena_team`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `arena_team` (
`arenaTeamId` int(10) unsigned NOT NULL DEFAULT 0,
`name` varchar(24) NOT NULL,
`captainGuid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `arena_team_member`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `arena_team_member` (
`arenaTeamId` int(10) unsigned NOT NULL DEFAULT 0,
`guid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `auctionbidders`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `auctionbidders` (
`id` int(10) unsigned NOT NULL DEFAULT 0,
`bidderguid` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`,`bidderguid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `auctionhouse`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `auctionhouse` (
`id` int(10) unsigned NOT NULL DEFAULT 0,
`houseid` tinyint(3) unsigned NOT NULL DEFAULT 7,
`itemguid` int(10) unsigned NOT NULL DEFAULT 0,
`itemowner` int(10) unsigned NOT NULL DEFAULT 0,
`buyoutprice` bigint(20) unsigned NOT NULL DEFAULT 0,
`time` int(10) unsigned NOT NULL DEFAULT 0,
`buyguid` int(10) unsigned NOT NULL DEFAULT 0,
`lastbid` bigint(20) unsigned NOT NULL DEFAULT 0,
`startbid` bigint(20) unsigned NOT NULL DEFAULT 0,
`deposit` bigint(20) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
UNIQUE KEY `item_guid` (`itemguid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `banned_addons`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `battleground_deserters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `battleground_deserters` (
`guid` int(10) unsigned NOT NULL COMMENT 'characters.guid',
`type` tinyint(3) unsigned NOT NULL COMMENT 'type of the desertion',
`datetime` datetime NOT NULL COMMENT 'datetime of the desertion'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `bugreport`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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 AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Debug System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `calendar_events`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `calendar_events` (
`id` bigint(20) unsigned NOT NULL DEFAULT 0,
`creator` int(10) unsigned NOT NULL DEFAULT 0,
`title` varchar(255) NOT NULL DEFAULT '',
`description` varchar(255) NOT NULL DEFAULT '',
`type` tinyint(3) unsigned NOT NULL DEFAULT 4,
`dungeon` int(11) NOT NULL DEFAULT -1,
`eventtime` int(10) unsigned NOT NULL DEFAULT 0,
`flags` int(10) unsigned NOT NULL DEFAULT 0,
`time2` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `calendar_invites`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `calendar_invites` (
`id` bigint(20) unsigned NOT NULL DEFAULT 0,
`event` bigint(20) unsigned NOT NULL DEFAULT 0,
`invitee` int(10) unsigned NOT NULL DEFAULT 0,
`sender` int(10) unsigned NOT NULL DEFAULT 0,
`status` tinyint(3) unsigned NOT NULL DEFAULT 0,
`statustime` int(10) unsigned NOT NULL DEFAULT 0,
`rank` tinyint(3) unsigned NOT NULL DEFAULT 0,
`text` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `channels`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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 DEFAULT NULL,
`lastUsed` int(10) unsigned NOT NULL,
PRIMARY KEY (`name`,`team`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Channel System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_account_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_account_data` (
`guid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_achievement`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_achievement` (
`guid` int(10) unsigned NOT NULL,
`achievement` smallint(5) unsigned NOT NULL,
`date` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`achievement`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_achievement_progress`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_achievement_progress` (
`guid` int(10) unsigned NOT NULL,
`criteria` smallint(5) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_action`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_action` (
`guid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_archaeology_completed`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_archaeology_completed` (
`guid` int(10) unsigned NOT NULL,
`project` smallint(5) unsigned NOT NULL,
`time` int(11) NOT NULL,
`count` int(11) NOT NULL,
PRIMARY KEY (`guid`,`project`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_archaeology_projects`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_archaeology_projects` (
`guid` int(10) unsigned NOT NULL,
`branch` tinyint(3) unsigned NOT NULL,
`project` int(10) unsigned NOT NULL,
PRIMARY KEY (`guid`,`branch`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_archaeology_sites`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_archaeology_sites` (
`guid` int(10) unsigned NOT NULL,
`site` tinyint(3) unsigned NOT NULL,
`type` smallint(5) unsigned NOT NULL,
`finds` tinyint(3) unsigned NOT NULL,
PRIMARY KEY (`guid`,`site`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_arena_stats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_arena_stats` (
`guid` int(10) unsigned NOT NULL DEFAULT 0,
`slot` tinyint(3) unsigned NOT NULL DEFAULT 0,
`matchMakerRating` smallint(5) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`slot`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_aura`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_aura` (
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`casterGuid` bigint(20) unsigned NOT NULL DEFAULT 0 COMMENT 'Full Global Unique Identifier',
`itemGuid` bigint(20) unsigned NOT NULL DEFAULT 0,
`spell` int(10) unsigned NOT NULL DEFAULT 0,
`effectMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
`recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
`stackCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
`amount0` int(11) NOT NULL DEFAULT 0,
`amount1` int(11) NOT NULL DEFAULT 0,
`amount2` int(11) NOT NULL DEFAULT 0,
`base_amount0` int(11) NOT NULL DEFAULT 0,
`base_amount1` int(11) NOT NULL DEFAULT 0,
`base_amount2` int(11) NOT NULL DEFAULT 0,
`maxDuration` int(11) NOT NULL DEFAULT 0,
`remainTime` int(11) NOT NULL DEFAULT 0,
`remainCharges` tinyint(3) unsigned NOT NULL DEFAULT 0,
`critChance` float NOT NULL DEFAULT 0,
`applyResilience` tinyint(3) NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`casterGuid`,`itemGuid`,`spell`,`effectMask`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_banned`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_banned` (
`guid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Ban List';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_battleground_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_battleground_data` (
`guid` int(10) 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` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_battleground_random`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_battleground_random` (
`guid` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_cuf_profiles`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_cuf_profiles` (
`guid` int(10) unsigned NOT NULL 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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_currency`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_currency` (
`CharacterGuid` int(10) unsigned NOT NULL,
`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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_declinedname`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_declinedname` (
`guid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_equipmentsets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_equipmentsets` (
`guid` int(10) unsigned NOT NULL DEFAULT 0,
`setguid` bigint(20) unsigned 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(10) unsigned NOT NULL DEFAULT 0,
`item0` int(10) unsigned NOT NULL DEFAULT 0,
`item1` int(10) unsigned NOT NULL DEFAULT 0,
`item2` int(10) unsigned NOT NULL DEFAULT 0,
`item3` int(10) unsigned NOT NULL DEFAULT 0,
`item4` int(10) unsigned NOT NULL DEFAULT 0,
`item5` int(10) unsigned NOT NULL DEFAULT 0,
`item6` int(10) unsigned NOT NULL DEFAULT 0,
`item7` int(10) unsigned NOT NULL DEFAULT 0,
`item8` int(10) unsigned NOT NULL DEFAULT 0,
`item9` int(10) unsigned NOT NULL DEFAULT 0,
`item10` int(10) unsigned NOT NULL DEFAULT 0,
`item11` int(10) unsigned NOT NULL DEFAULT 0,
`item12` int(10) unsigned NOT NULL DEFAULT 0,
`item13` int(10) unsigned NOT NULL DEFAULT 0,
`item14` int(10) unsigned NOT NULL DEFAULT 0,
`item15` int(10) unsigned NOT NULL DEFAULT 0,
`item16` int(10) unsigned NOT NULL DEFAULT 0,
`item17` int(10) unsigned NOT NULL DEFAULT 0,
`item18` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`setguid`),
UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`),
KEY `Idx_setindex` (`setindex`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_fishingsteps`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_fishingsteps` (
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`fishingSteps` tinyint(3) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_gifts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_gifts` (
`guid` int(10) unsigned NOT NULL DEFAULT 0,
`item_guid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_glyphs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_glyphs` (
`guid` int(10) 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,
`glyph7` smallint(5) unsigned DEFAULT 0,
`glyph8` smallint(5) unsigned DEFAULT 0,
`glyph9` smallint(5) unsigned DEFAULT 0,
PRIMARY KEY (`guid`,`talentGroup`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_homebind`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_homebind` (
`guid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_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,
`extendState` tinyint(3) unsigned NOT NULL DEFAULT 1,
PRIMARY KEY (`guid`,`instance`),
KEY `instance` (`instance`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_inventory` (
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`bag` int(10) unsigned NOT NULL DEFAULT 0,
`slot` tinyint(3) unsigned NOT NULL DEFAULT 0,
`item` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_pet`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_pet` (
`id` int(10) unsigned NOT NULL DEFAULT 0,
`entry` int(10) unsigned NOT NULL DEFAULT 0,
`owner` int(10) unsigned NOT NULL DEFAULT 0,
`modelid` int(10) unsigned DEFAULT 0,
`CreatedBySpell` int(10) 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,
`active` 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 DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `owner` (`owner`),
KEY `idx_slot` (`slot`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Pet System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_pet_declinedname`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_queststatus`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_queststatus` (
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`quest` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
`status` tinyint(3) unsigned NOT NULL DEFAULT 0,
`explored` tinyint(3) unsigned NOT NULL DEFAULT 0,
`timer` int(10) unsigned NOT NULL DEFAULT 0,
`mobcount1` smallint(5) unsigned NOT NULL DEFAULT 0,
`mobcount2` smallint(5) unsigned NOT NULL DEFAULT 0,
`mobcount3` smallint(5) unsigned NOT NULL DEFAULT 0,
`mobcount4` smallint(5) unsigned NOT NULL DEFAULT 0,
`itemcount1` smallint(5) unsigned NOT NULL DEFAULT 0,
`itemcount2` smallint(5) unsigned NOT NULL DEFAULT 0,
`itemcount3` smallint(5) unsigned NOT NULL DEFAULT 0,
`itemcount4` smallint(5) unsigned NOT NULL DEFAULT 0,
`itemcount5` smallint(5) unsigned NOT NULL DEFAULT 0,
`itemcount6` smallint(5) unsigned NOT NULL DEFAULT 0,
`playercount` smallint(5) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`quest`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_queststatus_daily`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_queststatus_daily` (
`guid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_queststatus_monthly`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_queststatus_monthly` (
`guid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_queststatus_rewarded`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_queststatus_rewarded` (
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`quest` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
`active` tinyint(3) unsigned NOT NULL DEFAULT 1,
PRIMARY KEY (`guid`,`quest`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_queststatus_seasonal`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_queststatus_seasonal` (
`guid` int(10) 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',
`completedTime` bigint(20) NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`quest`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_queststatus_weekly`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_queststatus_weekly` (
`guid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_reputation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_reputation` (
`guid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_rewardstatus_lfg`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_rewardstatus_lfg` (
`guid` int(11) NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`dungeonId` smallint(6) NOT NULL DEFAULT 0 COMMENT 'Dungeon ID Identifier',
`rewardCount` tinyint(3) unsigned DEFAULT 0 COMMENT 'Dungeon First Reward Count Identifier',
`dailyReset` tinyint(3) unsigned DEFAULT 0 COMMENT 'Reward Count Daily Reset Identifier'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_skills`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_skills` (
`guid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_social`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_social` (
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
`friend` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_spell`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_spell` (
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`spell` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_spell_cooldown`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_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',
`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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_stats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_stats` (
`guid` int(10) 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,
`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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_talent`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_talent` (
`guid` int(10) unsigned NOT NULL,
`spell` int(10) unsigned NOT NULL,
`talentGroup` tinyint(3) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`spell`,`talentGroup`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `character_void_storage`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `character_void_storage` (
`itemId` bigint(20) unsigned NOT NULL,
`playerGuid` int(10) unsigned NOT NULL,
`itemEntry` int(10) unsigned NOT NULL,
`slot` tinyint(3) unsigned NOT NULL,
`creatorGuid` int(10) unsigned NOT NULL DEFAULT 0,
`randomPropertyType` tinyint(3) unsigned NOT NULL DEFAULT 0,
`randomProperty` int(10) unsigned NOT NULL DEFAULT 0,
`suffixFactor` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`itemId`),
UNIQUE KEY `idx_player_slot` (`playerGuid`,`slot`),
KEY `idx_player` (`playerGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `characters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `characters` (
`guid` int(10) 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 utf8mb3 COLLATE utf8mb3_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,
`characterFlags` int(10) unsigned NOT NULL DEFAULT 0,
`characterFlags2` 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,
`instance_mode_mask` tinyint(3) unsigned NOT NULL DEFAULT 0,
`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` int(10) unsigned NOT NULL DEFAULT 0,
`trans_spawn_id` int(10) 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 DEFAULT NULL,
`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,
`latency` int(10) unsigned NOT NULL DEFAULT 0,
`talentGroupsCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
`activeTalentGroup` tinyint(3) unsigned NOT NULL DEFAULT 0,
`exploredZones` longtext DEFAULT NULL,
`equipmentCache` longtext DEFAULT NULL,
`knownTitles` longtext DEFAULT NULL,
`actionBars` tinyint(3) unsigned NOT NULL DEFAULT 0,
`grantableLevels` tinyint(3) unsigned NOT NULL DEFAULT 0,
`achievementPoints` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `corpse`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `corpse` (
`guid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Death System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `corpse_phases`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `corpse_phases` (
`OwnerGuid` int(10) unsigned NOT NULL DEFAULT 0,
`PhaseId` int(10) unsigned NOT NULL,
PRIMARY KEY (`OwnerGuid`,`PhaseId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Grid Loading System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `game_event_condition_save`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `game_event_save`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `gm_subsurvey`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `gm_subsurvey` (
`surveyId` int(10) unsigned NOT NULL AUTO_INCREMENT,
`questionId` int(10) unsigned NOT NULL DEFAULT 0,
`answer` int(10) unsigned NOT NULL DEFAULT 0,
`answerComment` text NOT NULL,
PRIMARY KEY (`surveyId`,`questionId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `gm_survey`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `gm_survey` (
`surveyId` int(10) unsigned NOT NULL AUTO_INCREMENT,
`guid` int(10) unsigned NOT NULL DEFAULT 0,
`mainSurvey` int(10) unsigned NOT NULL DEFAULT 0,
`comment` longtext NOT NULL,
`createTime` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`surveyId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `gm_ticket`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `gm_ticket` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`type` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT '0 open, 1 closed, 2 character deleted',
`playerGuid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier of ticket creator',
`name` varchar(12) NOT NULL COMMENT 'Name of ticket creator',
`description` 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,
`lastModifiedTime` int(10) unsigned NOT NULL DEFAULT 0,
`closedBy` int(11) NOT NULL DEFAULT 0,
`assignedTo` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'GUID of admin to whom ticket is assigned',
`comment` text NOT NULL,
`response` text NOT NULL,
`completed` tinyint(3) unsigned NOT NULL DEFAULT 0,
`escalated` tinyint(3) unsigned NOT NULL DEFAULT 0,
`viewed` tinyint(3) unsigned NOT NULL DEFAULT 0,
`needMoreHelp` tinyint(3) unsigned NOT NULL DEFAULT 0,
`resolvedBy` int(11) NOT NULL DEFAULT 0 COMMENT 'GUID of GM who resolved the ticket',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `group_instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `group_member`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `group_member` (
`guid` int(10) unsigned NOT NULL,
`memberGuid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Groups';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `groups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `groups` (
`guid` int(10) unsigned NOT NULL,
`leaderGuid` int(10) unsigned NOT NULL,
`lootMethod` tinyint(3) unsigned NOT NULL,
`looterGuid` int(10) unsigned NOT NULL,
`lootThreshold` tinyint(3) unsigned NOT NULL,
`icon1` bigint(20) unsigned NOT NULL,
`icon2` bigint(20) unsigned NOT NULL,
`icon3` bigint(20) unsigned NOT NULL,
`icon4` bigint(20) unsigned NOT NULL,
`icon5` bigint(20) unsigned NOT NULL,
`icon6` bigint(20) unsigned NOT NULL,
`icon7` bigint(20) unsigned NOT NULL,
`icon8` bigint(20) unsigned NOT NULL,
`groupType` tinyint(3) unsigned NOT NULL,
`difficulty` tinyint(3) unsigned NOT NULL DEFAULT 0,
`raidDifficulty` tinyint(3) unsigned NOT NULL DEFAULT 0,
`masterLooterGuid` int(10) unsigned NOT NULL,
PRIMARY KEY (`guid`),
KEY `leaderGuid` (`leaderGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Groups';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild` (
`guildid` int(10) unsigned NOT NULL DEFAULT 0,
`name` varchar(24) NOT NULL DEFAULT '',
`leaderguid` int(10) 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,
`experience` bigint(20) unsigned DEFAULT 0,
`todayExperience` bigint(20) unsigned DEFAULT 0,
`completedDungeonChallenges` int(10) unsigned DEFAULT 0,
`completedRaidChallenges` int(10) unsigned DEFAULT 0,
`completedRatedBattlegroundChallenges` int(10) unsigned DEFAULT 0,
`WeeklyBonusMoney` bigint(20) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guildid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Guild System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild_achievement`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild_achievement` (
`guildId` int(10) unsigned NOT NULL,
`achievement` smallint(5) unsigned NOT NULL,
`date` int(10) unsigned NOT NULL DEFAULT 0,
`guids` text NOT NULL,
PRIMARY KEY (`guildId`,`achievement`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild_achievement_progress`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild_achievement_progress` (
`guildId` int(10) unsigned NOT NULL,
`criteria` smallint(5) unsigned NOT NULL,
`counter` bigint(20) unsigned NOT NULL,
`date` int(10) unsigned NOT NULL DEFAULT 0,
`completedGuid` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guildId`,`criteria`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild_bank_eventlog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild_bank_eventlog` (
`guildid` int(10) 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` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild_bank_item`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild_bank_item` (
`guildid` int(10) unsigned NOT NULL DEFAULT 0,
`TabId` tinyint(3) unsigned NOT NULL DEFAULT 0,
`SlotId` tinyint(3) unsigned NOT NULL DEFAULT 0,
`item_guid` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guildid`,`TabId`,`SlotId`),
KEY `guildid_key` (`guildid`),
KEY `Idx_item_guid` (`item_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild_bank_right`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild_bank_right` (
`guildid` int(10) unsigned NOT NULL DEFAULT 0,
`TabId` tinyint(3) unsigned NOT NULL DEFAULT 0,
`rid` tinyint(3) unsigned NOT NULL DEFAULT 0,
`gbright` tinyint(3) unsigned NOT NULL DEFAULT 0,
`SlotPerDay` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guildid`,`TabId`,`rid`),
KEY `guildid_key` (`guildid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild_bank_tab`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild_bank_tab` (
`guildid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild_eventlog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild_eventlog` (
`guildid` int(10) 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` int(10) unsigned NOT NULL COMMENT 'Player 1',
`PlayerGuid2` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Guild Eventlog';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild_finder_applicant`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild_finder_applicant` (
`guildId` int(10) unsigned DEFAULT NULL,
`playerGuid` int(10) unsigned DEFAULT NULL,
`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,
UNIQUE KEY `guildId` (`guildId`,`playerGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild_finder_guild_settings`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild_finder_guild_settings` (
`guildId` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild_member`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild_member` (
`guildid` int(10) unsigned NOT NULL COMMENT 'Guild Identificator',
`guid` int(10) unsigned NOT NULL,
`rank` tinyint(3) unsigned NOT NULL,
`pnote` varchar(31) NOT NULL DEFAULT '',
`offnote` varchar(31) NOT NULL DEFAULT '',
`activity` int(10) unsigned NOT NULL DEFAULT 0,
`weekActivity` int(10) unsigned NOT NULL DEFAULT 0,
`weekReputation` int(10) unsigned NOT NULL DEFAULT 0,
UNIQUE KEY `guid_key` (`guid`),
KEY `guildid_key` (`guildid`),
KEY `guildid_rank_key` (`guildid`,`rank`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Guild System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild_member_withdraw`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild_member_withdraw` (
`guid` int(10) 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` bigint(20) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Guild Member Daily Withdraws';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild_newslog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild_newslog` (
`guildid` int(10) 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` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild_old_member`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild_old_member` (
`guid` int(10) unsigned NOT NULL,
`guildId` int(10) unsigned NOT NULL,
`weekReputation` int(10) unsigned NOT NULL,
`leaveDate` int(10) unsigned NOT NULL,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `guild_rank`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `guild_rank` (
`guildid` int(10) unsigned NOT NULL DEFAULT 0,
`rid` tinyint(3) unsigned NOT NULL,
`rname` varchar(20) NOT NULL DEFAULT '',
`rights` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Guild System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `instance` (
`id` int(10) unsigned NOT NULL DEFAULT 0,
`map` smallint(5) unsigned NOT NULL DEFAULT 0,
`resettime` bigint(20) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `instance_reset`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `instance_reset` (
`mapid` smallint(5) unsigned NOT NULL DEFAULT 0,
`difficulty` tinyint(3) unsigned NOT NULL DEFAULT 0,
`resettime` bigint(20) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`mapid`,`difficulty`),
KEY `difficulty` (`difficulty`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `item_instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `item_instance` (
`guid` int(10) unsigned NOT NULL DEFAULT 0,
`itemEntry` int(10) unsigned NOT NULL DEFAULT 0,
`owner_guid` int(10) 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(11) NOT NULL DEFAULT 0,
`charges` tinytext DEFAULT NULL,
`flags` int(10) unsigned NOT NULL DEFAULT 0,
`enchantments` text NOT NULL,
`randomPropertyType` tinyint(3) unsigned NOT NULL DEFAULT 0,
`randomPropertyId` int(10) unsigned NOT NULL DEFAULT 0,
`durability` smallint(5) unsigned NOT NULL DEFAULT 0,
`creationTime` int(10) unsigned NOT NULL DEFAULT 0,
`text` text DEFAULT NULL,
PRIMARY KEY (`guid`),
KEY `idx_owner_guid` (`owner_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Item System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `item_loot_items`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `item_loot_items` (
`container_id` int(10) 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(11) NOT NULL DEFAULT 0 COMMENT 'stack size',
`item_index` int(10) unsigned NOT NULL DEFAULT 0,
`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_type` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'random enchantment type',
`rnd_prop` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'random enchantment added when originally rolled',
`rnd_suffix` int(11) NOT NULL DEFAULT 0 COMMENT 'random suffix added when originally rolled'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `item_loot_money`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `item_loot_money` (
`container_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'guid of container (item_instance.guid)',
`money` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'money loot (in copper)',
PRIMARY KEY (`container_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `item_refund_instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `item_refund_instance` (
`item_guid` int(10) unsigned NOT NULL COMMENT 'Item GUID',
`player_guid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Item Refund System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `item_soulbound_trade_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `item_soulbound_trade_data` (
`itemGuid` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Item Refund System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `lag_reports`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `lag_reports` (
`reportId` int(10) unsigned NOT NULL AUTO_INCREMENT,
`guid` int(10) unsigned NOT NULL DEFAULT 0,
`lagType` tinyint(3) 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,
`latency` int(10) unsigned NOT NULL DEFAULT 0,
`createTime` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`reportId`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `lfg_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='LFG Data';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `mail`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `mail` (
`id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
`messageType` tinyint(3) unsigned NOT NULL DEFAULT 0,
`stationery` tinyint(4) NOT NULL DEFAULT 41,
`mailTemplateId` smallint(5) unsigned NOT NULL DEFAULT 0,
`sender` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
`receiver` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
`subject` longtext DEFAULT NULL,
`body` longtext DEFAULT NULL,
`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=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Mail System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `mail_items`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `mail_items` (
`mail_id` int(10) unsigned NOT NULL DEFAULT 0,
`item_guid` int(10) unsigned NOT NULL DEFAULT 0,
`receiver` int(10) 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=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `pet_aura`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `pet_aura` (
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`casterGuid` bigint(20) unsigned NOT NULL DEFAULT 0 COMMENT 'Full Global Unique Identifier',
`spell` int(10) unsigned NOT NULL DEFAULT 0,
`effectMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
`recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
`stackCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
`amount0` int(11) NOT NULL,
`amount1` int(11) NOT NULL,
`amount2` int(11) NOT NULL,
`base_amount0` int(11) NOT NULL,
`base_amount1` int(11) NOT NULL,
`base_amount2` int(11) NOT NULL,
`maxDuration` int(11) NOT NULL DEFAULT 0,
`remainTime` int(11) NOT NULL DEFAULT 0,
`remainCharges` tinyint(3) unsigned NOT NULL DEFAULT 0,
`critChance` float NOT NULL DEFAULT 0,
`applyResilience` tinyint(3) NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`casterGuid`,`spell`,`effectMask`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Pet System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `pet_spell`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `pet_spell` (
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`spell` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
`active` tinyint(3) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`spell`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Pet System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `pet_spell_cooldown`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `petition`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `petition` (
`ownerguid` int(10) unsigned NOT NULL,
`petitionguid` int(10) unsigned DEFAULT 0,
`name` varchar(24) NOT NULL,
`type` tinyint(3) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ownerguid`,`type`),
UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Guild System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `petition_sign`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `petition_sign` (
`ownerguid` int(10) unsigned NOT NULL,
`petitionguid` int(10) unsigned NOT NULL DEFAULT 0,
`playerguid` int(10) unsigned NOT NULL DEFAULT 0,
`player_account` int(10) unsigned NOT NULL DEFAULT 0,
`type` tinyint(3) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`petitionguid`,`playerguid`),
KEY `Idx_playerguid` (`playerguid`),
KEY `Idx_ownerguid` (`ownerguid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Guild System';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `pool_quest_save`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `pvpstats_battlegrounds`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `pvpstats_players`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `pvpstats_players` (
`battleground_id` bigint(20) unsigned NOT NULL,
`character_guid` int(10) unsigned NOT NULL,
`winner` bit(1) NOT NULL,
`score_killing_blows` int(10) unsigned NOT NULL,
`score_deaths` int(10) unsigned NOT NULL,
`score_honorable_kills` int(10) unsigned NOT NULL,
`score_bonus_honor` int(10) unsigned NOT NULL,
`score_damage_done` int(10) unsigned NOT NULL,
`score_healing_done` int(10) unsigned NOT NULL,
`attr_1` int(10) unsigned NOT NULL DEFAULT 0,
`attr_2` int(10) unsigned NOT NULL DEFAULT 0,
`attr_3` int(10) unsigned NOT NULL DEFAULT 0,
`attr_4` int(10) unsigned NOT NULL DEFAULT 0,
`attr_5` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`battleground_id`,`character_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `quest_tracker`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `quest_tracker` (
`id` int(10) unsigned NOT NULL DEFAULT 0,
`character_guid` int(10) 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'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `reserved_name`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `reserved_name` (
`name` varchar(12) NOT NULL DEFAULT '',
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player Reserved Names';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `respawn`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `respawn` (
`type` smallint(5) unsigned NOT NULL,
`spawnId` int(10) unsigned NOT NULL,
`respawnTime` bigint(20) unsigned NOT NULL,
`mapId` smallint(5) unsigned NOT NULL,
`instanceId` int(10) unsigned NOT NULL,
PRIMARY KEY (`type`,`spawnId`,`instanceId`),
KEY `idx_instance` (`instanceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Stored respawn times';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `updates`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of all applied updates in this database.';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `updates_include`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
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=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of directories where we want to include sql updates.';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `warden_action`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `warden_action` (
`wardenId` smallint(5) unsigned NOT NULL,
`action` tinyint(3) unsigned DEFAULT NULL,
PRIMARY KEY (`wardenId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `world_state_value`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `world_state_value` (
`Id` int(11) NOT NULL,
`Value` int(11) NOT NULL,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `world_variable`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `world_variable` (
`ID` varchar(64) NOT NULL,
`Value` int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
/*!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 */;