mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
refactor(DB/SQL): Update integer & utf to MySQL's new standards (#4929)
This commit is contained in:
@@ -6,10 +6,10 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `account`;
|
DROP TABLE IF EXISTS `account`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `account`
|
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 '',
|
`username` varchar(32) NOT NULL DEFAULT '',
|
||||||
`sha_pass_hash` varchar(40) NOT NULL DEFAULT '',
|
`sha_pass_hash` varchar(40) NOT NULL DEFAULT '',
|
||||||
`sessionkey` varchar(80) NOT NULL DEFAULT '',
|
`sessionkey` varchar(80) NOT NULL DEFAULT '',
|
||||||
@@ -21,22 +21,22 @@ CREATE TABLE `account`
|
|||||||
`joindate` timestamp NOT NULL DEFAULT current_timestamp(),
|
`joindate` timestamp NOT NULL DEFAULT current_timestamp(),
|
||||||
`last_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
|
`last_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
|
||||||
`last_attempt_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,
|
`failed_logins` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`locked` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`locked` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`lock_country` varchar(2) NOT NULL DEFAULT '00',
|
`lock_country` varchar(2) NOT NULL DEFAULT '00',
|
||||||
`last_login` timestamp NULL DEFAULT NULL,
|
`last_login` timestamp NULL DEFAULT NULL,
|
||||||
`online` int(10) unsigned NOT NULL DEFAULT 0,
|
`online` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`expansion` tinyint(3) unsigned NOT NULL DEFAULT 2,
|
`expansion` TINYINT unsigned NOT NULL DEFAULT 2,
|
||||||
`mutetime` bigint(20) NOT NULL DEFAULT 0,
|
`mutetime` BIGINT NOT NULL DEFAULT 0,
|
||||||
`mutereason` varchar(255) NOT NULL DEFAULT '',
|
`mutereason` varchar(255) NOT NULL DEFAULT '',
|
||||||
`muteby` varchar(50) 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 '',
|
`os` varchar(3) NOT NULL DEFAULT '',
|
||||||
`recruiter` int(10) unsigned NOT NULL DEFAULT 0,
|
`recruiter` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`totaltime` int(10) unsigned NOT NULL DEFAULT 0,
|
`totaltime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `idx_username` (`username`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `account` WRITE;
|
LOCK TABLES `account` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `account_access`;
|
DROP TABLE IF EXISTS `account_access`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `account_access`
|
CREATE TABLE `account_access`
|
||||||
(
|
(
|
||||||
`id` int(10) unsigned NOT NULL,
|
`id` INT unsigned NOT NULL,
|
||||||
`gmlevel` tinyint(3) unsigned NOT NULL,
|
`gmlevel` TINYINT unsigned NOT NULL,
|
||||||
`RealmID` int(11) NOT NULL DEFAULT -1,
|
`RealmID` INT NOT NULL DEFAULT -1,
|
||||||
`comment` varchar(255) DEFAULT '',
|
`comment` varchar(255) DEFAULT '',
|
||||||
PRIMARY KEY (`id`,`RealmID`)
|
PRIMARY KEY (`id`,`RealmID`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `account_access` WRITE;
|
LOCK TABLES `account_access` WRITE;
|
||||||
|
|||||||
@@ -6,17 +6,17 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `account_banned`;
|
DROP TABLE IF EXISTS `account_banned`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `account_banned`
|
CREATE TABLE `account_banned`
|
||||||
(
|
(
|
||||||
`id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Account id',
|
`id` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account id',
|
||||||
`bandate` int(10) unsigned NOT NULL DEFAULT 0,
|
`bandate` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`unbandate` int(10) unsigned NOT NULL DEFAULT 0,
|
`unbandate` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`bannedby` varchar(50) NOT NULL,
|
`bannedby` varchar(50) NOT NULL,
|
||||||
`banreason` varchar(255) 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`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `account_banned` WRITE;
|
LOCK TABLES `account_banned` WRITE;
|
||||||
|
|||||||
@@ -6,12 +6,12 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `account_muted`;
|
DROP TABLE IF EXISTS `account_muted`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `account_muted`
|
CREATE TABLE `account_muted`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`mutedate` int(10) unsigned NOT NULL DEFAULT 0,
|
`mutedate` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`mutetime` int(10) unsigned NOT NULL DEFAULT 0,
|
`mutetime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`mutedby` varchar(50) NOT NULL,
|
`mutedby` varchar(50) NOT NULL,
|
||||||
`mutereason` varchar(255) NOT NULL,
|
`mutereason` varchar(255) NOT NULL,
|
||||||
PRIMARY KEY (`guid`,`mutedate`)
|
PRIMARY KEY (`guid`,`mutedate`)
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `autobroadcast`;
|
DROP TABLE IF EXISTS `autobroadcast`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `autobroadcast`
|
CREATE TABLE `autobroadcast`
|
||||||
(
|
(
|
||||||
`realmid` int(11) NOT NULL DEFAULT -1,
|
`realmid` INT NOT NULL DEFAULT -1,
|
||||||
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
|
`id` TINYINT unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`weight` tinyint(3) unsigned DEFAULT 1,
|
`weight` TINYINT unsigned DEFAULT 1,
|
||||||
`text` longtext NOT NULL,
|
`text` longtext NOT NULL,
|
||||||
PRIMARY KEY (`id`,`realmid`)
|
PRIMARY KEY (`id`,`realmid`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `autobroadcast` WRITE;
|
LOCK TABLES `autobroadcast` WRITE;
|
||||||
|
|||||||
@@ -6,13 +6,13 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `ip2nation`;
|
DROP TABLE IF EXISTS `ip2nation`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `ip2nation`
|
CREATE TABLE `ip2nation`
|
||||||
(
|
(
|
||||||
`ip` int(11) unsigned NOT NULL DEFAULT 0,
|
`ip` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`country` char(2) NOT NULL DEFAULT '',
|
`country` char(2) NOT NULL DEFAULT '',
|
||||||
KEY `ip` (`ip`)
|
KEY `ip` (`ip`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `ip2nation` WRITE;
|
LOCK TABLES `ip2nation` WRITE;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `ip2nationCountries`;
|
DROP TABLE IF EXISTS `ip2nationCountries`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `ip2nationCountries`
|
CREATE TABLE `ip2nationCountries`
|
||||||
(
|
(
|
||||||
`code` varchar(4) NOT NULL DEFAULT '',
|
`code` varchar(4) NOT NULL DEFAULT '',
|
||||||
@@ -18,7 +18,7 @@ CREATE TABLE `ip2nationCountries`
|
|||||||
`lon` float NOT NULL DEFAULT 0,
|
`lon` float NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`code`),
|
PRIMARY KEY (`code`),
|
||||||
KEY `code` (`code`)
|
KEY `code` (`code`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `ip2nationCountries` WRITE;
|
LOCK TABLES `ip2nationCountries` WRITE;
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `ip_banned`;
|
DROP TABLE IF EXISTS `ip_banned`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `ip_banned`
|
CREATE TABLE `ip_banned`
|
||||||
(
|
(
|
||||||
`ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
|
`ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
|
||||||
`bandate` int(10) unsigned NOT NULL,
|
`bandate` INT unsigned NOT NULL,
|
||||||
`unbandate` int(10) unsigned NOT NULL,
|
`unbandate` INT unsigned NOT NULL,
|
||||||
`bannedby` varchar(50) NOT NULL DEFAULT '[Console]',
|
`bannedby` varchar(50) NOT NULL DEFAULT '[Console]',
|
||||||
`banreason` varchar(255) NOT NULL DEFAULT 'no reason',
|
`banreason` varchar(255) NOT NULL DEFAULT 'no reason',
|
||||||
PRIMARY KEY (`ip`,`bandate`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `ip_banned` WRITE;
|
LOCK TABLES `ip_banned` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `logs`;
|
DROP TABLE IF EXISTS `logs`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `logs`
|
CREATE TABLE `logs`
|
||||||
(
|
(
|
||||||
`time` int(10) unsigned NOT NULL,
|
`time` INT unsigned NOT NULL,
|
||||||
`realm` int(10) unsigned NOT NULL,
|
`realm` INT unsigned NOT NULL,
|
||||||
`type` varchar(250) 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
|
`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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `logs` WRITE;
|
LOCK TABLES `logs` WRITE;
|
||||||
|
|||||||
@@ -6,20 +6,20 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `logs_ip_actions`;
|
DROP TABLE IF EXISTS `logs_ip_actions`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `logs_ip_actions`
|
||||||
(
|
(
|
||||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Identifier',
|
`id` INT unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Identifier',
|
||||||
`account_id` int(10) unsigned NOT NULL COMMENT 'Account ID',
|
`account_id` INT unsigned NOT NULL COMMENT 'Account ID',
|
||||||
`character_guid` int(10) unsigned NOT NULL COMMENT 'Character Guid',
|
`character_guid` INT unsigned NOT NULL COMMENT 'Character Guid',
|
||||||
`type` tinyint(3) unsigned NOT NULL,
|
`type` TINYINT unsigned NOT NULL,
|
||||||
`ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
|
`ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
|
||||||
`systemnote` text DEFAULT NULL COMMENT 'Notes inserted by system',
|
`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',
|
`time` timestamp NOT NULL DEFAULT current_timestamp() COMMENT 'Timestamp',
|
||||||
`comment` text DEFAULT NULL COMMENT 'Allows users to add a comment',
|
`comment` text DEFAULT NULL COMMENT 'Allows users to add a comment',
|
||||||
PRIMARY KEY (`id`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `logs_ip_actions` WRITE;
|
LOCK TABLES `logs_ip_actions` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `realmcharacters`;
|
DROP TABLE IF EXISTS `realmcharacters`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `realmcharacters`
|
CREATE TABLE `realmcharacters`
|
||||||
(
|
(
|
||||||
`realmid` int(10) unsigned NOT NULL DEFAULT 0,
|
`realmid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`acctid` int(10) unsigned NOT NULL,
|
`acctid` INT unsigned NOT NULL,
|
||||||
`numchars` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`numchars` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`realmid`,`acctid`),
|
PRIMARY KEY (`realmid`,`acctid`),
|
||||||
KEY `acctid` (`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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `realmcharacters` WRITE;
|
LOCK TABLES `realmcharacters` WRITE;
|
||||||
|
|||||||
@@ -6,24 +6,25 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `realmlist`;
|
DROP TABLE IF EXISTS `realmlist`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `realmlist`
|
CREATE TABLE `realmlist`
|
||||||
(
|
(
|
||||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
`id` INT unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`name` varchar(32) NOT NULL DEFAULT '',
|
`name` varchar(32) NOT NULL DEFAULT '',
|
||||||
`address` varchar(255) NOT NULL DEFAULT '127.0.0.1',
|
`address` varchar(255) NOT NULL DEFAULT '127.0.0.1',
|
||||||
`localAddress` 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',
|
`localSubnetMask` varchar(255) NOT NULL DEFAULT '255.255.255.0',
|
||||||
`port` smallint(5) unsigned NOT NULL DEFAULT 8085,
|
`port` SMALLINT unsigned NOT NULL DEFAULT 8085,
|
||||||
`icon` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`icon` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`flag` tinyint(3) unsigned NOT NULL DEFAULT 2,
|
`flag` TINYINT unsigned NOT NULL DEFAULT 2,
|
||||||
`timezone` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`timezone` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`allowedSecurityLevel` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`allowedSecurityLevel` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`population` float unsigned NOT NULL DEFAULT 0,
|
`population` FLOAT NOT NULL DEFAULT 0,
|
||||||
`gamebuild` int(10) unsigned NOT NULL DEFAULT 12340,
|
`gamebuild` INT unsigned NOT NULL DEFAULT 12340,
|
||||||
|
CHECK (`population`>=0),
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `idx_name` (`name`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `realmlist` WRITE;
|
LOCK TABLES `realmlist` WRITE;
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `uptime`;
|
DROP TABLE IF EXISTS `uptime`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `uptime`
|
CREATE TABLE `uptime`
|
||||||
(
|
(
|
||||||
`realmid` int(10) unsigned NOT NULL,
|
`realmid` INT unsigned NOT NULL,
|
||||||
`starttime` int(10) unsigned NOT NULL DEFAULT 0,
|
`starttime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`uptime` int(10) unsigned NOT NULL DEFAULT 0,
|
`uptime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`maxplayers` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`maxplayers` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`revision` varchar(255) NOT NULL DEFAULT 'AzerothCore',
|
`revision` varchar(255) NOT NULL DEFAULT 'AzerothCore',
|
||||||
PRIMARY KEY (`realmid`,`starttime`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `uptime` WRITE;
|
LOCK TABLES `uptime` WRITE;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `version_db_auth`;
|
DROP TABLE IF EXISTS `version_db_auth`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `version_db_auth`
|
||||||
(
|
(
|
||||||
`sql_rev` varchar(100) NOT NULL,
|
`sql_rev` varchar(100) NOT NULL,
|
||||||
@@ -15,7 +15,7 @@ CREATE TABLE `version_db_auth`
|
|||||||
PRIMARY KEY (`sql_rev`),
|
PRIMARY KEY (`sql_rev`),
|
||||||
KEY `required` (`required_rev`),
|
KEY `required` (`required_rev`),
|
||||||
CONSTRAINT `required` FOREIGN KEY (`required_rev`) REFERENCES `version_db_auth` (`sql_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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `version_db_auth` WRITE;
|
LOCK TABLES `version_db_auth` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `account_data`;
|
DROP TABLE IF EXISTS `account_data`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `account_data`
|
CREATE TABLE `account_data`
|
||||||
(
|
(
|
||||||
`accountId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
|
`accountId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
|
||||||
`type` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`type` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`time` int(10) unsigned NOT NULL DEFAULT 0,
|
`time` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`data` blob NOT NULL,
|
`data` blob NOT NULL,
|
||||||
PRIMARY KEY (`accountId`,`type`)
|
PRIMARY KEY (`accountId`,`type`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `account_data` WRITE;
|
LOCK TABLES `account_data` WRITE;
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `account_instance_times`;
|
DROP TABLE IF EXISTS `account_instance_times`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `account_instance_times`
|
||||||
(
|
(
|
||||||
`accountId` int(10) unsigned NOT NULL,
|
`accountId` INT unsigned NOT NULL,
|
||||||
`instanceId` int(10) unsigned NOT NULL DEFAULT 0,
|
`instanceId` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`releaseTime` bigint(20) unsigned NOT NULL DEFAULT 0,
|
`releaseTime` BIGINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`accountId`,`instanceId`)
|
PRIMARY KEY (`accountId`,`instanceId`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `account_instance_times` WRITE;
|
LOCK TABLES `account_instance_times` WRITE;
|
||||||
|
|||||||
@@ -6,20 +6,20 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `account_tutorial`;
|
DROP TABLE IF EXISTS `account_tutorial`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `account_tutorial`
|
CREATE TABLE `account_tutorial`
|
||||||
(
|
(
|
||||||
`accountId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
|
`accountId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
|
||||||
`tut0` int(10) unsigned NOT NULL DEFAULT 0,
|
`tut0` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`tut1` int(10) unsigned NOT NULL DEFAULT 0,
|
`tut1` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`tut2` int(10) unsigned NOT NULL DEFAULT 0,
|
`tut2` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`tut3` int(10) unsigned NOT NULL DEFAULT 0,
|
`tut3` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`tut4` int(10) unsigned NOT NULL DEFAULT 0,
|
`tut4` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`tut5` int(10) unsigned NOT NULL DEFAULT 0,
|
`tut5` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`tut6` int(10) unsigned NOT NULL DEFAULT 0,
|
`tut6` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`tut7` int(10) unsigned NOT NULL DEFAULT 0,
|
`tut7` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`accountId`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `account_tutorial` WRITE;
|
LOCK TABLES `account_tutorial` WRITE;
|
||||||
|
|||||||
@@ -6,13 +6,13 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `addons`;
|
DROP TABLE IF EXISTS `addons`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `addons`
|
CREATE TABLE `addons`
|
||||||
(
|
(
|
||||||
`name` varchar(120) NOT NULL DEFAULT '',
|
`name` varchar(120) NOT NULL DEFAULT '',
|
||||||
`crc` int(10) unsigned NOT NULL DEFAULT 0,
|
`crc` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`name`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `addons` WRITE;
|
LOCK TABLES `addons` WRITE;
|
||||||
|
|||||||
@@ -6,26 +6,26 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `arena_team`;
|
DROP TABLE IF EXISTS `arena_team`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `arena_team`
|
CREATE TABLE `arena_team`
|
||||||
(
|
(
|
||||||
`arenaTeamId` int(10) unsigned NOT NULL DEFAULT 0,
|
`arenaTeamId` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`name` varchar(24) NOT NULL,
|
`name` varchar(24) NOT NULL,
|
||||||
`captainGuid` int(10) unsigned NOT NULL DEFAULT 0,
|
`captainGuid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`type` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`type` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`rating` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`rating` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`seasonGames` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`seasonGames` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`seasonWins` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`seasonWins` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`weekGames` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`weekGames` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`weekWins` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`weekWins` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`rank` int(10) unsigned NOT NULL DEFAULT 0,
|
`rank` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`backgroundColor` int(10) unsigned NOT NULL DEFAULT 0,
|
`backgroundColor` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`emblemStyle` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`emblemStyle` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`emblemColor` int(10) unsigned NOT NULL DEFAULT 0,
|
`emblemColor` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`borderStyle` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`borderStyle` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`borderColor` int(10) unsigned NOT NULL DEFAULT 0,
|
`borderColor` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`arenaTeamId`)
|
PRIMARY KEY (`arenaTeamId`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `arena_team` WRITE;
|
LOCK TABLES `arena_team` WRITE;
|
||||||
|
|||||||
@@ -6,18 +6,18 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `arena_team_member`;
|
DROP TABLE IF EXISTS `arena_team_member`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `arena_team_member`
|
||||||
(
|
(
|
||||||
`arenaTeamId` int(10) unsigned NOT NULL DEFAULT 0,
|
`arenaTeamId` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`weekGames` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`weekGames` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`weekWins` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`weekWins` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`seasonGames` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`seasonGames` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`seasonWins` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`seasonWins` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`personalRating` smallint(5) NOT NULL DEFAULT 0,
|
`personalRating` SMALLINT NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`arenaTeamId`,`guid`)
|
PRIMARY KEY (`arenaTeamId`,`guid`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `arena_team_member` WRITE;
|
LOCK TABLES `arena_team_member` WRITE;
|
||||||
|
|||||||
@@ -6,22 +6,22 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `auctionhouse`;
|
DROP TABLE IF EXISTS `auctionhouse`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `auctionhouse`
|
CREATE TABLE `auctionhouse`
|
||||||
(
|
(
|
||||||
`id` int(10) unsigned NOT NULL DEFAULT 0,
|
`id` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`auctioneerguid` int(10) unsigned NOT NULL DEFAULT 0,
|
`auctioneerguid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`itemguid` int(10) unsigned NOT NULL DEFAULT 0,
|
`itemguid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`itemowner` int(10) unsigned NOT NULL DEFAULT 0,
|
`itemowner` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`buyoutprice` int(10) unsigned NOT NULL DEFAULT 0,
|
`buyoutprice` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`time` int(10) unsigned NOT NULL DEFAULT 0,
|
`time` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`buyguid` int(10) unsigned NOT NULL DEFAULT 0,
|
`buyguid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`lastbid` int(10) unsigned NOT NULL DEFAULT 0,
|
`lastbid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`startbid` int(10) unsigned NOT NULL DEFAULT 0,
|
`startbid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`deposit` int(10) unsigned NOT NULL DEFAULT 0,
|
`deposit` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
UNIQUE KEY `item_guid` (`itemguid`)
|
UNIQUE KEY `item_guid` (`itemguid`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `auctionhouse` WRITE;
|
LOCK TABLES `auctionhouse` WRITE;
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `banned_addons`;
|
DROP TABLE IF EXISTS `banned_addons`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `banned_addons`
|
CREATE TABLE `banned_addons`
|
||||||
(
|
(
|
||||||
`Id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
`Id` INT unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`Name` varchar(255) NOT NULL,
|
`Name` varchar(255) NOT NULL,
|
||||||
`Version` varchar(255) NOT NULL DEFAULT '',
|
`Version` varchar(255) NOT NULL DEFAULT '',
|
||||||
`Timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
`Timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||||
PRIMARY KEY (`Id`),
|
PRIMARY KEY (`Id`),
|
||||||
UNIQUE KEY `idx_name_ver` (`Name`,`Version`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `banned_addons` WRITE;
|
LOCK TABLES `banned_addons` WRITE;
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `battleground_deserters`;
|
DROP TABLE IF EXISTS `battleground_deserters`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `battleground_deserters`
|
CREATE TABLE `battleground_deserters`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL COMMENT 'characters.guid',
|
`guid` INT unsigned NOT NULL COMMENT 'characters.guid',
|
||||||
`type` tinyint(3) unsigned NOT NULL COMMENT 'type of the desertion',
|
`type` TINYINT unsigned NOT NULL COMMENT 'type of the desertion',
|
||||||
`datetime` datetime NOT NULL COMMENT 'datetime of the desertion'
|
`datetime` datetime NOT NULL COMMENT 'datetime of the desertion'
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `bugreport`;
|
DROP TABLE IF EXISTS `bugreport`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `bugreport`
|
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,
|
`type` longtext NOT NULL,
|
||||||
`content` longtext NOT NULL,
|
`content` longtext NOT NULL,
|
||||||
PRIMARY KEY (`id`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `bugreport` WRITE;
|
LOCK TABLES `bugreport` WRITE;
|
||||||
|
|||||||
@@ -6,20 +6,20 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `calendar_events`;
|
DROP TABLE IF EXISTS `calendar_events`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `calendar_events`
|
CREATE TABLE `calendar_events`
|
||||||
(
|
(
|
||||||
`id` bigint(20) unsigned NOT NULL DEFAULT 0,
|
`id` BIGINT unsigned NOT NULL DEFAULT 0,
|
||||||
`creator` int(10) unsigned NOT NULL DEFAULT 0,
|
`creator` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`title` varchar(255) NOT NULL DEFAULT '',
|
`title` varchar(255) NOT NULL DEFAULT '',
|
||||||
`description` varchar(255) NOT NULL DEFAULT '',
|
`description` varchar(255) NOT NULL DEFAULT '',
|
||||||
`type` tinyint(1) unsigned NOT NULL DEFAULT 4,
|
`type` TINYINT unsigned NOT NULL DEFAULT 4,
|
||||||
`dungeon` int(10) NOT NULL DEFAULT -1,
|
`dungeon` INT NOT NULL DEFAULT -1,
|
||||||
`eventtime` int(10) unsigned NOT NULL DEFAULT 0,
|
`eventtime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`flags` int(10) unsigned NOT NULL DEFAULT 0,
|
`flags` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`time2` int(10) unsigned NOT NULL DEFAULT 0,
|
`time2` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `calendar_events` WRITE;
|
LOCK TABLES `calendar_events` WRITE;
|
||||||
|
|||||||
@@ -6,19 +6,19 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `calendar_invites`;
|
DROP TABLE IF EXISTS `calendar_invites`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `calendar_invites`
|
CREATE TABLE `calendar_invites`
|
||||||
(
|
(
|
||||||
`id` bigint(20) unsigned NOT NULL DEFAULT 0,
|
`id` BIGINT unsigned NOT NULL DEFAULT 0,
|
||||||
`event` bigint(20) unsigned NOT NULL DEFAULT 0,
|
`event` BIGINT unsigned NOT NULL DEFAULT 0,
|
||||||
`invitee` int(10) unsigned NOT NULL DEFAULT 0,
|
`invitee` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`sender` int(10) unsigned NOT NULL DEFAULT 0,
|
`sender` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`status` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
`status` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`statustime` int(10) unsigned NOT NULL DEFAULT 0,
|
`statustime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`rank` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
`rank` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`text` varchar(255) NOT NULL DEFAULT '',
|
`text` varchar(255) NOT NULL DEFAULT '',
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `calendar_invites` WRITE;
|
LOCK TABLES `calendar_invites` WRITE;
|
||||||
|
|||||||
@@ -6,18 +6,18 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `channels`;
|
DROP TABLE IF EXISTS `channels`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `channels`
|
CREATE TABLE `channels`
|
||||||
(
|
(
|
||||||
`channelId` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
`channelId` INT unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`name` varchar(128) NOT NULL,
|
`name` varchar(128) NOT NULL,
|
||||||
`team` int(10) unsigned NOT NULL,
|
`team` INT unsigned NOT NULL,
|
||||||
`announce` tinyint(3) unsigned NOT NULL DEFAULT 1,
|
`announce` TINYINT unsigned NOT NULL DEFAULT 1,
|
||||||
`ownership` tinyint(3) unsigned NOT NULL DEFAULT 1,
|
`ownership` TINYINT unsigned NOT NULL DEFAULT 1,
|
||||||
`password` varchar(32) DEFAULT NULL,
|
`password` varchar(32) DEFAULT NULL,
|
||||||
`lastUsed` int(10) unsigned NOT NULL,
|
`lastUsed` INT unsigned NOT NULL,
|
||||||
PRIMARY KEY (`channelId`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `channels` WRITE;
|
LOCK TABLES `channels` WRITE;
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `channels_bans`;
|
DROP TABLE IF EXISTS `channels_bans`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `channels_bans`
|
CREATE TABLE `channels_bans`
|
||||||
(
|
(
|
||||||
`channelId` int(10) unsigned NOT NULL,
|
`channelId` INT unsigned NOT NULL,
|
||||||
`playerGUID` int(10) unsigned NOT NULL,
|
`playerGUID` INT unsigned NOT NULL,
|
||||||
`banTime` int(10) unsigned NOT NULL,
|
`banTime` INT unsigned NOT NULL,
|
||||||
PRIMARY KEY (`channelId`,`playerGUID`)
|
PRIMARY KEY (`channelId`,`playerGUID`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `channels_bans` WRITE;
|
LOCK TABLES `channels_bans` WRITE;
|
||||||
|
|||||||
@@ -6,17 +6,17 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `channels_rights`;
|
DROP TABLE IF EXISTS `channels_rights`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `channels_rights`
|
CREATE TABLE `channels_rights`
|
||||||
(
|
(
|
||||||
`name` varchar(128) NOT NULL,
|
`name` varchar(128) NOT NULL,
|
||||||
`flags` int(10) unsigned NOT NULL,
|
`flags` INT unsigned NOT NULL,
|
||||||
`speakdelay` int(10) unsigned NOT NULL,
|
`speakdelay` INT unsigned NOT NULL,
|
||||||
`joinmessage` varchar(255) NOT NULL DEFAULT '',
|
`joinmessage` varchar(255) NOT NULL DEFAULT '',
|
||||||
`delaymessage` varchar(255) NOT NULL DEFAULT '',
|
`delaymessage` varchar(255) NOT NULL DEFAULT '',
|
||||||
`moderators` text DEFAULT NULL,
|
`moderators` text DEFAULT NULL,
|
||||||
PRIMARY KEY (`name`)
|
PRIMARY KEY (`name`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `channels_rights` WRITE;
|
LOCK TABLES `channels_rights` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_account_data`;
|
DROP TABLE IF EXISTS `character_account_data`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `character_account_data`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`type` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`type` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`time` int(10) unsigned NOT NULL DEFAULT 0,
|
`time` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`data` blob NOT NULL,
|
`data` blob NOT NULL,
|
||||||
PRIMARY KEY (`guid`,`type`)
|
PRIMARY KEY (`guid`,`type`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_account_data` WRITE;
|
LOCK TABLES `character_account_data` WRITE;
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_achievement`;
|
DROP TABLE IF EXISTS `character_achievement`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_achievement`
|
CREATE TABLE `character_achievement`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL,
|
`guid` INT unsigned NOT NULL,
|
||||||
`achievement` smallint(5) unsigned NOT NULL,
|
`achievement` SMALLINT unsigned NOT NULL,
|
||||||
`date` int(10) unsigned NOT NULL DEFAULT 0,
|
`date` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`,`achievement`)
|
PRIMARY KEY (`guid`,`achievement`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_achievement` WRITE;
|
LOCK TABLES `character_achievement` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_achievement_progress`;
|
DROP TABLE IF EXISTS `character_achievement_progress`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `character_achievement_progress`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL,
|
`guid` INT unsigned NOT NULL,
|
||||||
`criteria` smallint(5) unsigned NOT NULL,
|
`criteria` SMALLINT unsigned NOT NULL,
|
||||||
`counter` int(10) unsigned NOT NULL,
|
`counter` INT unsigned NOT NULL,
|
||||||
`date` int(10) unsigned NOT NULL DEFAULT 0,
|
`date` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`,`criteria`)
|
PRIMARY KEY (`guid`,`criteria`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_achievement_progress` WRITE;
|
LOCK TABLES `character_achievement_progress` WRITE;
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_action`;
|
DROP TABLE IF EXISTS `character_action`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_action`
|
CREATE TABLE `character_action`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`spec` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`spec` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`button` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`button` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`action` int(10) unsigned NOT NULL DEFAULT 0,
|
`action` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`type` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`type` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`,`spec`,`button`)
|
PRIMARY KEY (`guid`,`spec`,`button`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_action` WRITE;
|
LOCK TABLES `character_action` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_arena_stats`;
|
DROP TABLE IF EXISTS `character_arena_stats`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `character_arena_stats`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`slot` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`slot` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`matchMakerRating` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`matchMakerRating` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`maxMMR` smallint(5) NOT NULL,
|
`maxMMR` SMALLINT NOT NULL,
|
||||||
PRIMARY KEY (`guid`,`slot`)
|
PRIMARY KEY (`guid`,`slot`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_arena_stats` WRITE;
|
LOCK TABLES `character_arena_stats` WRITE;
|
||||||
|
|||||||
@@ -6,27 +6,27 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_aura`;
|
DROP TABLE IF EXISTS `character_aura`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_aura`
|
CREATE TABLE `character_aura`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`casterGuid` bigint(20) unsigned NOT NULL DEFAULT 0 COMMENT 'Full Global Unique Identifier',
|
`casterGuid` BIGINT unsigned NOT NULL DEFAULT 0 COMMENT 'Full Global Unique Identifier',
|
||||||
`itemGuid` bigint(20) unsigned NOT NULL DEFAULT 0,
|
`itemGuid` BIGINT unsigned NOT NULL DEFAULT 0,
|
||||||
`spell` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
|
||||||
`effectMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`effectMask` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`recalculateMask` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`stackCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
|
`stackCount` TINYINT unsigned NOT NULL DEFAULT 1,
|
||||||
`amount0` int(11) NOT NULL DEFAULT 0,
|
`amount0` INT NOT NULL DEFAULT 0,
|
||||||
`amount1` int(11) NOT NULL DEFAULT 0,
|
`amount1` INT NOT NULL DEFAULT 0,
|
||||||
`amount2` int(11) NOT NULL DEFAULT 0,
|
`amount2` INT NOT NULL DEFAULT 0,
|
||||||
`base_amount0` int(11) NOT NULL DEFAULT 0,
|
`base_amount0` INT NOT NULL DEFAULT 0,
|
||||||
`base_amount1` int(11) NOT NULL DEFAULT 0,
|
`base_amount1` INT NOT NULL DEFAULT 0,
|
||||||
`base_amount2` int(11) NOT NULL DEFAULT 0,
|
`base_amount2` INT NOT NULL DEFAULT 0,
|
||||||
`maxDuration` int(11) NOT NULL DEFAULT 0,
|
`maxDuration` INT NOT NULL DEFAULT 0,
|
||||||
`remainTime` int(11) NOT NULL DEFAULT 0,
|
`remainTime` INT NOT NULL DEFAULT 0,
|
||||||
`remainCharges` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`remainCharges` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`,`casterGuid`,`itemGuid`,`spell`,`effectMask`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_aura` WRITE;
|
LOCK TABLES `character_aura` WRITE;
|
||||||
|
|||||||
@@ -6,17 +6,17 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_banned`;
|
DROP TABLE IF EXISTS `character_banned`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_banned`
|
CREATE TABLE `character_banned`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`bandate` int(10) unsigned NOT NULL DEFAULT 0,
|
`bandate` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`unbandate` int(10) unsigned NOT NULL DEFAULT 0,
|
`unbandate` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`bannedby` varchar(50) NOT NULL,
|
`bannedby` varchar(50) NOT NULL,
|
||||||
`banreason` varchar(255) 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`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_banned` WRITE;
|
LOCK TABLES `character_banned` WRITE;
|
||||||
|
|||||||
@@ -6,12 +6,12 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_battleground_random`;
|
DROP TABLE IF EXISTS `character_battleground_random`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `character_battleground_random`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`)
|
PRIMARY KEY (`guid`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_battleground_random` WRITE;
|
LOCK TABLES `character_battleground_random` WRITE;
|
||||||
|
|||||||
@@ -6,13 +6,13 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_brew_of_the_month`;
|
DROP TABLE IF EXISTS `character_brew_of_the_month`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `character_brew_of_the_month`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL,
|
`guid` INT unsigned NOT NULL,
|
||||||
`lastEventId` int(10) unsigned NOT NULL DEFAULT 0,
|
`lastEventId` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`)
|
PRIMARY KEY (`guid`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_brew_of_the_month` WRITE;
|
LOCK TABLES `character_brew_of_the_month` WRITE;
|
||||||
|
|||||||
@@ -6,17 +6,17 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_declinedname`;
|
DROP TABLE IF EXISTS `character_declinedname`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_declinedname`
|
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 '',
|
`genitive` varchar(15) NOT NULL DEFAULT '',
|
||||||
`dative` varchar(15) NOT NULL DEFAULT '',
|
`dative` varchar(15) NOT NULL DEFAULT '',
|
||||||
`accusative` varchar(15) NOT NULL DEFAULT '',
|
`accusative` varchar(15) NOT NULL DEFAULT '',
|
||||||
`instrumental` varchar(15) NOT NULL DEFAULT '',
|
`instrumental` varchar(15) NOT NULL DEFAULT '',
|
||||||
`prepositional` varchar(15) NOT NULL DEFAULT '',
|
`prepositional` varchar(15) NOT NULL DEFAULT '',
|
||||||
PRIMARY KEY (`guid`)
|
PRIMARY KEY (`guid`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_declinedname` WRITE;
|
LOCK TABLES `character_declinedname` WRITE;
|
||||||
|
|||||||
@@ -6,19 +6,19 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_entry_point`;
|
DROP TABLE IF EXISTS `character_entry_point`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
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,
|
`joinX` float NOT NULL DEFAULT 0,
|
||||||
`joinY` float NOT NULL DEFAULT 0,
|
`joinY` float NOT NULL DEFAULT 0,
|
||||||
`joinZ` float NOT NULL DEFAULT 0,
|
`joinZ` float NOT NULL DEFAULT 0,
|
||||||
`joinO` 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,
|
`taxiPath` text DEFAULT NULL,
|
||||||
`mountSpell` int(10) unsigned NOT NULL DEFAULT 0,
|
`mountSpell` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_entry_point` WRITE;
|
LOCK TABLES `character_entry_point` WRITE;
|
||||||
|
|||||||
@@ -6,38 +6,38 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_equipmentsets`;
|
DROP TABLE IF EXISTS `character_equipmentsets`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_equipmentsets`
|
CREATE TABLE `character_equipmentsets`
|
||||||
(
|
(
|
||||||
`guid` int(10) NOT NULL DEFAULT 0,
|
`guid` INT NOT NULL DEFAULT 0,
|
||||||
`setguid` bigint(20) NOT NULL AUTO_INCREMENT,
|
`setguid` BIGINT NOT NULL AUTO_INCREMENT,
|
||||||
`setindex` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`setindex` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`name` varchar(31) NOT NULL,
|
`name` varchar(31) NOT NULL,
|
||||||
`iconname` varchar(100) NOT NULL,
|
`iconname` varchar(100) NOT NULL,
|
||||||
`ignore_mask` int(11) unsigned NOT NULL DEFAULT 0,
|
`ignore_mask` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item0` int(11) unsigned NOT NULL DEFAULT 0,
|
`item0` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item1` int(11) unsigned NOT NULL DEFAULT 0,
|
`item1` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item2` int(11) unsigned NOT NULL DEFAULT 0,
|
`item2` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item3` int(11) unsigned NOT NULL DEFAULT 0,
|
`item3` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item4` int(11) unsigned NOT NULL DEFAULT 0,
|
`item4` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item5` int(11) unsigned NOT NULL DEFAULT 0,
|
`item5` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item6` int(11) unsigned NOT NULL DEFAULT 0,
|
`item6` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item7` int(11) unsigned NOT NULL DEFAULT 0,
|
`item7` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item8` int(11) unsigned NOT NULL DEFAULT 0,
|
`item8` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item9` int(11) unsigned NOT NULL DEFAULT 0,
|
`item9` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item10` int(11) unsigned NOT NULL DEFAULT 0,
|
`item10` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item11` int(11) unsigned NOT NULL DEFAULT 0,
|
`item11` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item12` int(11) unsigned NOT NULL DEFAULT 0,
|
`item12` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item13` int(11) unsigned NOT NULL DEFAULT 0,
|
`item13` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item14` int(11) unsigned NOT NULL DEFAULT 0,
|
`item14` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item15` int(11) unsigned NOT NULL DEFAULT 0,
|
`item15` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item16` int(11) unsigned NOT NULL DEFAULT 0,
|
`item16` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item17` int(11) unsigned NOT NULL DEFAULT 0,
|
`item17` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item18` int(11) unsigned NOT NULL DEFAULT 0,
|
`item18` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`setguid`),
|
PRIMARY KEY (`setguid`),
|
||||||
UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`),
|
UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`),
|
||||||
KEY `Idx_setindex` (`setindex`)
|
KEY `Idx_setindex` (`setindex`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_equipmentsets` WRITE;
|
LOCK TABLES `character_equipmentsets` WRITE;
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_gifts`;
|
DROP TABLE IF EXISTS `character_gifts`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_gifts`
|
CREATE TABLE `character_gifts`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item_guid` int(10) unsigned NOT NULL DEFAULT 0,
|
`item_guid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
`entry` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`flags` int(10) unsigned NOT NULL DEFAULT 0,
|
`flags` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`item_guid`),
|
PRIMARY KEY (`item_guid`),
|
||||||
KEY `idx_guid` (`guid`)
|
KEY `idx_guid` (`guid`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_gifts` WRITE;
|
LOCK TABLES `character_gifts` WRITE;
|
||||||
|
|||||||
@@ -6,19 +6,19 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_glyphs`;
|
DROP TABLE IF EXISTS `character_glyphs`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_glyphs`
|
CREATE TABLE `character_glyphs`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL,
|
`guid` INT unsigned NOT NULL,
|
||||||
`talentGroup` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`talentGroup` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`glyph1` smallint(5) unsigned DEFAULT 0,
|
`glyph1` SMALLINT unsigned DEFAULT 0,
|
||||||
`glyph2` smallint(5) unsigned DEFAULT 0,
|
`glyph2` SMALLINT unsigned DEFAULT 0,
|
||||||
`glyph3` smallint(5) unsigned DEFAULT 0,
|
`glyph3` SMALLINT unsigned DEFAULT 0,
|
||||||
`glyph4` smallint(5) unsigned DEFAULT 0,
|
`glyph4` SMALLINT unsigned DEFAULT 0,
|
||||||
`glyph5` smallint(5) unsigned DEFAULT 0,
|
`glyph5` SMALLINT unsigned DEFAULT 0,
|
||||||
`glyph6` smallint(5) unsigned DEFAULT 0,
|
`glyph6` SMALLINT unsigned DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`,`talentGroup`)
|
PRIMARY KEY (`guid`,`talentGroup`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_glyphs` WRITE;
|
LOCK TABLES `character_glyphs` WRITE;
|
||||||
|
|||||||
@@ -6,17 +6,17 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_homebind`;
|
DROP TABLE IF EXISTS `character_homebind`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_homebind`
|
CREATE TABLE `character_homebind`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`mapId` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
|
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
|
||||||
`zoneId` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Zone Identifier',
|
`zoneId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Zone Identifier',
|
||||||
`posX` float NOT NULL DEFAULT 0,
|
`posX` float NOT NULL DEFAULT 0,
|
||||||
`posY` float NOT NULL DEFAULT 0,
|
`posY` float NOT NULL DEFAULT 0,
|
||||||
`posZ` float NOT NULL DEFAULT 0,
|
`posZ` float NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_homebind` WRITE;
|
LOCK TABLES `character_homebind` WRITE;
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_instance`;
|
DROP TABLE IF EXISTS `character_instance`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_instance`
|
CREATE TABLE `character_instance`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`instance` int(10) unsigned NOT NULL DEFAULT 0,
|
`instance` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`permanent` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`permanent` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`extended` tinyint(3) unsigned NOT NULL,
|
`extended` TINYINT unsigned NOT NULL,
|
||||||
PRIMARY KEY (`guid`,`instance`),
|
PRIMARY KEY (`guid`,`instance`),
|
||||||
KEY `instance` (`instance`)
|
KEY `instance` (`instance`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_instance` WRITE;
|
LOCK TABLES `character_instance` WRITE;
|
||||||
|
|||||||
@@ -6,17 +6,17 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_inventory`;
|
DROP TABLE IF EXISTS `character_inventory`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_inventory`
|
CREATE TABLE `character_inventory`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`bag` int(10) unsigned NOT NULL DEFAULT 0,
|
`bag` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`slot` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`slot` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`item` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Item Global Unique Identifier',
|
`item` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Item Global Unique Identifier',
|
||||||
PRIMARY KEY (`item`),
|
PRIMARY KEY (`item`),
|
||||||
UNIQUE KEY `guid` (`guid`,`bag`,`slot`),
|
UNIQUE KEY `guid` (`guid`,`bag`,`slot`),
|
||||||
KEY `idx_guid` (`guid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_inventory` WRITE;
|
LOCK TABLES `character_inventory` WRITE;
|
||||||
|
|||||||
@@ -6,30 +6,30 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_pet`;
|
DROP TABLE IF EXISTS `character_pet`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_pet`
|
CREATE TABLE `character_pet`
|
||||||
(
|
(
|
||||||
`id` int(10) unsigned NOT NULL DEFAULT 0,
|
`id` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
`entry` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`owner` int(10) unsigned NOT NULL DEFAULT 0,
|
`owner` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`modelid` int(10) unsigned DEFAULT 0,
|
`modelid` INT unsigned DEFAULT 0,
|
||||||
`CreatedBySpell` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
`CreatedBySpell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
|
||||||
`PetType` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`PetType` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`level` smallint(5) unsigned NOT NULL DEFAULT 1,
|
`level` SMALLINT unsigned NOT NULL DEFAULT 1,
|
||||||
`exp` int(10) unsigned NOT NULL DEFAULT 0,
|
`exp` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`Reactstate` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`Reactstate` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`name` varchar(21) NOT NULL DEFAULT 'Pet',
|
`name` varchar(21) NOT NULL DEFAULT 'Pet',
|
||||||
`renamed` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`renamed` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`slot` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`slot` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`curhealth` int(10) unsigned NOT NULL DEFAULT 1,
|
`curhealth` INT unsigned NOT NULL DEFAULT 1,
|
||||||
`curmana` int(10) unsigned NOT NULL DEFAULT 0,
|
`curmana` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`curhappiness` int(10) unsigned NOT NULL DEFAULT 0,
|
`curhappiness` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`savetime` int(10) unsigned NOT NULL DEFAULT 0,
|
`savetime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`abdata` text DEFAULT NULL,
|
`abdata` text DEFAULT NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `owner` (`owner`),
|
KEY `owner` (`owner`),
|
||||||
KEY `idx_slot` (`slot`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_pet` WRITE;
|
LOCK TABLES `character_pet` WRITE;
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_pet_declinedname`;
|
DROP TABLE IF EXISTS `character_pet_declinedname`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `character_pet_declinedname`
|
||||||
(
|
(
|
||||||
`id` int(10) unsigned NOT NULL DEFAULT 0,
|
`id` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`owner` int(10) unsigned NOT NULL DEFAULT 0,
|
`owner` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`genitive` varchar(12) NOT NULL DEFAULT '',
|
`genitive` varchar(12) NOT NULL DEFAULT '',
|
||||||
`dative` varchar(12) NOT NULL DEFAULT '',
|
`dative` varchar(12) NOT NULL DEFAULT '',
|
||||||
`accusative` 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 '',
|
`prepositional` varchar(12) NOT NULL DEFAULT '',
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `owner_key` (`owner`)
|
KEY `owner_key` (`owner`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_pet_declinedname` WRITE;
|
LOCK TABLES `character_pet_declinedname` WRITE;
|
||||||
|
|||||||
@@ -6,27 +6,27 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_queststatus`;
|
DROP TABLE IF EXISTS `character_queststatus`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_queststatus`
|
CREATE TABLE `character_queststatus`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`quest` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
|
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
|
||||||
`status` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`status` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`explored` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`explored` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`timer` int(10) unsigned NOT NULL DEFAULT 0,
|
`timer` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`mobcount1` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`mobcount1` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`mobcount2` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`mobcount2` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`mobcount3` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`mobcount3` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`mobcount4` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`mobcount4` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`itemcount1` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`itemcount1` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`itemcount2` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`itemcount2` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`itemcount3` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`itemcount3` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`itemcount4` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`itemcount4` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`itemcount5` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`itemcount5` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`itemcount6` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`itemcount6` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`playercount` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`playercount` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`,`quest`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_queststatus` WRITE;
|
LOCK TABLES `character_queststatus` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_queststatus_daily`;
|
DROP TABLE IF EXISTS `character_queststatus_daily`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `character_queststatus_daily`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`quest` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
|
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
|
||||||
`time` int(10) unsigned NOT NULL DEFAULT 0,
|
`time` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`,`quest`),
|
PRIMARY KEY (`guid`,`quest`),
|
||||||
KEY `idx_guid` (`guid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_queststatus_daily` WRITE;
|
LOCK TABLES `character_queststatus_daily` WRITE;
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_queststatus_monthly`;
|
DROP TABLE IF EXISTS `character_queststatus_monthly`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `character_queststatus_monthly`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`quest` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
|
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
|
||||||
PRIMARY KEY (`guid`,`quest`),
|
PRIMARY KEY (`guid`,`quest`),
|
||||||
KEY `idx_guid` (`guid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_queststatus_monthly` WRITE;
|
LOCK TABLES `character_queststatus_monthly` WRITE;
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_queststatus_rewarded`;
|
DROP TABLE IF EXISTS `character_queststatus_rewarded`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `character_queststatus_rewarded`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`quest` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
|
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
|
||||||
`active` tinyint(3) unsigned NOT NULL DEFAULT 1,
|
`active` TINYINT unsigned NOT NULL DEFAULT 1,
|
||||||
PRIMARY KEY (`guid`,`quest`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_queststatus_rewarded` WRITE;
|
LOCK TABLES `character_queststatus_rewarded` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_queststatus_seasonal`;
|
DROP TABLE IF EXISTS `character_queststatus_seasonal`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `character_queststatus_seasonal`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`quest` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
|
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
|
||||||
`event` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Event Identifier',
|
`event` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Event Identifier',
|
||||||
PRIMARY KEY (`guid`,`quest`),
|
PRIMARY KEY (`guid`,`quest`),
|
||||||
KEY `idx_guid` (`guid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_queststatus_seasonal` WRITE;
|
LOCK TABLES `character_queststatus_seasonal` WRITE;
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_queststatus_weekly`;
|
DROP TABLE IF EXISTS `character_queststatus_weekly`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `character_queststatus_weekly`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`quest` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
|
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
|
||||||
PRIMARY KEY (`guid`,`quest`),
|
PRIMARY KEY (`guid`,`quest`),
|
||||||
KEY `idx_guid` (`guid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_queststatus_weekly` WRITE;
|
LOCK TABLES `character_queststatus_weekly` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_reputation`;
|
DROP TABLE IF EXISTS `character_reputation`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_reputation`
|
CREATE TABLE `character_reputation`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`faction` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`faction` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`standing` int(11) NOT NULL DEFAULT 0,
|
`standing` INT NOT NULL DEFAULT 0,
|
||||||
`flags` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`flags` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`,`faction`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_reputation` WRITE;
|
LOCK TABLES `character_reputation` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_skills`;
|
DROP TABLE IF EXISTS `character_skills`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_skills`
|
CREATE TABLE `character_skills`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL COMMENT 'Global Unique Identifier',
|
||||||
`skill` smallint(5) unsigned NOT NULL,
|
`skill` SMALLINT unsigned NOT NULL,
|
||||||
`value` smallint(5) unsigned NOT NULL,
|
`value` SMALLINT unsigned NOT NULL,
|
||||||
`max` smallint(5) unsigned NOT NULL,
|
`max` SMALLINT unsigned NOT NULL,
|
||||||
PRIMARY KEY (`guid`,`skill`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_skills` WRITE;
|
LOCK TABLES `character_skills` WRITE;
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_social`;
|
DROP TABLE IF EXISTS `character_social`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_social`
|
CREATE TABLE `character_social`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
|
||||||
`friend` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Friend Global Unique Identifier',
|
`friend` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Friend Global Unique Identifier',
|
||||||
`flags` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Friend Flags',
|
`flags` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Friend Flags',
|
||||||
`note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note',
|
`note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note',
|
||||||
PRIMARY KEY (`guid`,`friend`,`flags`),
|
PRIMARY KEY (`guid`,`friend`,`flags`),
|
||||||
KEY `friend` (`friend`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_social` WRITE;
|
LOCK TABLES `character_social` WRITE;
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_spell`;
|
DROP TABLE IF EXISTS `character_spell`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_spell`
|
CREATE TABLE `character_spell`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`spell` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
|
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
|
||||||
`specMask` tinyint(3) unsigned NOT NULL DEFAULT 1,
|
`specMask` TINYINT unsigned NOT NULL DEFAULT 1,
|
||||||
PRIMARY KEY (`guid`,`spell`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_spell` WRITE;
|
LOCK TABLES `character_spell` WRITE;
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_spell_cooldown`;
|
DROP TABLE IF EXISTS `character_spell_cooldown`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `character_spell_cooldown`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
|
||||||
`spell` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
|
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
|
||||||
`item` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Item Identifier',
|
`item` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Item Identifier',
|
||||||
`time` int(10) unsigned NOT NULL DEFAULT 0,
|
`time` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`needSend` tinyint(3) unsigned NOT NULL DEFAULT 1,
|
`needSend` TINYINT unsigned NOT NULL DEFAULT 1,
|
||||||
PRIMARY KEY (`guid`,`spell`)
|
PRIMARY KEY (`guid`,`spell`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_spell_cooldown` WRITE;
|
LOCK TABLES `character_spell_cooldown` WRITE;
|
||||||
|
|||||||
@@ -6,42 +6,43 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_stats`;
|
DROP TABLE IF EXISTS `character_stats`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_stats`
|
CREATE TABLE `character_stats`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
|
||||||
`maxhealth` int(10) unsigned NOT NULL DEFAULT 0,
|
`maxhealth` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`maxpower1` int(10) unsigned NOT NULL DEFAULT 0,
|
`maxpower1` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`maxpower2` int(10) unsigned NOT NULL DEFAULT 0,
|
`maxpower2` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`maxpower3` int(10) unsigned NOT NULL DEFAULT 0,
|
`maxpower3` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`maxpower4` int(10) unsigned NOT NULL DEFAULT 0,
|
`maxpower4` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`maxpower5` int(10) unsigned NOT NULL DEFAULT 0,
|
`maxpower5` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`maxpower6` int(10) unsigned NOT NULL DEFAULT 0,
|
`maxpower6` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`maxpower7` int(10) unsigned NOT NULL DEFAULT 0,
|
`maxpower7` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`strength` int(10) unsigned NOT NULL DEFAULT 0,
|
`strength` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`agility` int(10) unsigned NOT NULL DEFAULT 0,
|
`agility` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`stamina` int(10) unsigned NOT NULL DEFAULT 0,
|
`stamina` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`intellect` int(10) unsigned NOT NULL DEFAULT 0,
|
`intellect` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`spirit` int(10) unsigned NOT NULL DEFAULT 0,
|
`spirit` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`armor` int(10) unsigned NOT NULL DEFAULT 0,
|
`armor` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`resHoly` int(10) unsigned NOT NULL DEFAULT 0,
|
`resHoly` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`resFire` int(10) unsigned NOT NULL DEFAULT 0,
|
`resFire` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`resNature` int(10) unsigned NOT NULL DEFAULT 0,
|
`resNature` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`resFrost` int(10) unsigned NOT NULL DEFAULT 0,
|
`resFrost` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`resShadow` int(10) unsigned NOT NULL DEFAULT 0,
|
`resShadow` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`resArcane` int(10) unsigned NOT NULL DEFAULT 0,
|
`resArcane` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`blockPct` float unsigned NOT NULL DEFAULT 0,
|
`blockPct` FLOAT NOT NULL DEFAULT 0,
|
||||||
`dodgePct` float unsigned NOT NULL DEFAULT 0,
|
`dodgePct` FLOAT NOT NULL DEFAULT 0,
|
||||||
`parryPct` float unsigned NOT NULL DEFAULT 0,
|
`parryPct` FLOAT NOT NULL DEFAULT 0,
|
||||||
`critPct` float unsigned NOT NULL DEFAULT 0,
|
`critPct` FLOAT NOT NULL DEFAULT 0,
|
||||||
`rangedCritPct` float unsigned NOT NULL DEFAULT 0,
|
`rangedCritPct` FLOAT NOT NULL DEFAULT 0,
|
||||||
`spellCritPct` float unsigned NOT NULL DEFAULT 0,
|
`spellCritPct` FLOAT NOT NULL DEFAULT 0,
|
||||||
`attackPower` int(10) unsigned NOT NULL DEFAULT 0,
|
`attackPower` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`rangedAttackPower` int(10) unsigned NOT NULL DEFAULT 0,
|
`rangedAttackPower` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`spellPower` int(10) unsigned NOT NULL DEFAULT 0,
|
`spellPower` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`resilience` int(10) 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`)
|
PRIMARY KEY (`guid`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_stats` WRITE;
|
LOCK TABLES `character_stats` WRITE;
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `character_talent`;
|
DROP TABLE IF EXISTS `character_talent`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `character_talent`
|
CREATE TABLE `character_talent`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL,
|
`guid` INT unsigned NOT NULL,
|
||||||
`spell` mediumint(8) unsigned NOT NULL,
|
`spell` MEDIUMINT unsigned NOT NULL,
|
||||||
`specMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`specMask` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`,`spell`)
|
PRIMARY KEY (`guid`,`spell`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `character_talent` WRITE;
|
LOCK TABLES `character_talent` WRITE;
|
||||||
|
|||||||
@@ -6,91 +6,91 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `characters`;
|
DROP TABLE IF EXISTS `characters`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `characters`
|
CREATE TABLE `characters`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`account` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
|
`account` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
|
||||||
`name` varchar(12) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
|
`name` varchar(12) CHARACTER SET UTF8MB4 COLLATE utf8mb4_bin NOT NULL,
|
||||||
`race` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`race` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`class` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`class` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`gender` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`gender` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`level` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`level` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`xp` int(10) unsigned NOT NULL DEFAULT 0,
|
`xp` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`money` int(10) unsigned NOT NULL DEFAULT 0,
|
`money` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`skin` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`skin` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`face` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`face` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`hairStyle` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`hairStyle` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`hairColor` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`hairColor` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`facialStyle` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`facialStyle` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`bankSlots` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`bankSlots` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`restState` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`restState` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`playerFlags` int(10) unsigned NOT NULL DEFAULT 0,
|
`playerFlags` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`position_x` float NOT NULL DEFAULT 0,
|
`position_x` float NOT NULL DEFAULT 0,
|
||||||
`position_y` float NOT NULL DEFAULT 0,
|
`position_y` float NOT NULL DEFAULT 0,
|
||||||
`position_z` float NOT NULL DEFAULT 0,
|
`position_z` float NOT NULL DEFAULT 0,
|
||||||
`map` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
|
`map` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
|
||||||
`instance_id` int(10) unsigned NOT NULL DEFAULT 0,
|
`instance_id` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`instance_mode_mask` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`instance_mode_mask` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`orientation` float NOT NULL DEFAULT 0,
|
`orientation` float NOT NULL DEFAULT 0,
|
||||||
`taximask` text NOT NULL,
|
`taximask` text NOT NULL,
|
||||||
`online` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`online` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`cinematic` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`cinematic` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`totaltime` int(10) unsigned NOT NULL DEFAULT 0,
|
`totaltime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`leveltime` int(10) unsigned NOT NULL DEFAULT 0,
|
`leveltime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`logout_time` int(10) unsigned NOT NULL DEFAULT 0,
|
`logout_time` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`is_logout_resting` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`is_logout_resting` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`rest_bonus` float NOT NULL DEFAULT 0,
|
`rest_bonus` float NOT NULL DEFAULT 0,
|
||||||
`resettalents_cost` int(10) unsigned NOT NULL DEFAULT 0,
|
`resettalents_cost` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`resettalents_time` int(10) unsigned NOT NULL DEFAULT 0,
|
`resettalents_time` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`trans_x` float NOT NULL DEFAULT 0,
|
`trans_x` float NOT NULL DEFAULT 0,
|
||||||
`trans_y` float NOT NULL DEFAULT 0,
|
`trans_y` float NOT NULL DEFAULT 0,
|
||||||
`trans_z` float NOT NULL DEFAULT 0,
|
`trans_z` float NOT NULL DEFAULT 0,
|
||||||
`trans_o` float NOT NULL DEFAULT 0,
|
`trans_o` float NOT NULL DEFAULT 0,
|
||||||
`transguid` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
`transguid` MEDIUMINT unsigned NOT NULL DEFAULT 0,
|
||||||
`extra_flags` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`extra_flags` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`stable_slots` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`stable_slots` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`at_login` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`at_login` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`zone` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`zone` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`death_expire_time` int(10) unsigned NOT NULL DEFAULT 0,
|
`death_expire_time` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`taxi_path` text DEFAULT NULL,
|
`taxi_path` text DEFAULT NULL,
|
||||||
`arenaPoints` int(10) unsigned NOT NULL DEFAULT 0,
|
`arenaPoints` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`totalHonorPoints` int(10) unsigned NOT NULL DEFAULT 0,
|
`totalHonorPoints` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`todayHonorPoints` int(10) unsigned NOT NULL DEFAULT 0,
|
`todayHonorPoints` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`yesterdayHonorPoints` int(10) unsigned NOT NULL DEFAULT 0,
|
`yesterdayHonorPoints` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`totalKills` int(10) unsigned NOT NULL DEFAULT 0,
|
`totalKills` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`todayKills` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`todayKills` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`yesterdayKills` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`yesterdayKills` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`chosenTitle` int(10) unsigned NOT NULL DEFAULT 0,
|
`chosenTitle` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`knownCurrencies` bigint(20) unsigned NOT NULL DEFAULT 0,
|
`knownCurrencies` BIGINT unsigned NOT NULL DEFAULT 0,
|
||||||
`watchedFaction` int(10) unsigned NOT NULL DEFAULT 0,
|
`watchedFaction` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`drunk` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`drunk` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`health` int(10) unsigned NOT NULL DEFAULT 0,
|
`health` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`power1` int(10) unsigned NOT NULL DEFAULT 0,
|
`power1` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`power2` int(10) unsigned NOT NULL DEFAULT 0,
|
`power2` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`power3` int(10) unsigned NOT NULL DEFAULT 0,
|
`power3` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`power4` int(10) unsigned NOT NULL DEFAULT 0,
|
`power4` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`power5` int(10) unsigned NOT NULL DEFAULT 0,
|
`power5` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`power6` int(10) unsigned NOT NULL DEFAULT 0,
|
`power6` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`power7` int(10) unsigned NOT NULL DEFAULT 0,
|
`power7` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`latency` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
`latency` MEDIUMINT unsigned NOT NULL DEFAULT 0,
|
||||||
`talentGroupsCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
|
`talentGroupsCount` TINYINT unsigned NOT NULL DEFAULT 1,
|
||||||
`activeTalentGroup` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`activeTalentGroup` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`exploredZones` longtext DEFAULT NULL,
|
`exploredZones` longtext DEFAULT NULL,
|
||||||
`equipmentCache` 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,
|
`knownTitles` longtext DEFAULT NULL,
|
||||||
`actionBars` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`actionBars` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`grantableLevels` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`grantableLevels` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`creation_date` timestamp NOT NULL DEFAULT current_timestamp(),
|
`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,
|
`deleteInfos_Name` varchar(12) DEFAULT NULL,
|
||||||
`deleteDate` int(10) unsigned DEFAULT NULL,
|
`deleteDate` INT unsigned DEFAULT NULL,
|
||||||
PRIMARY KEY (`guid`),
|
PRIMARY KEY (`guid`),
|
||||||
KEY `idx_account` (`account`),
|
KEY `idx_account` (`account`),
|
||||||
KEY `idx_online` (`online`),
|
KEY `idx_online` (`online`),
|
||||||
KEY `idx_name` (`name`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `characters` WRITE;
|
LOCK TABLES `characters` WRITE;
|
||||||
|
|||||||
@@ -6,33 +6,33 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `corpse`;
|
DROP TABLE IF EXISTS `corpse`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `corpse`
|
CREATE TABLE `corpse`
|
||||||
(
|
(
|
||||||
`corpseGuid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`corpseGuid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
|
||||||
`posX` float NOT NULL DEFAULT 0,
|
`posX` float NOT NULL DEFAULT 0,
|
||||||
`posY` float NOT NULL DEFAULT 0,
|
`posY` float NOT NULL DEFAULT 0,
|
||||||
`posZ` float NOT NULL DEFAULT 0,
|
`posZ` float NOT NULL DEFAULT 0,
|
||||||
`orientation` float NOT NULL DEFAULT 0,
|
`orientation` float NOT NULL DEFAULT 0,
|
||||||
`mapId` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
|
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
|
||||||
`phaseMask` int(10) unsigned NOT NULL DEFAULT 1,
|
`phaseMask` INT unsigned NOT NULL DEFAULT 1,
|
||||||
`displayId` int(10) unsigned NOT NULL DEFAULT 0,
|
`displayId` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`itemCache` text NOT NULL,
|
`itemCache` text NOT NULL,
|
||||||
`bytes1` int(10) unsigned NOT NULL DEFAULT 0,
|
`bytes1` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`bytes2` int(10) unsigned NOT NULL DEFAULT 0,
|
`bytes2` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`guildId` int(10) unsigned NOT NULL DEFAULT 0,
|
`guildId` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`flags` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`flags` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`dynFlags` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`dynFlags` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`time` int(10) unsigned NOT NULL DEFAULT 0,
|
`time` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`corpseType` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`corpseType` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`instanceId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
|
`instanceId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
|
||||||
PRIMARY KEY (`corpseGuid`),
|
PRIMARY KEY (`corpseGuid`),
|
||||||
KEY `idx_type` (`corpseType`),
|
KEY `idx_type` (`corpseType`),
|
||||||
KEY `idx_instance` (`instanceId`),
|
KEY `idx_instance` (`instanceId`),
|
||||||
KEY `idx_player` (`guid`),
|
KEY `idx_player` (`guid`),
|
||||||
KEY `idx_time` (`time`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `corpse` WRITE;
|
LOCK TABLES `corpse` WRITE;
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `creature_respawn`;
|
DROP TABLE IF EXISTS `creature_respawn`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `creature_respawn`
|
CREATE TABLE `creature_respawn`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`respawnTime` int(10) unsigned NOT NULL DEFAULT 0,
|
`respawnTime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`mapId` smallint(10) unsigned NOT NULL DEFAULT 0,
|
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`instanceId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
|
`instanceId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
|
||||||
PRIMARY KEY (`guid`,`instanceId`),
|
PRIMARY KEY (`guid`,`instanceId`),
|
||||||
KEY `idx_instance` (`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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `creature_respawn` WRITE;
|
LOCK TABLES `creature_respawn` WRITE;
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `game_event_condition_save`;
|
DROP TABLE IF EXISTS `game_event_condition_save`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `game_event_condition_save`
|
||||||
(
|
(
|
||||||
`eventEntry` tinyint(3) unsigned NOT NULL,
|
`eventEntry` TINYINT unsigned NOT NULL,
|
||||||
`condition_id` int(10) unsigned NOT NULL DEFAULT 0,
|
`condition_id` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`done` float DEFAULT 0,
|
`done` float DEFAULT 0,
|
||||||
PRIMARY KEY (`eventEntry`,`condition_id`)
|
PRIMARY KEY (`eventEntry`,`condition_id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `game_event_condition_save` WRITE;
|
LOCK TABLES `game_event_condition_save` WRITE;
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `game_event_save`;
|
DROP TABLE IF EXISTS `game_event_save`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `game_event_save`
|
||||||
(
|
(
|
||||||
`eventEntry` tinyint(3) unsigned NOT NULL,
|
`eventEntry` TINYINT unsigned NOT NULL,
|
||||||
`state` tinyint(3) unsigned NOT NULL DEFAULT 1,
|
`state` TINYINT unsigned NOT NULL DEFAULT 1,
|
||||||
`next_start` int(10) unsigned NOT NULL DEFAULT 0,
|
`next_start` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`eventEntry`)
|
PRIMARY KEY (`eventEntry`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `game_event_save` WRITE;
|
LOCK TABLES `game_event_save` WRITE;
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `gameobject_respawn`;
|
DROP TABLE IF EXISTS `gameobject_respawn`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `gameobject_respawn`
|
CREATE TABLE `gameobject_respawn`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`respawnTime` int(10) unsigned NOT NULL DEFAULT 0,
|
`respawnTime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`mapId` smallint(10) unsigned NOT NULL DEFAULT 0,
|
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`instanceId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
|
`instanceId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
|
||||||
PRIMARY KEY (`guid`,`instanceId`),
|
PRIMARY KEY (`guid`,`instanceId`),
|
||||||
KEY `idx_instance` (`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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `gameobject_respawn` WRITE;
|
LOCK TABLES `gameobject_respawn` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `gm_subsurvey`;
|
DROP TABLE IF EXISTS `gm_subsurvey`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `gm_subsurvey`
|
CREATE TABLE `gm_subsurvey`
|
||||||
(
|
(
|
||||||
`surveyId` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
`surveyId` INT unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`questionId` int(10) unsigned NOT NULL DEFAULT 0,
|
`questionId` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`answer` int(10) unsigned NOT NULL DEFAULT 0,
|
`answer` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`answerComment` text NOT NULL,
|
`answerComment` text NOT NULL,
|
||||||
PRIMARY KEY (`surveyId`,`questionId`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `gm_subsurvey` WRITE;
|
LOCK TABLES `gm_subsurvey` WRITE;
|
||||||
|
|||||||
@@ -6,17 +6,17 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `gm_survey`;
|
DROP TABLE IF EXISTS `gm_survey`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `gm_survey`
|
CREATE TABLE `gm_survey`
|
||||||
(
|
(
|
||||||
`surveyId` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
`surveyId` INT unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`mainSurvey` int(10) unsigned NOT NULL DEFAULT 0,
|
`mainSurvey` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`comment` longtext NOT NULL,
|
`comment` longtext NOT NULL,
|
||||||
`createTime` int(10) unsigned NOT NULL DEFAULT 0,
|
`createTime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`maxMMR` smallint(5) NOT NULL,
|
`maxMMR` SMALLINT NOT NULL,
|
||||||
PRIMARY KEY (`surveyId`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `gm_survey` WRITE;
|
LOCK TABLES `gm_survey` WRITE;
|
||||||
|
|||||||
@@ -6,31 +6,31 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `gm_ticket`;
|
DROP TABLE IF EXISTS `gm_ticket`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `gm_ticket`
|
CREATE TABLE `gm_ticket`
|
||||||
(
|
(
|
||||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
`id` INT unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`type` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT '0 open, 1 closed, 2 character deleted',
|
`type` TINYINT 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',
|
`playerGuid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier of ticket creator',
|
||||||
`name` varchar(12) NOT NULL COMMENT 'Name of ticket creator',
|
`name` varchar(12) NOT NULL COMMENT 'Name of ticket creator',
|
||||||
`description` text NOT NULL,
|
`description` text NOT NULL,
|
||||||
`createTime` int(10) unsigned NOT NULL DEFAULT 0,
|
`createTime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`mapId` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`posX` float NOT NULL DEFAULT 0,
|
`posX` float NOT NULL DEFAULT 0,
|
||||||
`posY` float NOT NULL DEFAULT 0,
|
`posY` float NOT NULL DEFAULT 0,
|
||||||
`posZ` float NOT NULL DEFAULT 0,
|
`posZ` float NOT NULL DEFAULT 0,
|
||||||
`lastModifiedTime` int(10) unsigned NOT NULL DEFAULT 0,
|
`lastModifiedTime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`closedBy` int(10) unsigned NOT NULL DEFAULT 0,
|
`closedBy` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`assignedTo` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'GUID of admin to whom ticket is assigned',
|
`assignedTo` INT unsigned NOT NULL DEFAULT 0 COMMENT 'GUID of admin to whom ticket is assigned',
|
||||||
`comment` text NOT NULL,
|
`comment` text NOT NULL,
|
||||||
`response` text NOT NULL,
|
`response` text NOT NULL,
|
||||||
`completed` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`completed` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`escalated` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`escalated` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`viewed` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`viewed` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`needMoreHelp` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`needMoreHelp` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`resolvedBy` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'GUID of GM who resolved the ticket',
|
`resolvedBy` INT unsigned NOT NULL DEFAULT 0 COMMENT 'GUID of GM who resolved the ticket',
|
||||||
PRIMARY KEY (`id`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `gm_ticket` WRITE;
|
LOCK TABLES `gm_ticket` WRITE;
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `group_member`;
|
DROP TABLE IF EXISTS `group_member`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `group_member`
|
CREATE TABLE `group_member`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL,
|
`guid` INT unsigned NOT NULL,
|
||||||
`memberGuid` int(10) unsigned NOT NULL,
|
`memberGuid` INT unsigned NOT NULL,
|
||||||
`memberFlags` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`memberFlags` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`subgroup` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`subgroup` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`roles` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`roles` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`memberGuid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `group_member` WRITE;
|
LOCK TABLES `group_member` WRITE;
|
||||||
|
|||||||
@@ -6,29 +6,29 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `groups`;
|
DROP TABLE IF EXISTS `groups`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `groups`
|
CREATE TABLE `groups`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL,
|
`guid` INT unsigned NOT NULL,
|
||||||
`leaderGuid` int(10) unsigned NOT NULL,
|
`leaderGuid` INT unsigned NOT NULL,
|
||||||
`lootMethod` tinyint(3) unsigned NOT NULL,
|
`lootMethod` TINYINT unsigned NOT NULL,
|
||||||
`looterGuid` int(10) unsigned NOT NULL,
|
`looterGuid` INT unsigned NOT NULL,
|
||||||
`lootThreshold` tinyint(3) unsigned NOT NULL,
|
`lootThreshold` TINYINT unsigned NOT NULL,
|
||||||
`icon1` int(10) unsigned NOT NULL,
|
`icon1` INT unsigned NOT NULL,
|
||||||
`icon2` int(10) unsigned NOT NULL,
|
`icon2` INT unsigned NOT NULL,
|
||||||
`icon3` int(10) unsigned NOT NULL,
|
`icon3` INT unsigned NOT NULL,
|
||||||
`icon4` int(10) unsigned NOT NULL,
|
`icon4` INT unsigned NOT NULL,
|
||||||
`icon5` int(10) unsigned NOT NULL,
|
`icon5` INT unsigned NOT NULL,
|
||||||
`icon6` int(10) unsigned NOT NULL,
|
`icon6` INT unsigned NOT NULL,
|
||||||
`icon7` int(10) unsigned NOT NULL,
|
`icon7` INT unsigned NOT NULL,
|
||||||
`icon8` int(10) unsigned NOT NULL,
|
`icon8` INT unsigned NOT NULL,
|
||||||
`groupType` tinyint(3) unsigned NOT NULL,
|
`groupType` TINYINT unsigned NOT NULL,
|
||||||
`difficulty` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`difficulty` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`raidDifficulty` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`raidDifficulty` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`masterLooterGuid` int(10) unsigned NOT NULL,
|
`masterLooterGuid` INT unsigned NOT NULL,
|
||||||
PRIMARY KEY (`guid`),
|
PRIMARY KEY (`guid`),
|
||||||
KEY `leaderGuid` (`leaderGuid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `groups` WRITE;
|
LOCK TABLES `groups` WRITE;
|
||||||
|
|||||||
@@ -6,23 +6,23 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `guild`;
|
DROP TABLE IF EXISTS `guild`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `guild`
|
CREATE TABLE `guild`
|
||||||
(
|
(
|
||||||
`guildid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guildid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`name` varchar(24) NOT NULL DEFAULT '',
|
`name` varchar(24) NOT NULL DEFAULT '',
|
||||||
`leaderguid` int(10) unsigned NOT NULL DEFAULT 0,
|
`leaderguid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`EmblemStyle` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`EmblemStyle` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`EmblemColor` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`EmblemColor` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`BorderStyle` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`BorderStyle` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`BorderColor` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`BorderColor` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`BackgroundColor` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`BackgroundColor` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`info` varchar(500) NOT NULL DEFAULT '',
|
`info` varchar(500) NOT NULL DEFAULT '',
|
||||||
`motd` varchar(128) NOT NULL DEFAULT '',
|
`motd` varchar(128) NOT NULL DEFAULT '',
|
||||||
`createdate` int(10) unsigned NOT NULL DEFAULT 0,
|
`createdate` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`BankMoney` bigint(20) unsigned NOT NULL DEFAULT 0,
|
`BankMoney` BIGINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guildid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `guild` WRITE;
|
LOCK TABLES `guild` WRITE;
|
||||||
|
|||||||
@@ -6,23 +6,23 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `guild_bank_eventlog`;
|
DROP TABLE IF EXISTS `guild_bank_eventlog`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `guild_bank_eventlog`
|
||||||
(
|
(
|
||||||
`guildid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Guild Identificator',
|
`guildid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Guild Identificator',
|
||||||
`LogGuid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Log record identificator - auxiliary column',
|
`LogGuid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Log record identificator - auxiliary column',
|
||||||
`TabId` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Guild bank TabId',
|
`TabId` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Guild bank TabId',
|
||||||
`EventType` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Event type',
|
`EventType` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Event type',
|
||||||
`PlayerGuid` int(10) unsigned NOT NULL DEFAULT 0,
|
`PlayerGuid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`ItemOrMoney` int(10) unsigned NOT NULL DEFAULT 0,
|
`ItemOrMoney` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`ItemStackCount` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`ItemStackCount` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`DestTabId` tinyint(3) unsigned NOT NULL DEFAULT 0 COMMENT 'Destination Tab Id',
|
`DestTabId` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Destination Tab Id',
|
||||||
`TimeStamp` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Event UNIX time',
|
`TimeStamp` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Event UNIX time',
|
||||||
PRIMARY KEY (`guildid`,`LogGuid`,`TabId`),
|
PRIMARY KEY (`guildid`,`LogGuid`,`TabId`),
|
||||||
KEY `guildid_key` (`guildid`),
|
KEY `guildid_key` (`guildid`),
|
||||||
KEY `Idx_PlayerGuid` (`PlayerGuid`),
|
KEY `Idx_PlayerGuid` (`PlayerGuid`),
|
||||||
KEY `Idx_LogGuid` (`LogGuid`)
|
KEY `Idx_LogGuid` (`LogGuid`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `guild_bank_eventlog` WRITE;
|
LOCK TABLES `guild_bank_eventlog` WRITE;
|
||||||
|
|||||||
@@ -6,17 +6,17 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `guild_bank_item`;
|
DROP TABLE IF EXISTS `guild_bank_item`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `guild_bank_item`
|
||||||
(
|
(
|
||||||
`guildid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guildid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`TabId` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`TabId` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`SlotId` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`SlotId` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`item_guid` int(10) unsigned NOT NULL DEFAULT 0,
|
`item_guid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guildid`,`TabId`,`SlotId`),
|
PRIMARY KEY (`guildid`,`TabId`,`SlotId`),
|
||||||
KEY `guildid_key` (`guildid`),
|
KEY `guildid_key` (`guildid`),
|
||||||
KEY `Idx_item_guid` (`item_guid`)
|
KEY `Idx_item_guid` (`item_guid`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `guild_bank_item` WRITE;
|
LOCK TABLES `guild_bank_item` WRITE;
|
||||||
|
|||||||
@@ -6,17 +6,17 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `guild_bank_right`;
|
DROP TABLE IF EXISTS `guild_bank_right`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `guild_bank_right`
|
||||||
(
|
(
|
||||||
`guildid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guildid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`TabId` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`TabId` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`rid` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`rid` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`gbright` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`gbright` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`SlotPerDay` int(10) unsigned NOT NULL DEFAULT 0,
|
`SlotPerDay` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guildid`,`TabId`,`rid`),
|
PRIMARY KEY (`guildid`,`TabId`,`rid`),
|
||||||
KEY `guildid_key` (`guildid`)
|
KEY `guildid_key` (`guildid`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `guild_bank_right` WRITE;
|
LOCK TABLES `guild_bank_right` WRITE;
|
||||||
|
|||||||
@@ -6,17 +6,17 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `guild_bank_tab`;
|
DROP TABLE IF EXISTS `guild_bank_tab`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `guild_bank_tab`
|
||||||
(
|
(
|
||||||
`guildid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guildid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`TabId` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`TabId` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`TabName` varchar(16) NOT NULL DEFAULT '',
|
`TabName` varchar(16) NOT NULL DEFAULT '',
|
||||||
`TabIcon` varchar(100) NOT NULL DEFAULT '',
|
`TabIcon` varchar(100) NOT NULL DEFAULT '',
|
||||||
`TabText` varchar(500) DEFAULT NULL,
|
`TabText` varchar(500) DEFAULT NULL,
|
||||||
PRIMARY KEY (`guildid`,`TabId`),
|
PRIMARY KEY (`guildid`,`TabId`),
|
||||||
KEY `guildid_key` (`guildid`)
|
KEY `guildid_key` (`guildid`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `guild_bank_tab` WRITE;
|
LOCK TABLES `guild_bank_tab` WRITE;
|
||||||
|
|||||||
@@ -6,21 +6,21 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `guild_eventlog`;
|
DROP TABLE IF EXISTS `guild_eventlog`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `guild_eventlog`
|
CREATE TABLE `guild_eventlog`
|
||||||
(
|
(
|
||||||
`guildid` int(10) unsigned NOT NULL COMMENT 'Guild Identificator',
|
`guildid` INT unsigned NOT NULL COMMENT 'Guild Identificator',
|
||||||
`LogGuid` int(10) unsigned NOT NULL COMMENT 'Log record identificator - auxiliary column',
|
`LogGuid` INT unsigned NOT NULL COMMENT 'Log record identificator - auxiliary column',
|
||||||
`EventType` tinyint(3) unsigned NOT NULL COMMENT 'Event type',
|
`EventType` TINYINT unsigned NOT NULL COMMENT 'Event type',
|
||||||
`PlayerGuid1` int(10) unsigned NOT NULL COMMENT 'Player 1',
|
`PlayerGuid1` INT unsigned NOT NULL COMMENT 'Player 1',
|
||||||
`PlayerGuid2` int(10) unsigned NOT NULL COMMENT 'Player 2',
|
`PlayerGuid2` INT unsigned NOT NULL COMMENT 'Player 2',
|
||||||
`NewRank` tinyint(3) unsigned NOT NULL COMMENT 'New rank(in case promotion/demotion)',
|
`NewRank` TINYINT unsigned NOT NULL COMMENT 'New rank(in case promotion/demotion)',
|
||||||
`TimeStamp` int(10) unsigned NOT NULL COMMENT 'Event UNIX time',
|
`TimeStamp` INT unsigned NOT NULL COMMENT 'Event UNIX time',
|
||||||
PRIMARY KEY (`guildid`,`LogGuid`),
|
PRIMARY KEY (`guildid`,`LogGuid`),
|
||||||
KEY `Idx_PlayerGuid1` (`PlayerGuid1`),
|
KEY `Idx_PlayerGuid1` (`PlayerGuid1`),
|
||||||
KEY `Idx_PlayerGuid2` (`PlayerGuid2`),
|
KEY `Idx_PlayerGuid2` (`PlayerGuid2`),
|
||||||
KEY `Idx_LogGuid` (`LogGuid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `guild_eventlog` WRITE;
|
LOCK TABLES `guild_eventlog` WRITE;
|
||||||
|
|||||||
@@ -6,18 +6,18 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `guild_member`;
|
DROP TABLE IF EXISTS `guild_member`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `guild_member`
|
CREATE TABLE `guild_member`
|
||||||
(
|
(
|
||||||
`guildid` int(10) unsigned NOT NULL COMMENT 'Guild Identificator',
|
`guildid` INT unsigned NOT NULL COMMENT 'Guild Identificator',
|
||||||
`guid` int(10) unsigned NOT NULL,
|
`guid` INT unsigned NOT NULL,
|
||||||
`rank` tinyint(3) unsigned NOT NULL,
|
`rank` TINYINT unsigned NOT NULL,
|
||||||
`pnote` varchar(31) NOT NULL DEFAULT '',
|
`pnote` varchar(31) NOT NULL DEFAULT '',
|
||||||
`offnote` varchar(31) NOT NULL DEFAULT '',
|
`offnote` varchar(31) NOT NULL DEFAULT '',
|
||||||
UNIQUE KEY `guid_key` (`guid`),
|
UNIQUE KEY `guid_key` (`guid`),
|
||||||
KEY `guildid_key` (`guildid`),
|
KEY `guildid_key` (`guildid`),
|
||||||
KEY `guildid_rank_key` (`guildid`,`rank`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `guild_member` WRITE;
|
LOCK TABLES `guild_member` WRITE;
|
||||||
|
|||||||
@@ -6,19 +6,19 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `guild_member_withdraw`;
|
DROP TABLE IF EXISTS `guild_member_withdraw`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `guild_member_withdraw`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL,
|
`guid` INT unsigned NOT NULL,
|
||||||
`tab0` int(10) unsigned NOT NULL DEFAULT 0,
|
`tab0` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`tab1` int(10) unsigned NOT NULL DEFAULT 0,
|
`tab1` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`tab2` int(10) unsigned NOT NULL DEFAULT 0,
|
`tab2` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`tab3` int(10) unsigned NOT NULL DEFAULT 0,
|
`tab3` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`tab4` int(10) unsigned NOT NULL DEFAULT 0,
|
`tab4` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`tab5` int(10) unsigned NOT NULL DEFAULT 0,
|
`tab5` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`money` int(10) unsigned NOT NULL DEFAULT 0,
|
`money` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `guild_member_withdraw` WRITE;
|
LOCK TABLES `guild_member_withdraw` WRITE;
|
||||||
|
|||||||
@@ -6,17 +6,17 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `guild_rank`;
|
DROP TABLE IF EXISTS `guild_rank`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `guild_rank`
|
CREATE TABLE `guild_rank`
|
||||||
(
|
(
|
||||||
`guildid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guildid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`rid` tinyint(3) unsigned NOT NULL,
|
`rid` TINYINT unsigned NOT NULL,
|
||||||
`rname` varchar(20) NOT NULL DEFAULT '',
|
`rname` varchar(20) NOT NULL DEFAULT '',
|
||||||
`rights` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
`rights` MEDIUMINT unsigned NOT NULL DEFAULT 0,
|
||||||
`BankMoneyPerDay` int(10) unsigned NOT NULL DEFAULT 0,
|
`BankMoneyPerDay` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guildid`,`rid`),
|
PRIMARY KEY (`guildid`,`rid`),
|
||||||
KEY `Idx_rid` (`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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `guild_rank` WRITE;
|
LOCK TABLES `guild_rank` WRITE;
|
||||||
|
|||||||
@@ -6,20 +6,20 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `instance`;
|
DROP TABLE IF EXISTS `instance`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `instance`
|
CREATE TABLE `instance`
|
||||||
(
|
(
|
||||||
`id` int(10) unsigned NOT NULL DEFAULT 0,
|
`id` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`map` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`map` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`resettime` int(10) unsigned NOT NULL DEFAULT 0,
|
`resettime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`difficulty` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`difficulty` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`completedEncounters` int(10) unsigned NOT NULL DEFAULT 0,
|
`completedEncounters` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`data` tinytext NOT NULL,
|
`data` tinytext NOT NULL,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `map` (`map`),
|
KEY `map` (`map`),
|
||||||
KEY `resettime` (`resettime`),
|
KEY `resettime` (`resettime`),
|
||||||
KEY `difficulty` (`difficulty`)
|
KEY `difficulty` (`difficulty`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `instance` WRITE;
|
LOCK TABLES `instance` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `instance_reset`;
|
DROP TABLE IF EXISTS `instance_reset`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `instance_reset`
|
CREATE TABLE `instance_reset`
|
||||||
(
|
(
|
||||||
`mapid` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`mapid` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`difficulty` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`difficulty` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`resettime` int(10) unsigned NOT NULL DEFAULT 0,
|
`resettime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`mapid`,`difficulty`),
|
PRIMARY KEY (`mapid`,`difficulty`),
|
||||||
KEY `difficulty` (`difficulty`)
|
KEY `difficulty` (`difficulty`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `instance_reset` WRITE;
|
LOCK TABLES `instance_reset` WRITE;
|
||||||
|
|||||||
@@ -6,26 +6,26 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `item_instance`;
|
DROP TABLE IF EXISTS `item_instance`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `item_instance`
|
CREATE TABLE `item_instance`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`itemEntry` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
`itemEntry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
|
||||||
`owner_guid` int(10) unsigned NOT NULL DEFAULT 0,
|
`owner_guid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`creatorGuid` int(10) unsigned NOT NULL DEFAULT 0,
|
`creatorGuid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`giftCreatorGuid` int(10) unsigned NOT NULL DEFAULT 0,
|
`giftCreatorGuid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`count` int(10) unsigned NOT NULL DEFAULT 1,
|
`count` INT unsigned NOT NULL DEFAULT 1,
|
||||||
`duration` int(10) NOT NULL DEFAULT 0,
|
`duration` INT NOT NULL DEFAULT 0,
|
||||||
`charges` tinytext DEFAULT NULL,
|
`charges` tinytext DEFAULT NULL,
|
||||||
`flags` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
`flags` MEDIUMINT unsigned NOT NULL DEFAULT 0,
|
||||||
`enchantments` text NOT NULL,
|
`enchantments` text NOT NULL,
|
||||||
`randomPropertyId` smallint(5) NOT NULL DEFAULT 0,
|
`randomPropertyId` SMALLINT NOT NULL DEFAULT 0,
|
||||||
`durability` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`durability` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`playedTime` int(10) unsigned NOT NULL DEFAULT 0,
|
`playedTime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`text` text DEFAULT NULL,
|
`text` text DEFAULT NULL,
|
||||||
PRIMARY KEY (`guid`),
|
PRIMARY KEY (`guid`),
|
||||||
KEY `idx_owner_guid` (`owner_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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `item_instance` WRITE;
|
LOCK TABLES `item_instance` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `item_loot_storage`;
|
DROP TABLE IF EXISTS `item_loot_storage`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `item_loot_storage`
|
||||||
(
|
(
|
||||||
`containerGUID` int(10) unsigned NOT NULL,
|
`containerGUID` INT unsigned NOT NULL,
|
||||||
`itemid` int(10) unsigned NOT NULL,
|
`itemid` INT unsigned NOT NULL,
|
||||||
`count` int(10) unsigned NOT NULL,
|
`count` INT unsigned NOT NULL,
|
||||||
`randomPropertyId` int(10) NOT NULL,
|
`randomPropertyId` INT NOT NULL,
|
||||||
`randomSuffix` int(10) unsigned NOT NULL
|
`randomSuffix` INT unsigned NOT NULL
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `item_loot_storage` WRITE;
|
LOCK TABLES `item_loot_storage` WRITE;
|
||||||
|
|||||||
@@ -6,15 +6,15 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `item_refund_instance`;
|
DROP TABLE IF EXISTS `item_refund_instance`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `item_refund_instance`
|
||||||
(
|
(
|
||||||
`item_guid` int(10) unsigned NOT NULL COMMENT 'Item GUID',
|
`item_guid` INT unsigned NOT NULL COMMENT 'Item GUID',
|
||||||
`player_guid` int(10) unsigned NOT NULL COMMENT 'Player GUID',
|
`player_guid` INT unsigned NOT NULL COMMENT 'Player GUID',
|
||||||
`paidMoney` int(10) unsigned NOT NULL DEFAULT 0,
|
`paidMoney` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`paidExtendedCost` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`paidExtendedCost` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`item_guid`,`player_guid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `item_refund_instance` WRITE;
|
LOCK TABLES `item_refund_instance` WRITE;
|
||||||
|
|||||||
@@ -6,13 +6,13 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `item_soulbound_trade_data`;
|
DROP TABLE IF EXISTS `item_soulbound_trade_data`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
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',
|
`allowedPlayers` text NOT NULL COMMENT 'Space separated GUID list of players who can receive this item in trade',
|
||||||
PRIMARY KEY (`itemGuid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `item_soulbound_trade_data` WRITE;
|
LOCK TABLES `item_soulbound_trade_data` WRITE;
|
||||||
|
|||||||
@@ -6,20 +6,20 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `lag_reports`;
|
DROP TABLE IF EXISTS `lag_reports`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `lag_reports`
|
CREATE TABLE `lag_reports`
|
||||||
(
|
(
|
||||||
`reportId` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
`reportId` INT unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0,
|
`guid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`lagType` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`lagType` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`mapId` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`posX` float NOT NULL DEFAULT 0,
|
`posX` float NOT NULL DEFAULT 0,
|
||||||
`posY` float NOT NULL DEFAULT 0,
|
`posY` float NOT NULL DEFAULT 0,
|
||||||
`posZ` float NOT NULL DEFAULT 0,
|
`posZ` float NOT NULL DEFAULT 0,
|
||||||
`latency` int(10) unsigned NOT NULL DEFAULT 0,
|
`latency` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`createTime` int(10) unsigned NOT NULL DEFAULT 0,
|
`createTime` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`reportId`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `lag_reports` WRITE;
|
LOCK TABLES `lag_reports` WRITE;
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `lfg_data`;
|
DROP TABLE IF EXISTS `lfg_data`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `lfg_data`
|
CREATE TABLE `lfg_data`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`dungeon` int(10) unsigned NOT NULL DEFAULT 0,
|
`dungeon` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`state` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`state` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `lfg_data` WRITE;
|
LOCK TABLES `lfg_data` WRITE;
|
||||||
|
|||||||
@@ -6,24 +6,24 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `log_arena_fights`;
|
DROP TABLE IF EXISTS `log_arena_fights`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `log_arena_fights`
|
||||||
(
|
(
|
||||||
`fight_id` int(10) unsigned NOT NULL,
|
`fight_id` INT unsigned NOT NULL,
|
||||||
`time` datetime NOT NULL,
|
`time` datetime NOT NULL,
|
||||||
`type` tinyint(3) unsigned NOT NULL,
|
`type` TINYINT unsigned NOT NULL,
|
||||||
`duration` int(10) unsigned NOT NULL,
|
`duration` INT unsigned NOT NULL,
|
||||||
`winner` int(10) unsigned NOT NULL,
|
`winner` INT unsigned NOT NULL,
|
||||||
`loser` int(10) unsigned NOT NULL,
|
`loser` INT unsigned NOT NULL,
|
||||||
`winner_tr` smallint(5) unsigned NOT NULL,
|
`winner_tr` SMALLINT unsigned NOT NULL,
|
||||||
`winner_mmr` smallint(5) unsigned NOT NULL,
|
`winner_mmr` SMALLINT unsigned NOT NULL,
|
||||||
`winner_tr_change` smallint(6) NOT NULL,
|
`winner_tr_change` SMALLINT NOT NULL,
|
||||||
`loser_tr` smallint(5) unsigned NOT NULL,
|
`loser_tr` SMALLINT unsigned NOT NULL,
|
||||||
`loser_mmr` smallint(5) unsigned NOT NULL,
|
`loser_mmr` SMALLINT unsigned NOT NULL,
|
||||||
`loser_tr_change` smallint(6) NOT NULL,
|
`loser_tr_change` SMALLINT NOT NULL,
|
||||||
`currOnline` int(10) unsigned NOT NULL,
|
`currOnline` INT unsigned NOT NULL,
|
||||||
PRIMARY KEY (`fight_id`)
|
PRIMARY KEY (`fight_id`)
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `log_arena_fights` WRITE;
|
LOCK TABLES `log_arena_fights` WRITE;
|
||||||
|
|||||||
@@ -6,21 +6,21 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `log_arena_memberstats`;
|
DROP TABLE IF EXISTS `log_arena_memberstats`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `log_arena_memberstats`
|
||||||
(
|
(
|
||||||
`fight_id` int(10) unsigned NOT NULL,
|
`fight_id` INT unsigned NOT NULL,
|
||||||
`member_id` tinyint(3) unsigned NOT NULL,
|
`member_id` TINYINT unsigned NOT NULL,
|
||||||
`name` char(20) NOT NULL,
|
`name` char(20) NOT NULL,
|
||||||
`guid` int(10) unsigned NOT NULL,
|
`guid` INT unsigned NOT NULL,
|
||||||
`team` int(10) unsigned NOT NULL,
|
`team` INT unsigned NOT NULL,
|
||||||
`account` int(10) unsigned NOT NULL,
|
`account` INT unsigned NOT NULL,
|
||||||
`ip` char(15) NOT NULL,
|
`ip` char(15) NOT NULL,
|
||||||
`damage` int(10) unsigned NOT NULL,
|
`damage` INT unsigned NOT NULL,
|
||||||
`heal` int(10) unsigned NOT NULL,
|
`heal` INT unsigned NOT NULL,
|
||||||
`kblows` int(10) unsigned NOT NULL,
|
`kblows` INT unsigned NOT NULL,
|
||||||
PRIMARY KEY (`fight_id`,`member_id`)
|
PRIMARY KEY (`fight_id`,`member_id`)
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `log_arena_memberstats` WRITE;
|
LOCK TABLES `log_arena_memberstats` WRITE;
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `log_encounter`;
|
DROP TABLE IF EXISTS `log_encounter`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `log_encounter`
|
CREATE TABLE `log_encounter`
|
||||||
(
|
(
|
||||||
`time` datetime NOT NULL,
|
`time` datetime NOT NULL,
|
||||||
`map` smallint(5) unsigned NOT NULL,
|
`map` SMALLINT unsigned NOT NULL,
|
||||||
`difficulty` tinyint(3) unsigned NOT NULL,
|
`difficulty` TINYINT unsigned NOT NULL,
|
||||||
`creditType` tinyint(3) unsigned NOT NULL,
|
`creditType` TINYINT unsigned NOT NULL,
|
||||||
`creditEntry` int(10) unsigned NOT NULL,
|
`creditEntry` INT unsigned NOT NULL,
|
||||||
`playersInfo` text NOT NULL
|
`playersInfo` text NOT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `log_encounter` WRITE;
|
LOCK TABLES `log_encounter` WRITE;
|
||||||
|
|||||||
@@ -6,17 +6,17 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `log_money`;
|
DROP TABLE IF EXISTS `log_money`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `log_money`
|
CREATE TABLE `log_money`
|
||||||
(
|
(
|
||||||
`sender_acc` int(11) unsigned NOT NULL,
|
`sender_acc` INT unsigned NOT NULL,
|
||||||
`sender_guid` int(11) unsigned NOT NULL,
|
`sender_guid` INT unsigned NOT NULL,
|
||||||
`sender_name` char(32) CHARACTER SET utf8 NOT NULL,
|
`sender_name` char(32) CHARACTER SET UTF8MB4 NOT NULL,
|
||||||
`sender_ip` char(32) CHARACTER SET utf8 NOT NULL,
|
`sender_ip` char(32) CHARACTER SET UTF8MB4 NOT NULL,
|
||||||
`receiver_acc` int(11) unsigned NOT NULL,
|
`receiver_acc` INT unsigned NOT NULL,
|
||||||
`receiver_name` char(32) CHARACTER SET utf8 NOT NULL,
|
`receiver_name` char(32) CHARACTER SET UTF8MB4 NOT NULL,
|
||||||
`money` bigint(20) unsigned NOT NULL,
|
`money` BIGINT unsigned NOT NULL,
|
||||||
`topic` char(255) CHARACTER SET utf8 NOT NULL,
|
`topic` char(255) CHARACTER SET UTF8MB4 NOT NULL,
|
||||||
`date` datetime NOT NULL
|
`date` datetime NOT NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|||||||
@@ -6,26 +6,26 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `mail`;
|
DROP TABLE IF EXISTS `mail`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `mail`
|
CREATE TABLE `mail`
|
||||||
(
|
(
|
||||||
`id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
|
`id` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
|
||||||
`messageType` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`messageType` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`stationery` tinyint(3) NOT NULL DEFAULT 41,
|
`stationery` TINYINT NOT NULL DEFAULT 41,
|
||||||
`mailTemplateId` smallint(5) unsigned NOT NULL DEFAULT 0,
|
`mailTemplateId` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||||
`sender` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
|
`sender` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
|
||||||
`receiver` int(10) 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,
|
`subject` longtext DEFAULT NULL,
|
||||||
`body` longtext DEFAULT NULL,
|
`body` longtext DEFAULT NULL,
|
||||||
`has_items` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`has_items` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`expire_time` int(10) unsigned NOT NULL DEFAULT 0,
|
`expire_time` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`deliver_time` int(10) unsigned NOT NULL DEFAULT 0,
|
`deliver_time` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`money` int(10) unsigned NOT NULL DEFAULT 0,
|
`money` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`cod` int(10) unsigned NOT NULL DEFAULT 0,
|
`cod` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`checked` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`checked` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`id`),
|
PRIMARY KEY (`id`),
|
||||||
KEY `idx_receiver` (`receiver`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `mail` WRITE;
|
LOCK TABLES `mail` WRITE;
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `mail_items`;
|
DROP TABLE IF EXISTS `mail_items`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `mail_items`
|
CREATE TABLE `mail_items`
|
||||||
(
|
(
|
||||||
`mail_id` int(10) unsigned NOT NULL DEFAULT 0,
|
`mail_id` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`item_guid` int(10) unsigned NOT NULL DEFAULT 0,
|
`item_guid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`receiver` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
|
`receiver` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
|
||||||
PRIMARY KEY (`item_guid`),
|
PRIMARY KEY (`item_guid`),
|
||||||
KEY `idx_receiver` (`receiver`),
|
KEY `idx_receiver` (`receiver`),
|
||||||
KEY `idx_mail_id` (`mail_id`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `mail_items` WRITE;
|
LOCK TABLES `mail_items` WRITE;
|
||||||
|
|||||||
@@ -6,26 +6,26 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `pet_aura`;
|
DROP TABLE IF EXISTS `pet_aura`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `pet_aura`
|
CREATE TABLE `pet_aura`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`casterGuid` bigint(20) unsigned NOT NULL DEFAULT 0 COMMENT 'Full Global Unique Identifier',
|
`casterGuid` BIGINT unsigned NOT NULL DEFAULT 0 COMMENT 'Full Global Unique Identifier',
|
||||||
`spell` mediumint(8) unsigned NOT NULL DEFAULT 0,
|
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
|
||||||
`effectMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`effectMask` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`recalculateMask` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
`stackCount` tinyint(3) unsigned NOT NULL DEFAULT 1,
|
`stackCount` TINYINT unsigned NOT NULL DEFAULT 1,
|
||||||
`amount0` mediumint(8) NOT NULL,
|
`amount0` MEDIUMINT NOT NULL,
|
||||||
`amount1` mediumint(8) NOT NULL,
|
`amount1` MEDIUMINT NOT NULL,
|
||||||
`amount2` mediumint(8) NOT NULL,
|
`amount2` MEDIUMINT NOT NULL,
|
||||||
`base_amount0` mediumint(8) NOT NULL,
|
`base_amount0` MEDIUMINT NOT NULL,
|
||||||
`base_amount1` mediumint(8) NOT NULL,
|
`base_amount1` MEDIUMINT NOT NULL,
|
||||||
`base_amount2` mediumint(8) NOT NULL,
|
`base_amount2` MEDIUMINT NOT NULL,
|
||||||
`maxDuration` int(11) NOT NULL DEFAULT 0,
|
`maxDuration` INT NOT NULL DEFAULT 0,
|
||||||
`remainTime` int(11) NOT NULL DEFAULT 0,
|
`remainTime` INT NOT NULL DEFAULT 0,
|
||||||
`remainCharges` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`remainCharges` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`,`spell`,`effectMask`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `pet_aura` WRITE;
|
LOCK TABLES `pet_aura` WRITE;
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `pet_spell`;
|
DROP TABLE IF EXISTS `pet_spell`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `pet_spell`
|
CREATE TABLE `pet_spell`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||||
`spell` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
|
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
|
||||||
`active` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`active` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`,`spell`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `pet_spell` WRITE;
|
LOCK TABLES `pet_spell` WRITE;
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `pet_spell_cooldown`;
|
DROP TABLE IF EXISTS `pet_spell_cooldown`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!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`
|
CREATE TABLE `pet_spell_cooldown`
|
||||||
(
|
(
|
||||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
|
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
|
||||||
`spell` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
|
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
|
||||||
`time` int(10) unsigned NOT NULL DEFAULT 0,
|
`time` INT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`guid`,`spell`)
|
PRIMARY KEY (`guid`,`spell`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4;
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `pet_spell_cooldown` WRITE;
|
LOCK TABLES `pet_spell_cooldown` WRITE;
|
||||||
|
|||||||
@@ -6,16 +6,16 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `petition`;
|
DROP TABLE IF EXISTS `petition`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `petition`
|
CREATE TABLE `petition`
|
||||||
(
|
(
|
||||||
`ownerguid` int(10) unsigned NOT NULL,
|
`ownerguid` INT unsigned NOT NULL,
|
||||||
`petitionguid` int(10) unsigned DEFAULT 0,
|
`petitionguid` INT unsigned DEFAULT 0,
|
||||||
`name` varchar(24) NOT NULL,
|
`name` varchar(24) NOT NULL,
|
||||||
`type` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`type` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`ownerguid`,`type`),
|
PRIMARY KEY (`ownerguid`,`type`),
|
||||||
UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
|
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 */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `petition` WRITE;
|
LOCK TABLES `petition` WRITE;
|
||||||
|
|||||||
@@ -6,18 +6,18 @@
|
|||||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||||
DROP TABLE IF EXISTS `petition_sign`;
|
DROP TABLE IF EXISTS `petition_sign`;
|
||||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
/*!40101 SET character_set_client = utf8 */;
|
/*!40101 SET character_set_client = UTF8MB4 */;
|
||||||
CREATE TABLE `petition_sign`
|
CREATE TABLE `petition_sign`
|
||||||
(
|
(
|
||||||
`ownerguid` int(10) unsigned NOT NULL,
|
`ownerguid` INT unsigned NOT NULL,
|
||||||
`petitionguid` int(10) unsigned NOT NULL DEFAULT 0,
|
`petitionguid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`playerguid` int(10) unsigned NOT NULL DEFAULT 0,
|
`playerguid` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`player_account` int(10) unsigned NOT NULL DEFAULT 0,
|
`player_account` INT unsigned NOT NULL DEFAULT 0,
|
||||||
`type` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
`type` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY (`petitionguid`,`playerguid`),
|
PRIMARY KEY (`petitionguid`,`playerguid`),
|
||||||
KEY `Idx_playerguid` (`playerguid`),
|
KEY `Idx_playerguid` (`playerguid`),
|
||||||
KEY `Idx_ownerguid` (`ownerguid`)
|
KEY `Idx_ownerguid` (`ownerguid`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System';
|
) ENGINE=InnoDB DEFAULT CHARSET=UTF8MB4 COMMENT='Guild System';
|
||||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
LOCK TABLES `petition_sign` WRITE;
|
LOCK TABLES `petition_sign` WRITE;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user