Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Kitzunu
2021-03-26 16:55:30 +01:00
401 changed files with 4169 additions and 3969 deletions

View File

@@ -7,75 +7,87 @@ assignees: ''
---
<!-- IF YOU DO NOT FILL THIS TEMPLATE OUT, WE WILL CLOSE YOUR ISSUE! -->
<!-- IF YOU DO NOT FILL THIS TEMPLATE OUT, WE WILL CLOSE YOUR ISSUE -->
<!-- This template is for problem reports, for feature suggestion etc... feel free to edit it.
If this is a crash report, upload the crashlog on https://gist.github.com/
For issues containing a fix, please create a Pull Request following this tutorial: http://www.azerothcore.org/wiki/Contribute#how-to-create-a-pull-request -->
<!-- This template is for problem reports. If this is a crash report, upload the crash log on https://gist.github.com/
For issues containing a fix, please create a Pull Request following this tutorial: https://www.azerothcore.org/wiki/How-to-create-a-PR -->
<!-- WRITE A RELEVANT TITLE -->
##### CURRENT BEHAVIOUR:
<!-- Describe the bug in detail. Database to link spells, NPCs, quests etc https://wowgaming.altervista.org/aowow/ -->
## CURRENT BEHAVIOUR:
<!-- Describe the bug or issue in detail, if it includes any quest/spell/item/NPC/object from the game, please use database links from https://wowgaming.altervista.org/aowow/
-->
##### EXPECTED BLIZZLIKE BEHAVIOUR:
<!-- Describe how it should be working without the bug. -->
## EXPECTED BLIZZLIKE BEHAVIOUR:
<!-- Describe how it should be working without the bug/issue
-->
##### STEPS TO REPRODUCE THE PROBLEM:
## SOURCE:
<!-- If this report IS linked with in-game content, please include any evidence/documentation/video or further proof in order to guarantee that the behavior described above is the correct one.
- If it is described in a guide/post or Wowhead comment, please include the link.
- Can you link a video that confirms it?
- Please share the source which states how it should work.
- If this report IS NOT linked with in-game content, please leave this field as N/A
-->
## STEPS TO REPRODUCE THE PROBLEM:
<!-- Describe precisely how to reproduce the bug so we can fix it or confirm its existence:
- Which commands to use? Which NPC to teleport to?
- Do we need to have debug flags on Cmake?
- Do we need to look at the console while the bug happens?
- Other steps
-->
- Describe as much as possible how to detect or check the bug -->
1.
2.
3.
##### EXTRA NOTES:
<!--
Any information that can help the developers to identify and fix the issue should be put here.
## EXTRA NOTES:
<!-- Please share any additional information that can help the developers to identify and fix the issue.
Examples:
- was this bug always present in AzerothCore? if it was introduced after a change, please mention it
- the code line(s) that cause the issue
- does this feature work in other server applications (e.g. CMaNGOS, TrinityCore, etc...) ?
- Was this bug always present in AzerothCore? if no, from which change/commit it started?
- Is there any code line(s) causing the bug/issue?
- Does this feature work in other server applications like CMaNGOS or TrinityCore?
-->
##### AC HASH/COMMIT:
## AC HASH/COMMIT:
<!-- IF YOU DO NOT FILL THIS OUT, WE WILL CLOSE YOUR ISSUE! NEVER WRITE "LATEST", ALWAYS PUT THE ACTUAL VALUE INSTEAD.
Find the commit hash (unique identifier) by running "git log" on your own clone of AzerothCore or by looking at here https://github.com/azerothcore/azerothcore-wotlk/commits/master -->
Find the commit hash (unique identifier) by running "git log" on your own clone of AzerothCore or by looking at here https://github.com/azerothcore/azerothcore-wotlk/commits/master
-->
##### OPERATING SYSTEM:
<!-- Windows 7/10, Debian 8/9/10, Ubuntu 16/18 etc... -->
## OPERATING SYSTEM:
<!-- On which operating system the bug/issue was found?
Examples: Windows 7/10, Debian 8/9/10, Ubuntu 16/18 or macOS 10/11
-->
##### MODULES:
<!-- Are you using modules? If yes, list them (note them down in a .txt for opening future issues) -->
## MODULES:
<!-- Are you using modules? if yes, please list them all
-->
##### OTHER CUSTOMIZATIONS:
<!-- Are you using any extra script?
## CUSTOMIZATIONS:
<!-- Are you using any extra content that could affect your client/server?
- Did you apply any core patch/diff?
- Did you modify your database?
- Or do you have other customizations? If yes please specify them here.
- Do you have any other client/server customizations? If yes please specify them here
-->
@@ -84,12 +96,12 @@ Find the commit hash (unique identifier) by running "git log" on your own clone
<!-- ------------------------- THE END ------------------------------
Thank you for your contribution.
If you use AzerothCore regularly, we really NEED your help to:
- TEST our fixes ( http://www.azerothcore.org/wiki/Contribute#how-to-test-a-pull-request )
- Report issues
- Improve the documentation/wiki
With your help the project can evolve much quicker!
-->
- Test our fixes: https://www.azerothcore.org/wiki/How-to-test-a-PR
- Report issues or suggestions: https://github.com/azerothcore/azerothcore-wotlk/issues/new/choose
- Improve the documentation/wiki: https://www.azerothcore.org/wiki/home
With your help, the project can evolve much quicker! -->
<!-- NOTE: If you intend to contribute more than once, you should really join us on our discord channel! We set cosmetic ranks for our contributors and may give access to special resources/knowledge to them! The link is on our site http://azerothcore.org/
-->
<!-- NOTE
If you intend to contribute repeatedly to our project, it is a good idea to join our discord channel.
We set ranks for our contributors and give them access to special resources or knowledge: https://discord.com/invite/DasJqPba -->

View File

@@ -6,10 +6,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `account`
(
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`id` INT unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`username` varchar(32) NOT NULL DEFAULT '',
`sha_pass_hash` varchar(40) NOT NULL DEFAULT '',
`sessionkey` varchar(80) NOT NULL DEFAULT '',
@@ -21,22 +21,22 @@ CREATE TABLE `account`
`joindate` timestamp NOT NULL DEFAULT current_timestamp(),
`last_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
`last_attempt_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
`failed_logins` int(10) unsigned NOT NULL DEFAULT 0,
`locked` tinyint(3) unsigned NOT NULL DEFAULT 0,
`failed_logins` INT unsigned NOT NULL DEFAULT 0,
`locked` TINYINT unsigned NOT NULL DEFAULT 0,
`lock_country` varchar(2) NOT NULL DEFAULT '00',
`last_login` timestamp NULL DEFAULT NULL,
`online` int(10) unsigned NOT NULL DEFAULT 0,
`expansion` tinyint(3) unsigned NOT NULL DEFAULT 2,
`mutetime` bigint(20) NOT NULL DEFAULT 0,
`online` INT unsigned NOT NULL DEFAULT 0,
`expansion` TINYINT unsigned NOT NULL DEFAULT 2,
`mutetime` BIGINT NOT NULL DEFAULT 0,
`mutereason` varchar(255) NOT NULL DEFAULT '',
`muteby` varchar(50) NOT NULL DEFAULT '',
`locale` tinyint(3) unsigned NOT NULL DEFAULT 0,
`locale` TINYINT unsigned NOT NULL DEFAULT 0,
`os` varchar(3) NOT NULL DEFAULT '',
`recruiter` int(10) unsigned NOT NULL DEFAULT 0,
`totaltime` int(10) unsigned NOT NULL DEFAULT 0,
`recruiter` INT unsigned NOT NULL DEFAULT 0,
`totaltime` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
UNIQUE KEY `idx_username` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COMMENT='Account System';
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=UTF8MB4 COMMENT='Account System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account` WRITE;

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_access`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `account_access`
(
`id` int(10) unsigned NOT NULL,
`gmlevel` tinyint(3) unsigned NOT NULL,
`RealmID` int(11) NOT NULL DEFAULT -1,
`id` INT unsigned NOT NULL,
`gmlevel` TINYINT unsigned NOT NULL,
`RealmID` INT NOT NULL DEFAULT -1,
`comment` varchar(255) DEFAULT '',
PRIMARY KEY (`id`,`RealmID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_access` WRITE;

View File

@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_banned`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `account_banned`
(
`id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Account id',
`bandate` int(10) unsigned NOT NULL DEFAULT 0,
`unbandate` int(10) unsigned NOT NULL DEFAULT 0,
`id` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account id',
`bandate` INT unsigned NOT NULL DEFAULT 0,
`unbandate` INT unsigned NOT NULL DEFAULT 0,
`bannedby` varchar(50) NOT NULL,
`banreason` varchar(255) NOT NULL,
`active` tinyint(3) unsigned NOT NULL DEFAULT 1,
`active` TINYINT unsigned NOT NULL DEFAULT 1,
PRIMARY KEY (`id`,`bandate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Ban List';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Ban List';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_banned` WRITE;

View File

@@ -6,12 +6,12 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_muted`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `account_muted`
(
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`mutedate` int(10) unsigned NOT NULL DEFAULT 0,
`mutetime` int(10) unsigned NOT NULL DEFAULT 0,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`mutedate` INT unsigned NOT NULL DEFAULT 0,
`mutetime` INT unsigned NOT NULL DEFAULT 0,
`mutedby` varchar(50) NOT NULL,
`mutereason` varchar(255) NOT NULL,
PRIMARY KEY (`guid`,`mutedate`)

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `autobroadcast`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `autobroadcast`
(
`realmid` int(11) NOT NULL DEFAULT -1,
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
`weight` tinyint(3) unsigned DEFAULT 1,
`realmid` INT NOT NULL DEFAULT -1,
`id` TINYINT unsigned NOT NULL AUTO_INCREMENT,
`weight` TINYINT unsigned DEFAULT 1,
`text` longtext NOT NULL,
PRIMARY KEY (`id`,`realmid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `autobroadcast` WRITE;

View File

@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `ip2nation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `ip2nation`
(
`ip` int(11) unsigned NOT NULL DEFAULT 0,
`ip` INT unsigned NOT NULL DEFAULT 0,
`country` char(2) NOT NULL DEFAULT '',
KEY `ip` (`ip`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `ip2nation` WRITE;

View File

@@ -6,7 +6,7 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `ip2nationCountries`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `ip2nationCountries`
(
`code` varchar(4) NOT NULL DEFAULT '',
@@ -18,7 +18,7 @@ CREATE TABLE `ip2nationCountries`
`lon` float NOT NULL DEFAULT 0,
PRIMARY KEY (`code`),
KEY `code` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `ip2nationCountries` WRITE;

View File

@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `ip_banned`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `ip_banned`
(
`ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
`bandate` int(10) unsigned NOT NULL,
`unbandate` int(10) unsigned NOT NULL,
`bandate` INT unsigned NOT NULL,
`unbandate` INT unsigned NOT NULL,
`bannedby` varchar(50) NOT NULL DEFAULT '[Console]',
`banreason` varchar(255) NOT NULL DEFAULT 'no reason',
PRIMARY KEY (`ip`,`bandate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Banned IPs';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Banned IPs';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `ip_banned` WRITE;

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `logs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `logs`
(
`time` int(10) unsigned NOT NULL,
`realm` int(10) unsigned NOT NULL,
`time` INT unsigned NOT NULL,
`realm` INT unsigned NOT NULL,
`type` varchar(250) NOT NULL,
`level` tinyint(3) unsigned NOT NULL DEFAULT 0,
`level` TINYINT unsigned NOT NULL DEFAULT 0,
`string` text CHARACTER SET latin1 DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `logs` WRITE;

View File

@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `logs_ip_actions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `logs_ip_actions`
(
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Identifier',
`account_id` int(10) unsigned NOT NULL COMMENT 'Account ID',
`character_guid` int(10) unsigned NOT NULL COMMENT 'Character Guid',
`type` tinyint(3) unsigned NOT NULL,
`id` INT unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Identifier',
`account_id` INT unsigned NOT NULL COMMENT 'Account ID',
`character_guid` INT unsigned NOT NULL COMMENT 'Character Guid',
`type` TINYINT unsigned NOT NULL,
`ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
`systemnote` text DEFAULT NULL COMMENT 'Notes inserted by system',
`unixtime` int(10) unsigned NOT NULL COMMENT 'Unixtime',
`unixtime` INT unsigned NOT NULL COMMENT 'Unixtime',
`time` timestamp NOT NULL DEFAULT current_timestamp() COMMENT 'Timestamp',
`comment` text DEFAULT NULL COMMENT 'Allows users to add a comment',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Used to log ips of individual actions';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Used to log ips of individual actions';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `logs_ip_actions` WRITE;

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `realmcharacters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `realmcharacters`
(
`realmid` int(10) unsigned NOT NULL DEFAULT 0,
`acctid` int(10) unsigned NOT NULL,
`numchars` tinyint(3) unsigned NOT NULL DEFAULT 0,
`realmid` INT unsigned NOT NULL DEFAULT 0,
`acctid` INT unsigned NOT NULL,
`numchars` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`realmid`,`acctid`),
KEY `acctid` (`acctid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Realm Character Tracker';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Realm Character Tracker';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `realmcharacters` WRITE;

View File

@@ -6,24 +6,25 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `realmlist`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `realmlist`
(
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`id` INT unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(32) NOT NULL DEFAULT '',
`address` varchar(255) NOT NULL DEFAULT '127.0.0.1',
`localAddress` varchar(255) NOT NULL DEFAULT '127.0.0.1',
`localSubnetMask` varchar(255) NOT NULL DEFAULT '255.255.255.0',
`port` smallint(5) unsigned NOT NULL DEFAULT 8085,
`icon` tinyint(3) unsigned NOT NULL DEFAULT 0,
`flag` tinyint(3) unsigned NOT NULL DEFAULT 2,
`timezone` tinyint(3) unsigned NOT NULL DEFAULT 0,
`allowedSecurityLevel` tinyint(3) unsigned NOT NULL DEFAULT 0,
`population` float unsigned NOT NULL DEFAULT 0,
`gamebuild` int(10) unsigned NOT NULL DEFAULT 12340,
`port` SMALLINT unsigned NOT NULL DEFAULT 8085,
`icon` TINYINT unsigned NOT NULL DEFAULT 0,
`flag` TINYINT unsigned NOT NULL DEFAULT 2,
`timezone` TINYINT unsigned NOT NULL DEFAULT 0,
`allowedSecurityLevel` TINYINT unsigned NOT NULL DEFAULT 0,
`population` FLOAT NOT NULL DEFAULT 0,
`gamebuild` INT unsigned NOT NULL DEFAULT 12340,
CHECK (`population`>=0),
PRIMARY KEY (`id`),
UNIQUE KEY `idx_name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Realm System';
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=UTF8MB4 COMMENT='Realm System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `realmlist` WRITE;

View File

@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `uptime`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `uptime`
(
`realmid` int(10) unsigned NOT NULL,
`starttime` int(10) unsigned NOT NULL DEFAULT 0,
`uptime` int(10) unsigned NOT NULL DEFAULT 0,
`maxplayers` smallint(5) unsigned NOT NULL DEFAULT 0,
`realmid` INT unsigned NOT NULL,
`starttime` INT unsigned NOT NULL DEFAULT 0,
`uptime` INT unsigned NOT NULL DEFAULT 0,
`maxplayers` SMALLINT unsigned NOT NULL DEFAULT 0,
`revision` varchar(255) NOT NULL DEFAULT 'AzerothCore',
PRIMARY KEY (`realmid`,`starttime`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Uptime system';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Uptime system';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `uptime` WRITE;

View File

@@ -6,7 +6,7 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `version_db_auth`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `version_db_auth`
(
`sql_rev` varchar(100) NOT NULL,
@@ -15,7 +15,7 @@ CREATE TABLE `version_db_auth`
PRIMARY KEY (`sql_rev`),
KEY `required` (`required_rev`),
CONSTRAINT `required` FOREIGN KEY (`required_rev`) REFERENCES `version_db_auth` (`sql_rev`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `version_db_auth` WRITE;

View File

@@ -6,15 +6,15 @@
/*!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 = utf8 */;
/*!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,
`accountId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
`type` TINYINT unsigned NOT NULL DEFAULT 0,
`time` INT unsigned NOT NULL DEFAULT 0,
`data` blob NOT NULL,
PRIMARY KEY (`accountId`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_data` WRITE;

View File

@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_instance_times`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`accountId` INT unsigned NOT NULL,
`instanceId` INT unsigned NOT NULL DEFAULT 0,
`releaseTime` BIGINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`accountId`,`instanceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_instance_times` WRITE;

View File

@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `account_tutorial`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`accountId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
`tut0` INT unsigned NOT NULL DEFAULT 0,
`tut1` INT unsigned NOT NULL DEFAULT 0,
`tut2` INT unsigned NOT NULL DEFAULT 0,
`tut3` INT unsigned NOT NULL DEFAULT 0,
`tut4` INT unsigned NOT NULL DEFAULT 0,
`tut5` INT unsigned NOT NULL DEFAULT 0,
`tut6` INT unsigned NOT NULL DEFAULT 0,
`tut7` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`accountId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `account_tutorial` WRITE;

View File

@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `addons`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `addons`
(
`name` varchar(120) NOT NULL DEFAULT '',
`crc` int(10) unsigned NOT NULL DEFAULT 0,
`crc` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Addons';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Addons';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `addons` WRITE;

View File

@@ -6,26 +6,26 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `arena_team`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `arena_team`
(
`arenaTeamId` int(10) unsigned NOT NULL DEFAULT 0,
`arenaTeamId` INT 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,
`captainGuid` INT unsigned NOT NULL DEFAULT 0,
`type` TINYINT unsigned NOT NULL DEFAULT 0,
`rating` SMALLINT unsigned NOT NULL DEFAULT 0,
`seasonGames` SMALLINT unsigned NOT NULL DEFAULT 0,
`seasonWins` SMALLINT unsigned NOT NULL DEFAULT 0,
`weekGames` SMALLINT unsigned NOT NULL DEFAULT 0,
`weekWins` SMALLINT unsigned NOT NULL DEFAULT 0,
`rank` INT unsigned NOT NULL DEFAULT 0,
`backgroundColor` INT unsigned NOT NULL DEFAULT 0,
`emblemStyle` TINYINT unsigned NOT NULL DEFAULT 0,
`emblemColor` INT unsigned NOT NULL DEFAULT 0,
`borderStyle` TINYINT unsigned NOT NULL DEFAULT 0,
`borderColor` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`arenaTeamId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `arena_team` WRITE;

View File

@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `arena_team_member`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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) NOT NULL DEFAULT 0,
`arenaTeamId` INT unsigned NOT NULL DEFAULT 0,
`guid` INT unsigned NOT NULL DEFAULT 0,
`weekGames` SMALLINT unsigned NOT NULL DEFAULT 0,
`weekWins` SMALLINT unsigned NOT NULL DEFAULT 0,
`seasonGames` SMALLINT unsigned NOT NULL DEFAULT 0,
`seasonWins` SMALLINT unsigned NOT NULL DEFAULT 0,
`personalRating` SMALLINT NOT NULL DEFAULT 0,
PRIMARY KEY (`arenaTeamId`,`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `arena_team_member` WRITE;

View File

@@ -6,22 +6,22 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `auctionhouse`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `auctionhouse`
(
`id` int(10) unsigned NOT NULL DEFAULT 0,
`auctioneerguid` int(10) unsigned NOT NULL DEFAULT 0,
`itemguid` int(10) unsigned NOT NULL DEFAULT 0,
`itemowner` int(10) unsigned NOT NULL DEFAULT 0,
`buyoutprice` int(10) unsigned NOT NULL DEFAULT 0,
`time` int(10) unsigned NOT NULL DEFAULT 0,
`buyguid` int(10) unsigned NOT NULL DEFAULT 0,
`lastbid` int(10) unsigned NOT NULL DEFAULT 0,
`startbid` int(10) unsigned NOT NULL DEFAULT 0,
`deposit` int(10) unsigned NOT NULL DEFAULT 0,
`id` INT unsigned NOT NULL DEFAULT 0,
`auctioneerguid` INT unsigned NOT NULL DEFAULT 0,
`itemguid` INT unsigned NOT NULL DEFAULT 0,
`itemowner` INT unsigned NOT NULL DEFAULT 0,
`buyoutprice` INT unsigned NOT NULL DEFAULT 0,
`time` INT unsigned NOT NULL DEFAULT 0,
`buyguid` INT unsigned NOT NULL DEFAULT 0,
`lastbid` INT unsigned NOT NULL DEFAULT 0,
`startbid` INT unsigned NOT NULL DEFAULT 0,
`deposit` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
UNIQUE KEY `item_guid` (`itemguid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `auctionhouse` WRITE;

View File

@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `banned_addons`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `banned_addons`
(
`Id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`Id` INT unsigned NOT NULL AUTO_INCREMENT,
`Name` varchar(255) NOT NULL,
`Version` varchar(255) NOT NULL DEFAULT '',
`Timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
PRIMARY KEY (`Id`),
UNIQUE KEY `idx_name_ver` (`Name`,`Version`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `banned_addons` WRITE;

View File

@@ -6,11 +6,11 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `battleground_deserters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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',
`guid` INT unsigned NOT NULL COMMENT 'characters.guid',
`type` TINYINT unsigned NOT NULL COMMENT 'type of the desertion',
`datetime` datetime NOT NULL COMMENT 'datetime of the desertion'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

View File

@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `bugreport`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `bugreport`
(
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`id` INT unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`type` longtext NOT NULL,
`content` longtext NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Debug System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Debug System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `bugreport` WRITE;

View File

@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `calendar_events`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`id` BIGINT unsigned NOT NULL DEFAULT 0,
`creator` INT unsigned NOT NULL DEFAULT 0,
`title` varchar(255) NOT NULL DEFAULT '',
`description` varchar(255) NOT NULL DEFAULT '',
`type` tinyint(1) unsigned NOT NULL DEFAULT 4,
`dungeon` int(10) 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,
`type` TINYINT unsigned NOT NULL DEFAULT 4,
`dungeon` INT NOT NULL DEFAULT -1,
`eventtime` INT unsigned NOT NULL DEFAULT 0,
`flags` INT unsigned NOT NULL DEFAULT 0,
`time2` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `calendar_events` WRITE;

View File

@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `calendar_invites`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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(1) unsigned NOT NULL DEFAULT 0,
`statustime` int(10) unsigned NOT NULL DEFAULT 0,
`rank` tinyint(1) unsigned NOT NULL DEFAULT 0,
`id` BIGINT unsigned NOT NULL DEFAULT 0,
`event` BIGINT unsigned NOT NULL DEFAULT 0,
`invitee` INT unsigned NOT NULL DEFAULT 0,
`sender` INT unsigned NOT NULL DEFAULT 0,
`status` TINYINT unsigned NOT NULL DEFAULT 0,
`statustime` INT unsigned NOT NULL DEFAULT 0,
`rank` TINYINT unsigned NOT NULL DEFAULT 0,
`text` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `calendar_invites` WRITE;

View File

@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `channels`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `channels`
(
`channelId` int(10) unsigned NOT NULL AUTO_INCREMENT,
`channelId` INT unsigned NOT NULL AUTO_INCREMENT,
`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,
`team` INT unsigned NOT NULL,
`announce` TINYINT unsigned NOT NULL DEFAULT 1,
`ownership` TINYINT unsigned NOT NULL DEFAULT 1,
`password` varchar(32) DEFAULT NULL,
`lastUsed` int(10) unsigned NOT NULL,
`lastUsed` INT unsigned NOT NULL,
PRIMARY KEY (`channelId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Channel System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Channel System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `channels` WRITE;

View File

@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `channels_bans`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `channels_bans`
(
`channelId` int(10) unsigned NOT NULL,
`playerGUID` int(10) unsigned NOT NULL,
`banTime` int(10) unsigned NOT NULL,
`channelId` INT unsigned NOT NULL,
`playerGUID` INT unsigned NOT NULL,
`banTime` INT unsigned NOT NULL,
PRIMARY KEY (`channelId`,`playerGUID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `channels_bans` WRITE;

View File

@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `channels_rights`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `channels_rights`
(
`name` varchar(128) NOT NULL,
`flags` int(10) unsigned NOT NULL,
`speakdelay` int(10) unsigned NOT NULL,
`flags` INT unsigned NOT NULL,
`speakdelay` INT unsigned NOT NULL,
`joinmessage` varchar(255) NOT NULL DEFAULT '',
`delaymessage` varchar(255) NOT NULL DEFAULT '',
`moderators` text DEFAULT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `channels_rights` WRITE;

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_account_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guid` INT unsigned NOT NULL DEFAULT 0,
`type` TINYINT unsigned NOT NULL DEFAULT 0,
`time` INT unsigned NOT NULL DEFAULT 0,
`data` blob NOT NULL,
PRIMARY KEY (`guid`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_account_data` WRITE;

View File

@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_achievement`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guid` INT unsigned NOT NULL,
`achievement` SMALLINT unsigned NOT NULL,
`date` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`achievement`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_achievement` WRITE;

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_achievement_progress`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_achievement_progress`
(
`guid` int(10) unsigned NOT NULL,
`criteria` smallint(5) unsigned NOT NULL,
`counter` int(10) unsigned NOT NULL,
`date` int(10) unsigned NOT NULL DEFAULT 0,
`guid` INT unsigned NOT NULL,
`criteria` SMALLINT unsigned NOT NULL,
`counter` INT unsigned NOT NULL,
`date` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`criteria`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_achievement_progress` WRITE;

View File

@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_action`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guid` INT unsigned NOT NULL DEFAULT 0,
`spec` TINYINT unsigned NOT NULL DEFAULT 0,
`button` TINYINT unsigned NOT NULL DEFAULT 0,
`action` INT unsigned NOT NULL DEFAULT 0,
`type` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`spec`,`button`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_action` WRITE;

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_arena_stats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`maxMMR` smallint(5) NOT NULL,
`guid` INT unsigned NOT NULL DEFAULT 0,
`slot` TINYINT unsigned NOT NULL DEFAULT 0,
`matchMakerRating` SMALLINT unsigned NOT NULL DEFAULT 0,
`maxMMR` SMALLINT NOT NULL,
PRIMARY KEY (`guid`,`slot`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_arena_stats` WRITE;

View File

@@ -6,27 +6,27 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_aura`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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` mediumint(8) 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,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`casterGuid` BIGINT unsigned NOT NULL DEFAULT 0 COMMENT 'Full Global Unique Identifier',
`itemGuid` BIGINT unsigned NOT NULL DEFAULT 0,
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`effectMask` TINYINT unsigned NOT NULL DEFAULT 0,
`recalculateMask` TINYINT unsigned NOT NULL DEFAULT 0,
`stackCount` TINYINT unsigned NOT NULL DEFAULT 1,
`amount0` INT NOT NULL DEFAULT 0,
`amount1` INT NOT NULL DEFAULT 0,
`amount2` INT NOT NULL DEFAULT 0,
`base_amount0` INT NOT NULL DEFAULT 0,
`base_amount1` INT NOT NULL DEFAULT 0,
`base_amount2` INT NOT NULL DEFAULT 0,
`maxDuration` INT NOT NULL DEFAULT 0,
`remainTime` INT NOT NULL DEFAULT 0,
`remainCharges` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`casterGuid`,`itemGuid`,`spell`,`effectMask`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_aura` WRITE;

View File

@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_banned`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`bandate` INT unsigned NOT NULL DEFAULT 0,
`unbandate` INT unsigned NOT NULL DEFAULT 0,
`bannedby` varchar(50) NOT NULL,
`banreason` varchar(255) NOT NULL,
`active` tinyint(3) unsigned NOT NULL DEFAULT 1,
`active` TINYINT unsigned NOT NULL DEFAULT 1,
PRIMARY KEY (`guid`,`bandate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Ban List';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Ban List';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_banned` WRITE;

View File

@@ -6,12 +6,12 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_battleground_random`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_battleground_random`
(
`guid` int(10) unsigned NOT NULL DEFAULT 0,
`guid` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_battleground_random` WRITE;

View File

@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_brew_of_the_month`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_brew_of_the_month`
(
`guid` int(10) unsigned NOT NULL,
`lastEventId` int(10) unsigned NOT NULL DEFAULT 0,
`guid` INT unsigned NOT NULL,
`lastEventId` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_brew_of_the_month` WRITE;

View File

@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_declinedname`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_declinedname`
(
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`guid` INT 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;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_declinedname` WRITE;

View File

@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_entry_point`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_entry_point`
(
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`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` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
`joinMapId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
`taxiPath` text DEFAULT NULL,
`mountSpell` int(10) unsigned NOT NULL DEFAULT 0,
`mountSpell` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_entry_point` WRITE;

View File

@@ -6,38 +6,38 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_equipmentsets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_equipmentsets`
(
`guid` int(10) NOT NULL DEFAULT 0,
`setguid` bigint(20) NOT NULL AUTO_INCREMENT,
`setindex` tinyint(3) unsigned NOT NULL DEFAULT 0,
`guid` INT NOT NULL DEFAULT 0,
`setguid` BIGINT NOT NULL AUTO_INCREMENT,
`setindex` TINYINT unsigned NOT NULL DEFAULT 0,
`name` varchar(31) NOT NULL,
`iconname` varchar(100) NOT NULL,
`ignore_mask` int(11) unsigned NOT NULL DEFAULT 0,
`item0` int(11) unsigned NOT NULL DEFAULT 0,
`item1` int(11) unsigned NOT NULL DEFAULT 0,
`item2` int(11) unsigned NOT NULL DEFAULT 0,
`item3` int(11) unsigned NOT NULL DEFAULT 0,
`item4` int(11) unsigned NOT NULL DEFAULT 0,
`item5` int(11) unsigned NOT NULL DEFAULT 0,
`item6` int(11) unsigned NOT NULL DEFAULT 0,
`item7` int(11) unsigned NOT NULL DEFAULT 0,
`item8` int(11) unsigned NOT NULL DEFAULT 0,
`item9` int(11) unsigned NOT NULL DEFAULT 0,
`item10` int(11) unsigned NOT NULL DEFAULT 0,
`item11` int(11) unsigned NOT NULL DEFAULT 0,
`item12` int(11) unsigned NOT NULL DEFAULT 0,
`item13` int(11) unsigned NOT NULL DEFAULT 0,
`item14` int(11) unsigned NOT NULL DEFAULT 0,
`item15` int(11) unsigned NOT NULL DEFAULT 0,
`item16` int(11) unsigned NOT NULL DEFAULT 0,
`item17` int(11) unsigned NOT NULL DEFAULT 0,
`item18` int(11) unsigned NOT NULL DEFAULT 0,
`ignore_mask` INT unsigned NOT NULL DEFAULT 0,
`item0` INT unsigned NOT NULL DEFAULT 0,
`item1` INT unsigned NOT NULL DEFAULT 0,
`item2` INT unsigned NOT NULL DEFAULT 0,
`item3` INT unsigned NOT NULL DEFAULT 0,
`item4` INT unsigned NOT NULL DEFAULT 0,
`item5` INT unsigned NOT NULL DEFAULT 0,
`item6` INT unsigned NOT NULL DEFAULT 0,
`item7` INT unsigned NOT NULL DEFAULT 0,
`item8` INT unsigned NOT NULL DEFAULT 0,
`item9` INT unsigned NOT NULL DEFAULT 0,
`item10` INT unsigned NOT NULL DEFAULT 0,
`item11` INT unsigned NOT NULL DEFAULT 0,
`item12` INT unsigned NOT NULL DEFAULT 0,
`item13` INT unsigned NOT NULL DEFAULT 0,
`item14` INT unsigned NOT NULL DEFAULT 0,
`item15` INT unsigned NOT NULL DEFAULT 0,
`item16` INT unsigned NOT NULL DEFAULT 0,
`item17` INT unsigned NOT NULL DEFAULT 0,
`item18` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`setguid`),
UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`),
KEY `Idx_setindex` (`setindex`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_equipmentsets` WRITE;

View File

@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_gifts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guid` INT unsigned NOT NULL DEFAULT 0,
`item_guid` INT unsigned NOT NULL DEFAULT 0,
`entry` INT unsigned NOT NULL DEFAULT 0,
`flags` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`item_guid`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_gifts` WRITE;

View File

@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_glyphs`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guid` INT unsigned NOT NULL,
`talentGroup` TINYINT unsigned NOT NULL DEFAULT 0,
`glyph1` SMALLINT unsigned DEFAULT 0,
`glyph2` SMALLINT unsigned DEFAULT 0,
`glyph3` SMALLINT unsigned DEFAULT 0,
`glyph4` SMALLINT unsigned DEFAULT 0,
`glyph5` SMALLINT unsigned DEFAULT 0,
`glyph6` SMALLINT unsigned DEFAULT 0,
PRIMARY KEY (`guid`,`talentGroup`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_glyphs` WRITE;

View File

@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_homebind`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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',
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
`zoneId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Zone Identifier',
`posX` float NOT NULL DEFAULT 0,
`posY` float NOT NULL DEFAULT 0,
`posZ` float NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_homebind` WRITE;

View File

@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`extended` tinyint(3) unsigned NOT NULL,
`guid` INT unsigned NOT NULL DEFAULT 0,
`instance` INT unsigned NOT NULL DEFAULT 0,
`permanent` TINYINT unsigned NOT NULL DEFAULT 0,
`extended` TINYINT unsigned NOT NULL,
PRIMARY KEY (`guid`,`instance`),
KEY `instance` (`instance`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_instance` WRITE;

View File

@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_inventory`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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',
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`bag` INT unsigned NOT NULL DEFAULT 0,
`slot` TINYINT unsigned NOT NULL DEFAULT 0,
`item` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Item Global Unique Identifier',
PRIMARY KEY (`item`),
UNIQUE KEY `guid` (`guid`,`bag`,`slot`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_inventory` WRITE;

View File

@@ -6,30 +6,30 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_pet`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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` mediumint(8) unsigned NOT NULL DEFAULT 0,
`PetType` tinyint(3) unsigned NOT NULL DEFAULT 0,
`level` smallint(5) unsigned NOT NULL DEFAULT 1,
`exp` int(10) unsigned NOT NULL DEFAULT 0,
`Reactstate` tinyint(3) unsigned NOT NULL DEFAULT 0,
`id` INT unsigned NOT NULL DEFAULT 0,
`entry` INT unsigned NOT NULL DEFAULT 0,
`owner` INT unsigned NOT NULL DEFAULT 0,
`modelid` INT unsigned DEFAULT 0,
`CreatedBySpell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`PetType` TINYINT unsigned NOT NULL DEFAULT 0,
`level` SMALLINT unsigned NOT NULL DEFAULT 1,
`exp` INT unsigned NOT NULL DEFAULT 0,
`Reactstate` TINYINT unsigned NOT NULL DEFAULT 0,
`name` varchar(21) NOT NULL DEFAULT 'Pet',
`renamed` tinyint(3) unsigned NOT NULL DEFAULT 0,
`slot` tinyint(3) unsigned NOT NULL DEFAULT 0,
`curhealth` int(10) unsigned NOT NULL DEFAULT 1,
`curmana` int(10) unsigned NOT NULL DEFAULT 0,
`curhappiness` int(10) unsigned NOT NULL DEFAULT 0,
`savetime` int(10) unsigned NOT NULL DEFAULT 0,
`renamed` TINYINT unsigned NOT NULL DEFAULT 0,
`slot` TINYINT unsigned NOT NULL DEFAULT 0,
`curhealth` INT unsigned NOT NULL DEFAULT 1,
`curmana` INT unsigned NOT NULL DEFAULT 0,
`curhappiness` INT unsigned NOT NULL DEFAULT 0,
`savetime` INT unsigned NOT NULL DEFAULT 0,
`abdata` text DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `owner` (`owner`),
KEY `idx_slot` (`slot`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Pet System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_pet` WRITE;

View File

@@ -6,11 +6,11 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_pet_declinedname`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`id` INT unsigned NOT NULL DEFAULT 0,
`owner` INT unsigned NOT NULL DEFAULT 0,
`genitive` varchar(12) NOT NULL DEFAULT '',
`dative` varchar(12) NOT NULL DEFAULT '',
`accusative` varchar(12) NOT NULL DEFAULT '',
@@ -18,7 +18,7 @@ CREATE TABLE `character_pet_declinedname`
`prepositional` varchar(12) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `owner_key` (`owner`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_pet_declinedname` WRITE;

View File

@@ -6,27 +6,27 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_queststatus`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
`status` TINYINT unsigned NOT NULL DEFAULT 0,
`explored` TINYINT unsigned NOT NULL DEFAULT 0,
`timer` INT unsigned NOT NULL DEFAULT 0,
`mobcount1` SMALLINT unsigned NOT NULL DEFAULT 0,
`mobcount2` SMALLINT unsigned NOT NULL DEFAULT 0,
`mobcount3` SMALLINT unsigned NOT NULL DEFAULT 0,
`mobcount4` SMALLINT unsigned NOT NULL DEFAULT 0,
`itemcount1` SMALLINT unsigned NOT NULL DEFAULT 0,
`itemcount2` SMALLINT unsigned NOT NULL DEFAULT 0,
`itemcount3` SMALLINT unsigned NOT NULL DEFAULT 0,
`itemcount4` SMALLINT unsigned NOT NULL DEFAULT 0,
`itemcount5` SMALLINT unsigned NOT NULL DEFAULT 0,
`itemcount6` SMALLINT unsigned NOT NULL DEFAULT 0,
`playercount` SMALLINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`quest`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_queststatus` WRITE;

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_queststatus_daily`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
`time` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`quest`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_queststatus_daily` WRITE;

View File

@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_queststatus_monthly`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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',
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
PRIMARY KEY (`guid`,`quest`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_queststatus_monthly` WRITE;

View File

@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_queststatus_rewarded`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
`active` TINYINT unsigned NOT NULL DEFAULT 1,
PRIMARY KEY (`guid`,`quest`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_queststatus_rewarded` WRITE;

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_queststatus_seasonal`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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',
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
`event` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Event Identifier',
PRIMARY KEY (`guid`,`quest`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_queststatus_seasonal` WRITE;

View File

@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_queststatus_weekly`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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',
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
PRIMARY KEY (`guid`,`quest`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_queststatus_weekly` WRITE;

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_reputation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`faction` SMALLINT unsigned NOT NULL DEFAULT 0,
`standing` INT NOT NULL DEFAULT 0,
`flags` SMALLINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`faction`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_reputation` WRITE;

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_skills`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guid` INT unsigned NOT NULL COMMENT 'Global Unique Identifier',
`skill` SMALLINT unsigned NOT NULL,
`value` SMALLINT unsigned NOT NULL,
`max` SMALLINT unsigned NOT NULL,
PRIMARY KEY (`guid`,`skill`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_skills` WRITE;

View File

@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_social`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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',
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
`friend` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Friend Global Unique Identifier',
`flags` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Friend Flags',
`note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note',
PRIMARY KEY (`guid`,`friend`,`flags`),
KEY `friend` (`friend`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_social` WRITE;

View File

@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_spell`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_spell`
(
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`spell` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
`specMask` tinyint(3) unsigned NOT NULL DEFAULT 1,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
`specMask` TINYINT unsigned NOT NULL DEFAULT 1,
PRIMARY KEY (`guid`,`spell`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_spell` WRITE;

View File

@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_spell_cooldown`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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` mediumint(8) 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,
`needSend` tinyint(3) unsigned NOT NULL DEFAULT 1,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
`item` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Item Identifier',
`time` INT unsigned NOT NULL DEFAULT 0,
`needSend` TINYINT unsigned NOT NULL DEFAULT 1,
PRIMARY KEY (`guid`,`spell`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_spell_cooldown` WRITE;

View File

@@ -6,42 +6,43 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_stats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`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,
`resilience` int(10) unsigned NOT NULL DEFAULT 0,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
`maxhealth` INT unsigned NOT NULL DEFAULT 0,
`maxpower1` INT unsigned NOT NULL DEFAULT 0,
`maxpower2` INT unsigned NOT NULL DEFAULT 0,
`maxpower3` INT unsigned NOT NULL DEFAULT 0,
`maxpower4` INT unsigned NOT NULL DEFAULT 0,
`maxpower5` INT unsigned NOT NULL DEFAULT 0,
`maxpower6` INT unsigned NOT NULL DEFAULT 0,
`maxpower7` INT unsigned NOT NULL DEFAULT 0,
`strength` INT unsigned NOT NULL DEFAULT 0,
`agility` INT unsigned NOT NULL DEFAULT 0,
`stamina` INT unsigned NOT NULL DEFAULT 0,
`intellect` INT unsigned NOT NULL DEFAULT 0,
`spirit` INT unsigned NOT NULL DEFAULT 0,
`armor` INT unsigned NOT NULL DEFAULT 0,
`resHoly` INT unsigned NOT NULL DEFAULT 0,
`resFire` INT unsigned NOT NULL DEFAULT 0,
`resNature` INT unsigned NOT NULL DEFAULT 0,
`resFrost` INT unsigned NOT NULL DEFAULT 0,
`resShadow` INT unsigned NOT NULL DEFAULT 0,
`resArcane` INT unsigned NOT NULL DEFAULT 0,
`blockPct` FLOAT NOT NULL DEFAULT 0,
`dodgePct` FLOAT NOT NULL DEFAULT 0,
`parryPct` FLOAT NOT NULL DEFAULT 0,
`critPct` FLOAT NOT NULL DEFAULT 0,
`rangedCritPct` FLOAT NOT NULL DEFAULT 0,
`spellCritPct` FLOAT NOT NULL DEFAULT 0,
`attackPower` INT unsigned NOT NULL DEFAULT 0,
`rangedAttackPower` INT unsigned NOT NULL DEFAULT 0,
`spellPower` INT unsigned NOT NULL DEFAULT 0,
`resilience` INT unsigned NOT NULL DEFAULT 0,
CHECK (`blockPct`>=0 AND `dodgePct`>=0 AND `parryPct`>=0 AND `critPct`>=0 AND `rangedCritPct`>=0 AND `spellCritPct`>=0),
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_stats` WRITE;

View File

@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `character_talent`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `character_talent`
(
`guid` int(10) unsigned NOT NULL,
`spell` mediumint(8) unsigned NOT NULL,
`specMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
`guid` INT unsigned NOT NULL,
`spell` MEDIUMINT unsigned NOT NULL,
`specMask` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`spell`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `character_talent` WRITE;

View File

@@ -6,91 +6,91 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `characters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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 utf8 COLLATE utf8_bin NOT NULL,
`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,
`skin` tinyint(3) unsigned NOT NULL DEFAULT 0,
`face` tinyint(3) unsigned NOT NULL DEFAULT 0,
`hairStyle` tinyint(3) unsigned NOT NULL DEFAULT 0,
`hairColor` tinyint(3) unsigned NOT NULL DEFAULT 0,
`facialStyle` tinyint(3) unsigned NOT NULL DEFAULT 0,
`bankSlots` tinyint(3) unsigned NOT NULL DEFAULT 0,
`restState` tinyint(3) unsigned NOT NULL DEFAULT 0,
`playerFlags` int(10) unsigned NOT NULL DEFAULT 0,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`account` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
`name` varchar(12) CHARACTER SET UTF8MB4 COLLATE utf8mb4_bin NOT NULL,
`race` TINYINT unsigned NOT NULL DEFAULT 0,
`class` TINYINT unsigned NOT NULL DEFAULT 0,
`gender` TINYINT unsigned NOT NULL DEFAULT 0,
`level` TINYINT unsigned NOT NULL DEFAULT 0,
`xp` INT unsigned NOT NULL DEFAULT 0,
`money` INT unsigned NOT NULL DEFAULT 0,
`skin` TINYINT unsigned NOT NULL DEFAULT 0,
`face` TINYINT unsigned NOT NULL DEFAULT 0,
`hairStyle` TINYINT unsigned NOT NULL DEFAULT 0,
`hairColor` TINYINT unsigned NOT NULL DEFAULT 0,
`facialStyle` TINYINT unsigned NOT NULL DEFAULT 0,
`bankSlots` TINYINT unsigned NOT NULL DEFAULT 0,
`restState` TINYINT unsigned NOT NULL DEFAULT 0,
`playerFlags` INT 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,
`map` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
`instance_id` INT unsigned NOT NULL DEFAULT 0,
`instance_mode_mask` TINYINT 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,
`online` TINYINT unsigned NOT NULL DEFAULT 0,
`cinematic` TINYINT unsigned NOT NULL DEFAULT 0,
`totaltime` INT unsigned NOT NULL DEFAULT 0,
`leveltime` INT unsigned NOT NULL DEFAULT 0,
`logout_time` INT unsigned NOT NULL DEFAULT 0,
`is_logout_resting` TINYINT 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,
`resettalents_cost` INT unsigned NOT NULL DEFAULT 0,
`resettalents_time` INT 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` mediumint(8) 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,
`transguid` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`extra_flags` SMALLINT unsigned NOT NULL DEFAULT 0,
`stable_slots` TINYINT unsigned NOT NULL DEFAULT 0,
`at_login` SMALLINT unsigned NOT NULL DEFAULT 0,
`zone` SMALLINT unsigned NOT NULL DEFAULT 0,
`death_expire_time` INT unsigned NOT NULL DEFAULT 0,
`taxi_path` text DEFAULT NULL,
`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,
`knownCurrencies` bigint(20) unsigned NOT NULL DEFAULT 0,
`watchedFaction` int(10) unsigned NOT NULL DEFAULT 0,
`drunk` tinyint(3) unsigned NOT NULL DEFAULT 0,
`health` int(10) unsigned NOT NULL DEFAULT 0,
`power1` int(10) unsigned NOT NULL DEFAULT 0,
`power2` int(10) unsigned NOT NULL DEFAULT 0,
`power3` int(10) unsigned NOT NULL DEFAULT 0,
`power4` int(10) unsigned NOT NULL DEFAULT 0,
`power5` int(10) unsigned NOT NULL DEFAULT 0,
`power6` int(10) unsigned NOT NULL DEFAULT 0,
`power7` int(10) unsigned NOT NULL DEFAULT 0,
`latency` mediumint(8) unsigned NOT NULL DEFAULT 0,
`talentGroupsCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
`activeTalentGroup` tinyint(3) unsigned NOT NULL DEFAULT 0,
`arenaPoints` INT unsigned NOT NULL DEFAULT 0,
`totalHonorPoints` INT unsigned NOT NULL DEFAULT 0,
`todayHonorPoints` INT unsigned NOT NULL DEFAULT 0,
`yesterdayHonorPoints` INT unsigned NOT NULL DEFAULT 0,
`totalKills` INT unsigned NOT NULL DEFAULT 0,
`todayKills` SMALLINT unsigned NOT NULL DEFAULT 0,
`yesterdayKills` SMALLINT unsigned NOT NULL DEFAULT 0,
`chosenTitle` INT unsigned NOT NULL DEFAULT 0,
`knownCurrencies` BIGINT unsigned NOT NULL DEFAULT 0,
`watchedFaction` INT unsigned NOT NULL DEFAULT 0,
`drunk` TINYINT unsigned NOT NULL DEFAULT 0,
`health` INT unsigned NOT NULL DEFAULT 0,
`power1` INT unsigned NOT NULL DEFAULT 0,
`power2` INT unsigned NOT NULL DEFAULT 0,
`power3` INT unsigned NOT NULL DEFAULT 0,
`power4` INT unsigned NOT NULL DEFAULT 0,
`power5` INT unsigned NOT NULL DEFAULT 0,
`power6` INT unsigned NOT NULL DEFAULT 0,
`power7` INT unsigned NOT NULL DEFAULT 0,
`latency` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`talentGroupsCount` TINYINT unsigned NOT NULL DEFAULT 1,
`activeTalentGroup` TINYINT unsigned NOT NULL DEFAULT 0,
`exploredZones` longtext DEFAULT NULL,
`equipmentCache` longtext DEFAULT NULL,
`ammoId` int(10) unsigned NOT NULL DEFAULT 0,
`ammoId` INT unsigned NOT NULL DEFAULT 0,
`knownTitles` longtext DEFAULT NULL,
`actionBars` tinyint(3) unsigned NOT NULL DEFAULT 0,
`grantableLevels` tinyint(3) unsigned NOT NULL DEFAULT 0,
`actionBars` TINYINT unsigned NOT NULL DEFAULT 0,
`grantableLevels` TINYINT unsigned NOT NULL DEFAULT 0,
`creation_date` timestamp NOT NULL DEFAULT current_timestamp(),
`deleteInfos_Account` int(10) unsigned DEFAULT NULL,
`deleteInfos_Account` INT unsigned DEFAULT NULL,
`deleteInfos_Name` varchar(12) DEFAULT NULL,
`deleteDate` int(10) unsigned DEFAULT NULL,
`deleteDate` INT unsigned DEFAULT NULL,
PRIMARY KEY (`guid`),
KEY `idx_account` (`account`),
KEY `idx_online` (`online`),
KEY `idx_name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `characters` WRITE;

View File

@@ -6,33 +6,33 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `corpse`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `corpse`
(
`corpseGuid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
`corpseGuid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`guid` INT 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',
`phaseMask` int(10) unsigned NOT NULL DEFAULT 1,
`displayId` int(10) unsigned NOT NULL DEFAULT 0,
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
`phaseMask` INT unsigned NOT NULL DEFAULT 1,
`displayId` INT 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,
`guildId` 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',
`bytes1` INT unsigned NOT NULL DEFAULT 0,
`bytes2` INT unsigned NOT NULL DEFAULT 0,
`guildId` INT unsigned NOT NULL DEFAULT 0,
`flags` TINYINT unsigned NOT NULL DEFAULT 0,
`dynFlags` TINYINT unsigned NOT NULL DEFAULT 0,
`time` INT unsigned NOT NULL DEFAULT 0,
`corpseType` TINYINT unsigned NOT NULL DEFAULT 0,
`instanceId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
PRIMARY KEY (`corpseGuid`),
KEY `idx_type` (`corpseType`),
KEY `idx_instance` (`instanceId`),
KEY `idx_player` (`guid`),
KEY `idx_time` (`time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Death System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Death System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `corpse` WRITE;

View File

@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `creature_respawn`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `creature_respawn`
(
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`respawnTime` int(10) unsigned NOT NULL DEFAULT 0,
`mapId` smallint(10) unsigned NOT NULL DEFAULT 0,
`instanceId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`respawnTime` INT unsigned NOT NULL DEFAULT 0,
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0,
`instanceId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
PRIMARY KEY (`guid`,`instanceId`),
KEY `idx_instance` (`instanceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Grid Loading System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Grid Loading System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `creature_respawn` WRITE;

View File

@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_condition_save`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`eventEntry` TINYINT unsigned NOT NULL,
`condition_id` INT unsigned NOT NULL DEFAULT 0,
`done` float DEFAULT 0,
PRIMARY KEY (`eventEntry`,`condition_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_condition_save` WRITE;

View File

@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `game_event_save`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`eventEntry` TINYINT unsigned NOT NULL,
`state` TINYINT unsigned NOT NULL DEFAULT 1,
`next_start` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`eventEntry`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `game_event_save` WRITE;

View File

@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gameobject_respawn`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `gameobject_respawn`
(
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`respawnTime` int(10) unsigned NOT NULL DEFAULT 0,
`mapId` smallint(10) unsigned NOT NULL DEFAULT 0,
`instanceId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`respawnTime` INT unsigned NOT NULL DEFAULT 0,
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0,
`instanceId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
PRIMARY KEY (`guid`,`instanceId`),
KEY `idx_instance` (`instanceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Grid Loading System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Grid Loading System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gameobject_respawn` WRITE;

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gm_subsurvey`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`surveyId` INT unsigned NOT NULL AUTO_INCREMENT,
`questionId` INT unsigned NOT NULL DEFAULT 0,
`answer` INT unsigned NOT NULL DEFAULT 0,
`answerComment` text NOT NULL,
PRIMARY KEY (`surveyId`,`questionId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gm_subsurvey` WRITE;

View File

@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gm_survey`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`surveyId` INT unsigned NOT NULL AUTO_INCREMENT,
`guid` INT unsigned NOT NULL DEFAULT 0,
`mainSurvey` INT unsigned NOT NULL DEFAULT 0,
`comment` longtext NOT NULL,
`createTime` int(10) unsigned NOT NULL DEFAULT 0,
`maxMMR` smallint(5) NOT NULL,
`createTime` INT unsigned NOT NULL DEFAULT 0,
`maxMMR` SMALLINT NOT NULL,
PRIMARY KEY (`surveyId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gm_survey` WRITE;

View File

@@ -6,31 +6,31 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `gm_ticket`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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',
`id` INT unsigned NOT NULL AUTO_INCREMENT,
`type` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT '0 open, 1 closed, 2 character deleted',
`playerGuid` INT 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,
`createTime` INT unsigned NOT NULL DEFAULT 0,
`mapId` SMALLINT 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(10) unsigned NOT NULL DEFAULT 0,
`assignedTo` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'GUID of admin to whom ticket is assigned',
`lastModifiedTime` INT unsigned NOT NULL DEFAULT 0,
`closedBy` INT unsigned NOT NULL DEFAULT 0,
`assignedTo` INT 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(10) unsigned NOT NULL DEFAULT 0 COMMENT 'GUID of GM who resolved the ticket',
`completed` TINYINT unsigned NOT NULL DEFAULT 0,
`escalated` TINYINT unsigned NOT NULL DEFAULT 0,
`viewed` TINYINT unsigned NOT NULL DEFAULT 0,
`needMoreHelp` TINYINT unsigned NOT NULL DEFAULT 0,
`resolvedBy` INT unsigned NOT NULL DEFAULT 0 COMMENT 'GUID of GM who resolved the ticket',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `gm_ticket` WRITE;

View File

@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `group_member`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guid` INT unsigned NOT NULL,
`memberGuid` INT unsigned NOT NULL,
`memberFlags` TINYINT unsigned NOT NULL DEFAULT 0,
`subgroup` TINYINT unsigned NOT NULL DEFAULT 0,
`roles` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`memberGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Groups';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Groups';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `group_member` WRITE;

View File

@@ -6,29 +6,29 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `groups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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` int(10) unsigned NOT NULL,
`icon2` int(10) unsigned NOT NULL,
`icon3` int(10) unsigned NOT NULL,
`icon4` int(10) unsigned NOT NULL,
`icon5` int(10) unsigned NOT NULL,
`icon6` int(10) unsigned NOT NULL,
`icon7` int(10) unsigned NOT NULL,
`icon8` int(10) 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,
`guid` INT unsigned NOT NULL,
`leaderGuid` INT unsigned NOT NULL,
`lootMethod` TINYINT unsigned NOT NULL,
`looterGuid` INT unsigned NOT NULL,
`lootThreshold` TINYINT unsigned NOT NULL,
`icon1` INT unsigned NOT NULL,
`icon2` INT unsigned NOT NULL,
`icon3` INT unsigned NOT NULL,
`icon4` INT unsigned NOT NULL,
`icon5` INT unsigned NOT NULL,
`icon6` INT unsigned NOT NULL,
`icon7` INT unsigned NOT NULL,
`icon8` INT unsigned NOT NULL,
`groupType` TINYINT unsigned NOT NULL,
`difficulty` TINYINT unsigned NOT NULL DEFAULT 0,
`raidDifficulty` TINYINT unsigned NOT NULL DEFAULT 0,
`masterLooterGuid` INT unsigned NOT NULL,
PRIMARY KEY (`guid`),
KEY `leaderGuid` (`leaderGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Groups';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Groups';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `groups` WRITE;

View File

@@ -6,23 +6,23 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `guild`
(
`guildid` int(10) unsigned NOT NULL DEFAULT 0,
`guildid` INT 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,
`leaderguid` INT unsigned NOT NULL DEFAULT 0,
`EmblemStyle` TINYINT unsigned NOT NULL DEFAULT 0,
`EmblemColor` TINYINT unsigned NOT NULL DEFAULT 0,
`BorderStyle` TINYINT unsigned NOT NULL DEFAULT 0,
`BorderColor` TINYINT unsigned NOT NULL DEFAULT 0,
`BackgroundColor` TINYINT 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,
`createdate` INT unsigned NOT NULL DEFAULT 0,
`BankMoney` BIGINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guildid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Guild System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild` WRITE;

View File

@@ -6,23 +6,23 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_bank_eventlog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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` int(10) 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',
`guildid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Guild Identificator',
`LogGuid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Log record identificator - auxiliary column',
`TabId` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Guild bank TabId',
`EventType` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Event type',
`PlayerGuid` INT unsigned NOT NULL DEFAULT 0,
`ItemOrMoney` INT unsigned NOT NULL DEFAULT 0,
`ItemStackCount` SMALLINT unsigned NOT NULL DEFAULT 0,
`DestTabId` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Destination Tab Id',
`TimeStamp` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Event UNIX time',
PRIMARY KEY (`guildid`,`LogGuid`,`TabId`),
KEY `guildid_key` (`guildid`),
KEY `Idx_PlayerGuid` (`PlayerGuid`),
KEY `Idx_LogGuid` (`LogGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_bank_eventlog` WRITE;

View File

@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_bank_item`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guildid` INT unsigned NOT NULL DEFAULT 0,
`TabId` TINYINT unsigned NOT NULL DEFAULT 0,
`SlotId` TINYINT unsigned NOT NULL DEFAULT 0,
`item_guid` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guildid`,`TabId`,`SlotId`),
KEY `guildid_key` (`guildid`),
KEY `Idx_item_guid` (`item_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_bank_item` WRITE;

View File

@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_bank_right`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guildid` INT unsigned NOT NULL DEFAULT 0,
`TabId` TINYINT unsigned NOT NULL DEFAULT 0,
`rid` TINYINT unsigned NOT NULL DEFAULT 0,
`gbright` TINYINT unsigned NOT NULL DEFAULT 0,
`SlotPerDay` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guildid`,`TabId`,`rid`),
KEY `guildid_key` (`guildid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_bank_right` WRITE;

View File

@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_bank_tab`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guildid` INT unsigned NOT NULL DEFAULT 0,
`TabId` TINYINT unsigned NOT NULL DEFAULT 0,
`TabName` varchar(16) NOT NULL DEFAULT '',
`TabIcon` varchar(100) NOT NULL DEFAULT '',
`TabText` varchar(500) DEFAULT NULL,
PRIMARY KEY (`guildid`,`TabId`),
KEY `guildid_key` (`guildid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_bank_tab` WRITE;

View File

@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_eventlog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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',
`guildid` INT unsigned NOT NULL COMMENT 'Guild Identificator',
`LogGuid` INT unsigned NOT NULL COMMENT 'Log record identificator - auxiliary column',
`EventType` TINYINT unsigned NOT NULL COMMENT 'Event type',
`PlayerGuid1` INT unsigned NOT NULL COMMENT 'Player 1',
`PlayerGuid2` INT unsigned NOT NULL COMMENT 'Player 2',
`NewRank` TINYINT unsigned NOT NULL COMMENT 'New rank(in case promotion/demotion)',
`TimeStamp` INT 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';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Guild Eventlog';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_eventlog` WRITE;

View File

@@ -6,18 +6,18 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_member`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guildid` INT unsigned NOT NULL COMMENT 'Guild Identificator',
`guid` INT unsigned NOT NULL,
`rank` TINYINT unsigned NOT NULL,
`pnote` varchar(31) NOT NULL DEFAULT '',
`offnote` varchar(31) NOT NULL DEFAULT '',
UNIQUE KEY `guid_key` (`guid`),
KEY `guildid_key` (`guildid`),
KEY `guildid_rank_key` (`guildid`,`rank`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Guild System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_member` WRITE;

View File

@@ -6,19 +6,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_member_withdraw`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`money` int(10) unsigned NOT NULL DEFAULT 0,
`guid` INT unsigned NOT NULL,
`tab0` INT unsigned NOT NULL DEFAULT 0,
`tab1` INT unsigned NOT NULL DEFAULT 0,
`tab2` INT unsigned NOT NULL DEFAULT 0,
`tab3` INT unsigned NOT NULL DEFAULT 0,
`tab4` INT unsigned NOT NULL DEFAULT 0,
`tab5` INT unsigned NOT NULL DEFAULT 0,
`money` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild Member Daily Withdraws';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Guild Member Daily Withdraws';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_member_withdraw` WRITE;

View File

@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `guild_rank`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `guild_rank`
(
`guildid` int(10) unsigned NOT NULL DEFAULT 0,
`rid` tinyint(3) unsigned NOT NULL,
`guildid` INT unsigned NOT NULL DEFAULT 0,
`rid` TINYINT unsigned NOT NULL,
`rname` varchar(20) NOT NULL DEFAULT '',
`rights` mediumint(8) unsigned NOT NULL DEFAULT 0,
`BankMoneyPerDay` int(10) unsigned NOT NULL DEFAULT 0,
`rights` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`BankMoneyPerDay` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guildid`,`rid`),
KEY `Idx_rid` (`rid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Guild System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `guild_rank` WRITE;

View File

@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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` int(10) unsigned NOT NULL DEFAULT 0,
`difficulty` tinyint(3) unsigned NOT NULL DEFAULT 0,
`completedEncounters` int(10) unsigned NOT NULL DEFAULT 0,
`id` INT unsigned NOT NULL DEFAULT 0,
`map` SMALLINT unsigned NOT NULL DEFAULT 0,
`resettime` INT unsigned NOT NULL DEFAULT 0,
`difficulty` TINYINT unsigned NOT NULL DEFAULT 0,
`completedEncounters` INT unsigned NOT NULL DEFAULT 0,
`data` tinytext NOT NULL,
PRIMARY KEY (`id`),
KEY `map` (`map`),
KEY `resettime` (`resettime`),
KEY `difficulty` (`difficulty`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `instance` WRITE;

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `instance_reset`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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` int(10) unsigned NOT NULL DEFAULT 0,
`mapid` SMALLINT unsigned NOT NULL DEFAULT 0,
`difficulty` TINYINT unsigned NOT NULL DEFAULT 0,
`resettime` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`mapid`,`difficulty`),
KEY `difficulty` (`difficulty`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `instance_reset` WRITE;

View File

@@ -6,26 +6,26 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `item_instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `item_instance`
(
`guid` int(10) unsigned NOT NULL DEFAULT 0,
`itemEntry` mediumint(8) 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(10) NOT NULL DEFAULT 0,
`guid` INT unsigned NOT NULL DEFAULT 0,
`itemEntry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`owner_guid` INT unsigned NOT NULL DEFAULT 0,
`creatorGuid` INT unsigned NOT NULL DEFAULT 0,
`giftCreatorGuid` INT unsigned NOT NULL DEFAULT 0,
`count` INT unsigned NOT NULL DEFAULT 1,
`duration` INT NOT NULL DEFAULT 0,
`charges` tinytext DEFAULT NULL,
`flags` mediumint(8) unsigned NOT NULL DEFAULT 0,
`flags` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`enchantments` text NOT NULL,
`randomPropertyId` smallint(5) NOT NULL DEFAULT 0,
`durability` smallint(5) unsigned NOT NULL DEFAULT 0,
`playedTime` int(10) unsigned NOT NULL DEFAULT 0,
`randomPropertyId` SMALLINT NOT NULL DEFAULT 0,
`durability` SMALLINT unsigned NOT NULL DEFAULT 0,
`playedTime` INT unsigned NOT NULL DEFAULT 0,
`text` text DEFAULT NULL,
PRIMARY KEY (`guid`),
KEY `idx_owner_guid` (`owner_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Item System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Item System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `item_instance` WRITE;

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `item_loot_storage`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `item_loot_storage`
(
`containerGUID` int(10) unsigned NOT NULL,
`itemid` int(10) unsigned NOT NULL,
`count` int(10) unsigned NOT NULL,
`randomPropertyId` int(10) NOT NULL,
`randomSuffix` int(10) unsigned NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
`containerGUID` INT unsigned NOT NULL,
`itemid` INT unsigned NOT NULL,
`count` INT unsigned NOT NULL,
`randomPropertyId` INT NOT NULL,
`randomSuffix` INT unsigned NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `item_loot_storage` WRITE;

View File

@@ -6,15 +6,15 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `item_refund_instance`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`item_guid` INT unsigned NOT NULL COMMENT 'Item GUID',
`player_guid` INT unsigned NOT NULL COMMENT 'Player GUID',
`paidMoney` INT unsigned NOT NULL DEFAULT 0,
`paidExtendedCost` SMALLINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`item_guid`,`player_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Item Refund System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Item Refund System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `item_refund_instance` WRITE;

View File

@@ -6,13 +6,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `item_soulbound_trade_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `item_soulbound_trade_data`
(
`itemGuid` int(10) unsigned NOT NULL COMMENT 'Item GUID',
`itemGuid` INT unsigned NOT NULL COMMENT 'Item GUID',
`allowedPlayers` text NOT NULL COMMENT 'Space separated GUID list of players who can receive this item in trade',
PRIMARY KEY (`itemGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Item Refund System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Item Refund System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `item_soulbound_trade_data` WRITE;

View File

@@ -6,20 +6,20 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `lag_reports`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`reportId` INT unsigned NOT NULL AUTO_INCREMENT,
`guid` INT unsigned NOT NULL DEFAULT 0,
`lagType` TINYINT unsigned NOT NULL DEFAULT 0,
`mapId` SMALLINT 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,
`latency` INT unsigned NOT NULL DEFAULT 0,
`createTime` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`reportId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Player System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `lag_reports` WRITE;

View File

@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `lfg_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`dungeon` INT unsigned NOT NULL DEFAULT 0,
`state` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='LFG Data';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='LFG Data';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `lfg_data` WRITE;

View File

@@ -6,24 +6,24 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `log_arena_fights`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `log_arena_fights`
(
`fight_id` int(10) unsigned NOT NULL,
`fight_id` INT unsigned NOT NULL,
`time` datetime NOT NULL,
`type` tinyint(3) unsigned NOT NULL,
`duration` int(10) unsigned NOT NULL,
`winner` int(10) unsigned NOT NULL,
`loser` int(10) unsigned NOT NULL,
`winner_tr` smallint(5) unsigned NOT NULL,
`winner_mmr` smallint(5) unsigned NOT NULL,
`winner_tr_change` smallint(6) NOT NULL,
`loser_tr` smallint(5) unsigned NOT NULL,
`loser_mmr` smallint(5) unsigned NOT NULL,
`loser_tr_change` smallint(6) NOT NULL,
`currOnline` int(10) unsigned NOT NULL,
`type` TINYINT unsigned NOT NULL,
`duration` INT unsigned NOT NULL,
`winner` INT unsigned NOT NULL,
`loser` INT unsigned NOT NULL,
`winner_tr` SMALLINT unsigned NOT NULL,
`winner_mmr` SMALLINT unsigned NOT NULL,
`winner_tr_change` SMALLINT NOT NULL,
`loser_tr` SMALLINT unsigned NOT NULL,
`loser_mmr` SMALLINT unsigned NOT NULL,
`loser_tr_change` SMALLINT NOT NULL,
`currOnline` INT unsigned NOT NULL,
PRIMARY KEY (`fight_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `log_arena_fights` WRITE;

View File

@@ -6,21 +6,21 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `log_arena_memberstats`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `log_arena_memberstats`
(
`fight_id` int(10) unsigned NOT NULL,
`member_id` tinyint(3) unsigned NOT NULL,
`fight_id` INT unsigned NOT NULL,
`member_id` TINYINT unsigned NOT NULL,
`name` char(20) NOT NULL,
`guid` int(10) unsigned NOT NULL,
`team` int(10) unsigned NOT NULL,
`account` int(10) unsigned NOT NULL,
`guid` INT unsigned NOT NULL,
`team` INT unsigned NOT NULL,
`account` INT unsigned NOT NULL,
`ip` char(15) NOT NULL,
`damage` int(10) unsigned NOT NULL,
`heal` int(10) unsigned NOT NULL,
`kblows` int(10) unsigned NOT NULL,
`damage` INT unsigned NOT NULL,
`heal` INT unsigned NOT NULL,
`kblows` INT unsigned NOT NULL,
PRIMARY KEY (`fight_id`,`member_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `log_arena_memberstats` WRITE;

View File

@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `log_encounter`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `log_encounter`
(
`time` datetime NOT NULL,
`map` smallint(5) unsigned NOT NULL,
`difficulty` tinyint(3) unsigned NOT NULL,
`creditType` tinyint(3) unsigned NOT NULL,
`creditEntry` int(10) unsigned NOT NULL,
`map` SMALLINT unsigned NOT NULL,
`difficulty` TINYINT unsigned NOT NULL,
`creditType` TINYINT unsigned NOT NULL,
`creditEntry` INT unsigned NOT NULL,
`playersInfo` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `log_encounter` WRITE;

View File

@@ -6,17 +6,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `log_money`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `log_money`
(
`sender_acc` int(11) unsigned NOT NULL,
`sender_guid` int(11) unsigned NOT NULL,
`sender_name` char(32) CHARACTER SET utf8 NOT NULL,
`sender_ip` char(32) CHARACTER SET utf8 NOT NULL,
`receiver_acc` int(11) unsigned NOT NULL,
`receiver_name` char(32) CHARACTER SET utf8 NOT NULL,
`money` bigint(20) unsigned NOT NULL,
`topic` char(255) CHARACTER SET utf8 NOT NULL,
`sender_acc` INT unsigned NOT NULL,
`sender_guid` INT unsigned NOT NULL,
`sender_name` char(32) CHARACTER SET UTF8MB4 NOT NULL,
`sender_ip` char(32) CHARACTER SET UTF8MB4 NOT NULL,
`receiver_acc` INT unsigned NOT NULL,
`receiver_name` char(32) CHARACTER SET UTF8MB4 NOT NULL,
`money` BIGINT unsigned NOT NULL,
`topic` char(255) CHARACTER SET UTF8MB4 NOT NULL,
`date` datetime NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

View File

@@ -6,26 +6,26 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `mail`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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(3) 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',
`id` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
`messageType` TINYINT unsigned NOT NULL DEFAULT 0,
`stationery` TINYINT NOT NULL DEFAULT 41,
`mailTemplateId` SMALLINT unsigned NOT NULL DEFAULT 0,
`sender` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
`receiver` INT 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` int(10) unsigned NOT NULL DEFAULT 0,
`cod` int(10) unsigned NOT NULL DEFAULT 0,
`checked` tinyint(3) unsigned NOT NULL DEFAULT 0,
`has_items` TINYINT unsigned NOT NULL DEFAULT 0,
`expire_time` INT unsigned NOT NULL DEFAULT 0,
`deliver_time` INT unsigned NOT NULL DEFAULT 0,
`money` INT unsigned NOT NULL DEFAULT 0,
`cod` INT unsigned NOT NULL DEFAULT 0,
`checked` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`),
KEY `idx_receiver` (`receiver`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Mail System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Mail System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `mail` WRITE;

View File

@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `mail_items`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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',
`mail_id` INT unsigned NOT NULL DEFAULT 0,
`item_guid` INT unsigned NOT NULL DEFAULT 0,
`receiver` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
PRIMARY KEY (`item_guid`),
KEY `idx_receiver` (`receiver`),
KEY `idx_mail_id` (`mail_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `mail_items` WRITE;

View File

@@ -6,26 +6,26 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pet_aura`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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` mediumint(8) 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` mediumint(8) NOT NULL,
`amount1` mediumint(8) NOT NULL,
`amount2` mediumint(8) NOT NULL,
`base_amount0` mediumint(8) NOT NULL,
`base_amount1` mediumint(8) NOT NULL,
`base_amount2` mediumint(8) NOT NULL,
`maxDuration` int(11) NOT NULL DEFAULT 0,
`remainTime` int(11) NOT NULL DEFAULT 0,
`remainCharges` tinyint(3) unsigned NOT NULL DEFAULT 0,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`casterGuid` BIGINT unsigned NOT NULL DEFAULT 0 COMMENT 'Full Global Unique Identifier',
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`effectMask` TINYINT unsigned NOT NULL DEFAULT 0,
`recalculateMask` TINYINT unsigned NOT NULL DEFAULT 0,
`stackCount` TINYINT unsigned NOT NULL DEFAULT 1,
`amount0` MEDIUMINT NOT NULL,
`amount1` MEDIUMINT NOT NULL,
`amount2` MEDIUMINT NOT NULL,
`base_amount0` MEDIUMINT NOT NULL,
`base_amount1` MEDIUMINT NOT NULL,
`base_amount2` MEDIUMINT NOT NULL,
`maxDuration` INT NOT NULL DEFAULT 0,
`remainTime` INT NOT NULL DEFAULT 0,
`remainCharges` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`spell`,`effectMask`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Pet System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pet_aura` WRITE;

View File

@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pet_spell`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `pet_spell`
(
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`spell` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
`active` tinyint(3) unsigned NOT NULL DEFAULT 0,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
`active` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`spell`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Pet System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pet_spell` WRITE;

View File

@@ -6,14 +6,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `pet_spell_cooldown`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!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` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
`time` int(10) unsigned NOT NULL DEFAULT 0,
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
`time` INT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`guid`,`spell`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `pet_spell_cooldown` WRITE;

View File

@@ -6,16 +6,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
DROP TABLE IF EXISTS `petition`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
/*!40101 SET character_set_client = UTF8MB4 */;
CREATE TABLE `petition`
(
`ownerguid` int(10) unsigned NOT NULL,
`petitionguid` int(10) unsigned DEFAULT 0,
`ownerguid` INT unsigned NOT NULL,
`petitionguid` INT unsigned DEFAULT 0,
`name` varchar(24) NOT NULL,
`type` tinyint(3) unsigned NOT NULL DEFAULT 0,
`type` TINYINT unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`ownerguid`,`type`),
UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Guild System';
/*!40101 SET character_set_client = @saved_cs_client */;
LOCK TABLES `petition` WRITE;

Some files were not shown because too many files have changed in this diff Show More