diff --git a/revision_data.h.in.cmake b/revision_data.h.in.cmake index 895ae1c042a..04849b72f8e 100644 --- a/revision_data.h.in.cmake +++ b/revision_data.h.in.cmake @@ -9,8 +9,8 @@ #define _SOURCE_DIRECTORY R"(@CMAKE_SOURCE_DIR@)" #define _BUILD_DIRECTORY R"(@BUILDDIR@)" #define _MYSQL_EXECUTABLE R"(@MYSQL_EXECUTABLE@)" - #define _FULL_DATABASE "TDB_full_world_434.21071_2021_07_06.sql" - #define _HOTFIXES_DATABASE "TDB_full_hotfixes_434.21071_2021_07_06.sql" + #define _FULL_DATABASE "TDB_full_world_434.22011_2022_01_09.sql" + #define _HOTFIXES_DATABASE "TDB_full_hotfixes_434.22011_2022_01_09.sql" #define VER_COMPANYNAME_STR "TrinityCore Developers" #define VER_LEGALCOPYRIGHT_STR "(c)2008-@rev_year@ TrinityCore" #define VER_FILEVERSION 0,0,0 diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql index ce405a8e7be..5f9e2c1d61a 100644 --- a/sql/base/auth_database.sql +++ b/sql/base/auth_database.sql @@ -1,13 +1,13 @@ --- MySQL dump 10.13 Distrib 5.7.34, for Linux (x86_64) +-- MySQL dump 10.13 Distrib 8.0.26, for Linux (x86_64) -- -- Host: localhost Database: auth -- ------------------------------------------------------ --- Server version 5.7.34 +-- Server version 8.0.26 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8mb4 */; +/*!50503 SET NAMES utf8mb4 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; @@ -21,34 +21,34 @@ DROP TABLE IF EXISTS `account`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `account` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier', - `username` varchar(32) NOT NULL DEFAULT '', - `sha_pass_hash` varchar(40) NOT NULL DEFAULT '', - `sessionkey` varchar(80) NOT NULL DEFAULT '', - `v` varchar(64) NOT NULL DEFAULT '', - `s` varchar(64) NOT NULL DEFAULT '', - `token_key` varchar(100) NOT NULL DEFAULT '', - `email` varchar(255) NOT NULL DEFAULT '', - `reg_mail` varchar(255) NOT NULL DEFAULT '', + `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier', + `username` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `sha_pass_hash` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `sessionkey` varchar(80) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `v` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `s` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `token_key` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `reg_mail` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `joindate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, - `last_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1', - `last_attempt_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1', - `failed_logins` int(10) unsigned NOT NULL DEFAULT '0', - `locked` tinyint(3) unsigned NOT NULL DEFAULT '0', - `lock_country` varchar(2) NOT NULL DEFAULT '00', + `last_ip` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1', + `last_attempt_ip` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1', + `failed_logins` int unsigned NOT NULL DEFAULT '0', + `locked` tinyint unsigned NOT NULL DEFAULT '0', + `lock_country` varchar(2) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '00', `last_login` timestamp NULL DEFAULT NULL, - `online` tinyint(3) unsigned NOT NULL DEFAULT '0', - `expansion` tinyint(3) unsigned NOT NULL DEFAULT '3', - `mutetime` bigint(20) NOT NULL DEFAULT '0', - `mutereason` varchar(255) NOT NULL DEFAULT '', - `muteby` varchar(50) NOT NULL DEFAULT '', - `locale` tinyint(3) unsigned NOT NULL DEFAULT '0', - `os` varchar(5) DEFAULT NULL, - `recruiter` int(10) unsigned NOT NULL DEFAULT '0', - `battlenet_account` int(10) unsigned DEFAULT NULL, - `battlenet_index` tinyint(3) unsigned DEFAULT NULL, + `online` tinyint unsigned NOT NULL DEFAULT '0', + `expansion` tinyint unsigned NOT NULL DEFAULT '3', + `mutetime` bigint NOT NULL DEFAULT '0', + `mutereason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `muteby` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `locale` tinyint unsigned NOT NULL DEFAULT '0', + `os` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `recruiter` int unsigned NOT NULL DEFAULT '0', + `battlenet_account` int unsigned DEFAULT NULL, + `battlenet_index` tinyint unsigned DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `idx_username` (`username`), UNIQUE KEY `uk_bnet_acc` (`battlenet_account`,`battlenet_index`), @@ -71,11 +71,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `account_access`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `account_access` ( - `id` int(10) unsigned NOT NULL, - `gmlevel` tinyint(3) unsigned NOT NULL, - `RealmID` int(11) NOT NULL DEFAULT '-1', + `id` int unsigned NOT NULL, + `gmlevel` tinyint unsigned NOT NULL, + `RealmID` int NOT NULL DEFAULT '-1', PRIMARY KEY (`id`,`RealmID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -95,14 +95,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `account_banned`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `account_banned` ( - `id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Account id', - `bandate` int(10) unsigned NOT NULL DEFAULT '0', - `unbandate` int(10) unsigned NOT NULL DEFAULT '0', - `bannedby` varchar(50) NOT NULL, - `banreason` varchar(255) NOT NULL, - `active` tinyint(3) unsigned NOT NULL DEFAULT '1', + `id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account id', + `bandate` int unsigned NOT NULL DEFAULT '0', + `unbandate` int unsigned NOT NULL DEFAULT '0', + `bannedby` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, + `banreason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `active` tinyint unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`,`bandate`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Ban List'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -122,13 +122,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `account_muted`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `account_muted` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `mutedate` int(10) unsigned NOT NULL DEFAULT '0', - `mutetime` int(10) unsigned NOT NULL DEFAULT '0', - `mutedby` varchar(50) NOT NULL, - `mutereason` varchar(255) NOT NULL, + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `mutedate` int unsigned NOT NULL DEFAULT '0', + `mutetime` int unsigned NOT NULL DEFAULT '0', + `mutedby` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, + `mutereason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`guid`,`mutedate`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='mute List'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -148,12 +148,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `autobroadcast`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `autobroadcast` ( - `realmid` int(11) NOT NULL DEFAULT '-1', - `id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT, - `weight` tinyint(3) unsigned DEFAULT '1', - `text` longtext NOT NULL, + `realmid` int NOT NULL DEFAULT '-1', + `id` tinyint unsigned NOT NULL AUTO_INCREMENT, + `weight` tinyint unsigned DEFAULT '1', + `text` longtext COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`,`realmid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -173,13 +173,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `battlenet_account_bans`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `battlenet_account_bans` ( - `id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Account id', - `bandate` int(10) unsigned NOT NULL DEFAULT '0', - `unbandate` int(10) unsigned NOT NULL DEFAULT '0', - `bannedby` varchar(50) NOT NULL, - `banreason` varchar(255) NOT NULL, + `id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account id', + `bandate` int unsigned NOT NULL DEFAULT '0', + `unbandate` int unsigned NOT NULL DEFAULT '0', + `bannedby` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, + `banreason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`,`bandate`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Ban List'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -199,23 +199,23 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `battlenet_accounts`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `battlenet_accounts` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier', - `email` varchar(320) NOT NULL, - `sha_pass_hash` varchar(64) NOT NULL DEFAULT '', - `v` varchar(256) NOT NULL DEFAULT '', - `s` varchar(64) NOT NULL DEFAULT '', - `sessionKey` varchar(128) NOT NULL DEFAULT '', + `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier', + `email` varchar(320) COLLATE utf8mb4_unicode_ci NOT NULL, + `sha_pass_hash` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `v` varchar(256) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `s` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `sessionKey` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `joindate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, - `last_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1', - `failed_logins` int(10) unsigned NOT NULL DEFAULT '0', - `locked` tinyint(3) unsigned NOT NULL DEFAULT '0', - `lock_country` varchar(2) NOT NULL DEFAULT '00', + `last_ip` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1', + `failed_logins` int unsigned NOT NULL DEFAULT '0', + `locked` tinyint unsigned NOT NULL DEFAULT '0', + `lock_country` varchar(2) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '00', `last_login` timestamp NULL DEFAULT NULL, - `online` tinyint(3) unsigned NOT NULL DEFAULT '0', - `locale` tinyint(3) unsigned NOT NULL DEFAULT '0', - `os` varchar(5) DEFAULT NULL, + `online` tinyint unsigned NOT NULL DEFAULT '0', + `locale` tinyint unsigned NOT NULL DEFAULT '0', + `os` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Account System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -235,11 +235,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `battlenet_components`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `battlenet_components` ( - `Program` varchar(4) NOT NULL, - `Platform` varchar(4) NOT NULL, - `Build` int(11) unsigned NOT NULL, + `Program` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, + `Platform` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, + `Build` int unsigned NOT NULL, PRIMARY KEY (`Program`,`Platform`,`Build`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -288,13 +288,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `battlenet_modules`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `battlenet_modules` ( - `Hash` varchar(64) NOT NULL, - `Name` varchar(64) NOT NULL DEFAULT '', - `Type` varchar(8) NOT NULL, - `System` varchar(8) NOT NULL, - `Data` text, + `Hash` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `Name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `Type` varchar(8) COLLATE utf8mb4_unicode_ci NOT NULL, + `System` varchar(8) COLLATE utf8mb4_unicode_ci NOT NULL, + `Data` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`Name`,`System`), UNIQUE KEY `uk_name_type_system` (`Name`,`Type`,`System`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -359,13 +359,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `ip_banned`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `ip_banned` ( - `ip` varchar(15) NOT NULL DEFAULT '127.0.0.1', - `bandate` int(10) unsigned NOT NULL, - `unbandate` int(10) unsigned NOT NULL, - `bannedby` varchar(50) NOT NULL DEFAULT '[Console]', - `banreason` varchar(255) NOT NULL DEFAULT 'no reason', + `ip` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1', + `bandate` int unsigned NOT NULL, + `unbandate` int unsigned NOT NULL, + `bannedby` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '[Console]', + `banreason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'no reason', PRIMARY KEY (`ip`,`bandate`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Banned IPs'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -385,13 +385,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `logs`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `logs` ( - `time` int(10) unsigned NOT NULL, - `realm` int(10) unsigned NOT NULL, - `type` varchar(250) NOT NULL, - `level` tinyint(3) unsigned NOT NULL DEFAULT '0', - `string` text CHARACTER SET latin1 + `time` int unsigned NOT NULL, + `realm` int unsigned NOT NULL, + `type` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL, + `level` tinyint unsigned NOT NULL DEFAULT '0', + `string` text CHARACTER SET latin1 COLLATE latin1_swedish_ci ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -410,17 +410,17 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `logs_ip_actions`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `logs_ip_actions` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Identifier', - `account_id` int(10) unsigned NOT NULL COMMENT 'Account ID', - `character_guid` int(10) unsigned NOT NULL COMMENT 'Character Guid', - `type` tinyint(3) unsigned NOT NULL, - `ip` varchar(15) NOT NULL DEFAULT '127.0.0.1', - `systemnote` text COMMENT 'Notes inserted by system', - `unixtime` int(10) unsigned NOT NULL COMMENT 'Unixtime', + `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Identifier', + `account_id` int unsigned NOT NULL COMMENT 'Account ID', + `character_guid` int unsigned NOT NULL COMMENT 'Character Guid', + `type` tinyint unsigned NOT NULL, + `ip` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1', + `systemnote` text COLLATE utf8mb4_unicode_ci COMMENT 'Notes inserted by system', + `unixtime` int unsigned NOT NULL COMMENT 'Unixtime', `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Timestamp', - `comment` text COMMENT 'Allows users to add a comment', + `comment` text COLLATE utf8mb4_unicode_ci COMMENT 'Allows users to add a comment', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Used to log ips of individual actions'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -440,12 +440,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `rbac_account_permissions`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `rbac_account_permissions` ( - `accountId` int(10) unsigned NOT NULL COMMENT 'Account id', - `permissionId` int(10) unsigned NOT NULL COMMENT 'Permission id', + `accountId` int unsigned NOT NULL COMMENT 'Account id', + `permissionId` int unsigned NOT NULL COMMENT 'Permission id', `granted` tinyint(1) NOT NULL DEFAULT '1' COMMENT 'Granted = 1, Denied = 0', - `realmId` int(11) NOT NULL DEFAULT '-1' COMMENT 'Realm Id, -1 means all', + `realmId` int NOT NULL DEFAULT '-1' COMMENT 'Realm Id, -1 means all', PRIMARY KEY (`accountId`,`permissionId`,`realmId`), KEY `fk__rbac_account_roles__rbac_permissions` (`permissionId`), CONSTRAINT `fk__rbac_account_permissions__account` FOREIGN KEY (`accountId`) REFERENCES `account` (`id`) ON DELETE CASCADE, @@ -468,11 +468,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `rbac_default_permissions`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `rbac_default_permissions` ( - `secId` int(10) unsigned NOT NULL COMMENT 'Security Level id', - `permissionId` int(10) unsigned NOT NULL COMMENT 'permission id', - `realmId` int(11) NOT NULL DEFAULT '-1' COMMENT 'Realm Id, -1 means all', + `secId` int unsigned NOT NULL COMMENT 'Security Level id', + `permissionId` int unsigned NOT NULL COMMENT 'permission id', + `realmId` int NOT NULL DEFAULT '-1' COMMENT 'Realm Id, -1 means all', PRIMARY KEY (`secId`,`permissionId`,`realmId`), KEY `fk__rbac_default_permissions__rbac_permissions` (`permissionId`), CONSTRAINT `fk__rbac_default_permissions__rbac_permissions` FOREIGN KEY (`permissionId`) REFERENCES `rbac_permissions` (`id`) @@ -499,10 +499,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `rbac_linked_permissions`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `rbac_linked_permissions` ( - `id` int(10) unsigned NOT NULL COMMENT 'Permission id', - `linkedId` int(10) unsigned NOT NULL COMMENT 'Linked Permission id', + `id` int unsigned NOT NULL COMMENT 'Permission id', + `linkedId` int unsigned NOT NULL COMMENT 'Linked Permission id', PRIMARY KEY (`id`,`linkedId`), KEY `fk__rbac_linked_permissions__rbac_permissions1` (`id`), KEY `fk__rbac_linked_permissions__rbac_permissions2` (`linkedId`), @@ -1174,10 +1174,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `rbac_permissions`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `rbac_permissions` ( - `id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Permission id', - `name` varchar(100) NOT NULL COMMENT 'Permission name', + `id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Permission id', + `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Permission name', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Permission List'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1860,11 +1860,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `realmcharacters`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `realmcharacters` ( - `realmid` int(10) unsigned NOT NULL DEFAULT '0', - `acctid` int(10) unsigned NOT NULL, - `numchars` tinyint(3) unsigned NOT NULL DEFAULT '0', + `realmid` int unsigned NOT NULL DEFAULT '0', + `acctid` int unsigned NOT NULL, + `numchars` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`realmid`,`acctid`), KEY `acctid` (`acctid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Realm Character Tracker'; @@ -1885,22 +1885,22 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `realmlist`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `realmlist` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT, - `name` varchar(32) NOT NULL DEFAULT '', - `address` varchar(255) NOT NULL DEFAULT '127.0.0.1', - `localAddress` varchar(255) NOT NULL DEFAULT '127.0.0.1', - `localSubnetMask` varchar(255) NOT NULL DEFAULT '255.255.255.0', - `port` smallint(5) unsigned NOT NULL DEFAULT '8085', - `icon` tinyint(3) unsigned NOT NULL DEFAULT '0', - `flag` tinyint(3) unsigned NOT NULL DEFAULT '2', - `timezone` tinyint(3) unsigned NOT NULL DEFAULT '0', - `allowedSecurityLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `address` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1', + `localAddress` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1', + `localSubnetMask` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '255.255.255.0', + `port` smallint unsigned NOT NULL DEFAULT '8085', + `icon` tinyint unsigned NOT NULL DEFAULT '0', + `flag` tinyint unsigned NOT NULL DEFAULT '2', + `timezone` tinyint unsigned NOT NULL DEFAULT '0', + `allowedSecurityLevel` tinyint unsigned NOT NULL DEFAULT '0', `population` float unsigned NOT NULL DEFAULT '0', - `gamebuild` int(10) unsigned NOT NULL DEFAULT '15595', - `Region` tinyint(3) unsigned NOT NULL DEFAULT '2', - `Battlegroup` tinyint(3) unsigned NOT NULL DEFAULT '1', + `gamebuild` int unsigned NOT NULL DEFAULT '15595', + `Region` tinyint unsigned NOT NULL DEFAULT '2', + `Battlegroup` tinyint unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`), UNIQUE KEY `idx_name` (`name`) ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Realm System'; @@ -1923,13 +1923,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `updates`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `updates` ( - `name` varchar(200) NOT NULL COMMENT 'filename with extension of the update.', - `hash` char(40) DEFAULT '' COMMENT 'sha1 hash of the sql file.', - `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', + `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'filename with extension of the update.', + `hash` char(40) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT 'sha1 hash of the sql file.', + `state` enum('RELEASED','ARCHIVED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', - `speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', + `speed` int unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of all applied updates in this database.'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1941,6 +1941,7 @@ CREATE TABLE `updates` ( LOCK TABLES `updates` WRITE; /*!40000 ALTER TABLE `updates` DISABLE KEYS */; INSERT INTO `updates` VALUES +('2014_10_30_00_auth.sql','A6492096BE82AE9029565012A9CD7B2DC45126D2','ARCHIVED','2019-11-06 00:17:43',0), ('2014_11_10_00_auth.sql','0E3CB119442D09DD88E967015319BBC8DAFBBFE0','ARCHIVED','2015-03-21 21:44:12',0), ('2014_11_10_01_auth.sql','327E77A1DA3546D5275AB249915DD57EDD6FDD3D','ARCHIVED','2015-03-21 21:44:12',0), ('2014_12_10_00_auth.sql','821703A96D80F9080074852B5A46E2909C9562EA','ARCHIVED','2015-03-21 21:44:12',0), @@ -1948,8 +1949,8 @@ INSERT INTO `updates` VALUES ('2015_03_20_00_auth.sql','E8C5B74BB45F0F35DEC182C72BACF435C7066FB0','ARCHIVED','2015-03-21 21:44:12',0), ('2015_03_20_01_auth.sql','862961815354DA2746F5F71FBC8155F57CBE75AB','ARCHIVED','2015-03-21 21:44:12',0), ('2015_03_20_02_auth.sql','33E4F94086590768EF5D4855DD43D7DE7C06ADA4','ARCHIVED','2015-03-21 21:44:51',0), -('2016_01_13_00_auth.sql','24615CC69B3CD7BB4699874647C35BA86E8A93FD','ARCHIVED','2016-01-14 23:27:07',0), ('2016_01_13_00_auth_434.sql','3E88183E1A85D11BFD74CF9A32A725C44AE02EEC','ARCHIVED','2016-01-13 01:19:16',0), +('2016_01_13_00_auth.sql','24615CC69B3CD7BB4699874647C35BA86E8A93FD','ARCHIVED','2016-01-14 23:27:07',0), ('2016_03_12_00_auth.sql','0ACDD35EC9745231BCFA701B78056DEF94D0CC53','ARCHIVED','2016-03-12 01:19:16',0), ('2016_05_15_00_auth_from_335_was_2016_05_11_00_auth.sql','95B66235B8D67BF1CA216EB09F313C1F8F393B47','ARCHIVED','0000-00-00 00:00:00',0), ('2016_08_28_00_auth.sql','FF293BF1F7C182C91E3B1EED2762E645C6BB5C21','ARCHIVED','0000-00-00 00:00:00',0), @@ -1999,7 +2000,6 @@ INSERT INTO `updates` VALUES ('2018_09_02_00_auth_from_335_was_2018_08_30_00_auth.sql','7E6ABD3FF59FC6CC82B227CE074E8E91DE4D1DB2','ARCHIVED','2018-08-17 01:40:04',0), ('2018_09_09_00_auth_from_335_was_2018_09_06_00_auth.sql','309D21E0DF82ED8921F77EAFDE741F38AC32BB13','ARCHIVED','2018-09-06 00:00:00',0), ('2018_09_15_00_auth.sql','941C5BEF44A004C32746509EA7E1651DB2943BDA','ARCHIVED','2018-09-15 01:40:04',0), -('2014_10_30_00_auth.sql','A6492096BE82AE9029565012A9CD7B2DC45126D2','ARCHIVED','2019-11-06 00:17:43',0), ('2019_02_18_00_auth.sql','624C58A07E0B4DDC4C1347E8BA8EFEEFD5B43DA7','ARCHIVED','2019-11-06 00:17:43',0), ('2019_09_29_00_auth.sql','73C820469E1EF2501C3126CA098D6FE7DD4E0D3C','ARCHIVED','2019-11-06 00:17:44',0), ('2019_10_03_00_auth.sql','A0D27DAFDE2F7F1F7FAAACF1E13FA104A50D603A','ARCHIVED','2019-11-06 00:17:44',0), @@ -2010,8 +2010,9 @@ INSERT INTO `updates` VALUES ('2020_07_22_00_auth.sql','A5D4EC8FCFAB4F2DCE70EDCAD1ACBFB484FD68D5','ARCHIVED','2020-07-22 17:04:47',0), ('2020_09_22_00_auth.sql','A2E29491B54821BCECAA72061AF4D798EC3253B6','ARCHIVED','2020-09-22 00:55:27',0), ('2021_07_06_00_auth.sql','D3E1354B64589894890430A8AA009178FC79F4CD','ARCHIVED','2021-07-06 05:02:44',0), -('2021_12_31_00_auth.sql','D5B6B3800A57163901ACFCE1C25463768F5B82D0','RELEASED','2021-12-31 18:36:14',0), -('2022_01_01_00_auth.sql','336E62A8850A3E78A1D0BD3E81FFD5769184BDF8','RELEASED','2022-01-01 11:08:01',0); +('2021_12_31_00_auth.sql','D5B6B3800A57163901ACFCE1C25463768F5B82D0','ARCHIVED','2021-12-31 18:36:14',0), +('2022_01_01_00_auth.sql','336E62A8850A3E78A1D0BD3E81FFD5769184BDF8','ARCHIVED','2022-01-01 11:08:01',0), +('2022_01_09_00_auth.sql','3A662EEEC4361A0CA23B78FA01698A3FC2C69CE8','ARCHIVED','2022-01-09 00:12:22',0); /*!40000 ALTER TABLE `updates` ENABLE KEYS */; UNLOCK TABLES; @@ -2021,10 +2022,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `updates_include`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `updates_include` ( - `path` varchar(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', - `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', + `path` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', + `state` enum('RELEASED','ARCHIVED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', PRIMARY KEY (`path`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of directories where we want to include sql updates.'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2036,9 +2037,9 @@ CREATE TABLE `updates_include` ( LOCK TABLES `updates_include` WRITE; /*!40000 ALTER TABLE `updates_include` DISABLE KEYS */; INSERT INTO `updates_include` VALUES -('$/sql/updates/auth','RELEASED'), ('$/sql/custom/auth','RELEASED'), -('$/sql/old/4.3.4/auth','ARCHIVED'); +('$/sql/old/4.3.4/auth','ARCHIVED'), +('$/sql/updates/auth','RELEASED'); /*!40000 ALTER TABLE `updates_include` ENABLE KEYS */; UNLOCK TABLES; @@ -2048,13 +2049,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `uptime`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `uptime` ( - `realmid` int(10) unsigned NOT NULL, - `starttime` int(10) unsigned NOT NULL DEFAULT '0', - `uptime` int(10) unsigned NOT NULL DEFAULT '0', - `maxplayers` smallint(5) unsigned NOT NULL DEFAULT '0', - `revision` varchar(255) NOT NULL DEFAULT 'Trinitycore', + `realmid` int unsigned NOT NULL, + `starttime` int unsigned NOT NULL DEFAULT '0', + `uptime` int unsigned NOT NULL DEFAULT '0', + `maxplayers` smallint unsigned NOT NULL DEFAULT '0', + `revision` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Trinitycore', PRIMARY KEY (`realmid`,`starttime`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Uptime system'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2081,4 +2082,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2021-07-06 5:02:49 +-- Dump completed on 2022-01-09 0:15:07 diff --git a/sql/base/characters_database.sql b/sql/base/characters_database.sql index 06ea790be51..69ea382d84d 100644 --- a/sql/base/characters_database.sql +++ b/sql/base/characters_database.sql @@ -1,13 +1,13 @@ --- MySQL dump 10.13 Distrib 5.7.34, for Linux (x86_64) +-- MySQL dump 10.13 Distrib 8.0.26, for Linux (x86_64) -- -- Host: localhost Database: characters -- ------------------------------------------------------ --- Server version 5.7.34 +-- Server version 8.0.26 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8mb4 */; +/*!50503 SET NAMES utf8mb4 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; @@ -21,11 +21,11 @@ DROP TABLE IF EXISTS `account_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `account_data` ( - `accountId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier', - `type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `time` int(10) unsigned NOT NULL DEFAULT '0', + `accountId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier', + `type` tinyint unsigned NOT NULL DEFAULT '0', + `time` int unsigned NOT NULL DEFAULT '0', `data` blob NOT NULL, PRIMARY KEY (`accountId`,`type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -46,11 +46,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `account_instance_times`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `account_instance_times` ( - `accountId` int(10) unsigned NOT NULL, - `instanceId` int(10) unsigned NOT NULL DEFAULT '0', - `releaseTime` bigint(20) unsigned NOT NULL DEFAULT '0', + `accountId` int unsigned NOT NULL, + `instanceId` int unsigned NOT NULL DEFAULT '0', + `releaseTime` bigint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`accountId`,`instanceId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -70,17 +70,17 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `account_tutorial`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `account_tutorial` ( - `accountId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier', - `tut0` int(10) unsigned NOT NULL DEFAULT '0', - `tut1` int(10) unsigned NOT NULL DEFAULT '0', - `tut2` int(10) unsigned NOT NULL DEFAULT '0', - `tut3` int(10) unsigned NOT NULL DEFAULT '0', - `tut4` int(10) unsigned NOT NULL DEFAULT '0', - `tut5` int(10) unsigned NOT NULL DEFAULT '0', - `tut6` int(10) unsigned NOT NULL DEFAULT '0', - `tut7` int(10) unsigned NOT NULL DEFAULT '0', + `accountId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier', + `tut0` int unsigned NOT NULL DEFAULT '0', + `tut1` int unsigned NOT NULL DEFAULT '0', + `tut2` int unsigned NOT NULL DEFAULT '0', + `tut3` int unsigned NOT NULL DEFAULT '0', + `tut4` int unsigned NOT NULL DEFAULT '0', + `tut5` int unsigned NOT NULL DEFAULT '0', + `tut6` int unsigned NOT NULL DEFAULT '0', + `tut7` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`accountId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -100,10 +100,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `addons`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `addons` ( - `name` varchar(120) NOT NULL DEFAULT '', - `crc` int(10) unsigned NOT NULL DEFAULT '0', + `name` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `crc` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Addons'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -159,23 +159,23 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `arena_team`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `arena_team` ( - `arenaTeamId` int(10) unsigned NOT NULL DEFAULT '0', - `name` varchar(24) NOT NULL, - `captainGuid` int(10) unsigned NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `rating` smallint(5) unsigned NOT NULL DEFAULT '0', - `seasonGames` smallint(5) unsigned NOT NULL DEFAULT '0', - `seasonWins` smallint(5) unsigned NOT NULL DEFAULT '0', - `weekGames` smallint(5) unsigned NOT NULL DEFAULT '0', - `weekWins` smallint(5) unsigned NOT NULL DEFAULT '0', - `rank` int(10) unsigned NOT NULL DEFAULT '0', - `backgroundColor` int(10) unsigned NOT NULL DEFAULT '0', - `emblemStyle` tinyint(3) unsigned NOT NULL DEFAULT '0', - `emblemColor` int(10) unsigned NOT NULL DEFAULT '0', - `borderStyle` tinyint(3) unsigned NOT NULL DEFAULT '0', - `borderColor` int(10) unsigned NOT NULL DEFAULT '0', + `arenaTeamId` int unsigned NOT NULL DEFAULT '0', + `name` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL, + `captainGuid` int unsigned NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL DEFAULT '0', + `rating` smallint unsigned NOT NULL DEFAULT '0', + `seasonGames` smallint unsigned NOT NULL DEFAULT '0', + `seasonWins` smallint unsigned NOT NULL DEFAULT '0', + `weekGames` smallint unsigned NOT NULL DEFAULT '0', + `weekWins` smallint unsigned NOT NULL DEFAULT '0', + `rank` int unsigned NOT NULL DEFAULT '0', + `backgroundColor` int unsigned NOT NULL DEFAULT '0', + `emblemStyle` tinyint unsigned NOT NULL DEFAULT '0', + `emblemColor` int unsigned NOT NULL DEFAULT '0', + `borderStyle` tinyint unsigned NOT NULL DEFAULT '0', + `borderColor` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`arenaTeamId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -195,15 +195,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `arena_team_member`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `arena_team_member` ( - `arenaTeamId` int(10) unsigned NOT NULL DEFAULT '0', - `guid` int(10) unsigned NOT NULL DEFAULT '0', - `weekGames` smallint(5) unsigned NOT NULL DEFAULT '0', - `weekWins` smallint(5) unsigned NOT NULL DEFAULT '0', - `seasonGames` smallint(5) unsigned NOT NULL DEFAULT '0', - `seasonWins` smallint(5) unsigned NOT NULL DEFAULT '0', - `personalRating` smallint(5) unsigned NOT NULL DEFAULT '0', + `arenaTeamId` int unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0', + `weekGames` smallint unsigned NOT NULL DEFAULT '0', + `weekWins` smallint unsigned NOT NULL DEFAULT '0', + `seasonGames` smallint unsigned NOT NULL DEFAULT '0', + `seasonWins` smallint unsigned NOT NULL DEFAULT '0', + `personalRating` smallint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`arenaTeamId`,`guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -223,10 +223,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `auctionbidders`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `auctionbidders` ( - `id` int(10) unsigned NOT NULL DEFAULT '0', - `bidderguid` int(10) unsigned NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL DEFAULT '0', + `bidderguid` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`,`bidderguid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -246,18 +246,18 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `auctionhouse`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `auctionhouse` ( - `id` int(10) unsigned NOT NULL DEFAULT '0', - `houseid` tinyint(3) unsigned NOT NULL DEFAULT '7', - `itemguid` int(10) unsigned NOT NULL DEFAULT '0', - `itemowner` int(10) unsigned NOT NULL DEFAULT '0', - `buyoutprice` bigint(20) unsigned NOT NULL DEFAULT '0', - `time` int(10) unsigned NOT NULL DEFAULT '0', - `buyguid` int(10) unsigned NOT NULL DEFAULT '0', - `lastbid` bigint(20) unsigned NOT NULL DEFAULT '0', - `startbid` bigint(20) unsigned NOT NULL DEFAULT '0', - `deposit` bigint(20) unsigned NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL DEFAULT '0', + `houseid` tinyint unsigned NOT NULL DEFAULT '7', + `itemguid` int unsigned NOT NULL DEFAULT '0', + `itemowner` int unsigned NOT NULL DEFAULT '0', + `buyoutprice` bigint unsigned NOT NULL DEFAULT '0', + `time` int unsigned NOT NULL DEFAULT '0', + `buyguid` int unsigned NOT NULL DEFAULT '0', + `lastbid` bigint unsigned NOT NULL DEFAULT '0', + `startbid` bigint unsigned NOT NULL DEFAULT '0', + `deposit` bigint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `item_guid` (`itemguid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -278,11 +278,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `banned_addons`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `banned_addons` ( - `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, - `Name` varchar(255) NOT NULL, - `Version` varchar(255) NOT NULL DEFAULT '', + `Id` int unsigned NOT NULL AUTO_INCREMENT, + `Name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `Version` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', `Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`Id`), UNIQUE KEY `idx_name_ver` (`Name`,`Version`) @@ -304,10 +304,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `battleground_deserters`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `battleground_deserters` ( - `guid` int(10) unsigned NOT NULL COMMENT 'characters.guid', - `type` tinyint(3) unsigned NOT NULL COMMENT 'type of the desertion', + `guid` int unsigned NOT NULL COMMENT 'characters.guid', + `type` tinyint unsigned NOT NULL COMMENT 'type of the desertion', `datetime` datetime NOT NULL COMMENT 'datetime of the desertion' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -327,11 +327,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `bugreport`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `bugreport` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier', - `type` longtext NOT NULL, - `content` longtext NOT NULL, + `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier', + `type` longtext COLLATE utf8mb4_unicode_ci NOT NULL, + `content` longtext COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Debug System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -351,17 +351,17 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `calendar_events`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `calendar_events` ( - `id` bigint(20) unsigned NOT NULL DEFAULT '0', - `creator` int(10) unsigned NOT NULL DEFAULT '0', - `title` varchar(255) NOT NULL DEFAULT '', - `description` varchar(255) NOT NULL DEFAULT '', - `type` tinyint(1) unsigned NOT NULL DEFAULT '4', - `dungeon` int(10) NOT NULL DEFAULT '-1', - `eventtime` int(10) unsigned NOT NULL DEFAULT '0', - `flags` int(10) unsigned NOT NULL DEFAULT '0', - `time2` int(10) unsigned NOT NULL DEFAULT '0', + `id` bigint unsigned NOT NULL DEFAULT '0', + `creator` int unsigned NOT NULL DEFAULT '0', + `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `type` tinyint unsigned NOT NULL DEFAULT '4', + `dungeon` int NOT NULL DEFAULT '-1', + `eventtime` int unsigned NOT NULL DEFAULT '0', + `flags` int unsigned NOT NULL DEFAULT '0', + `time2` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -381,16 +381,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `calendar_invites`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `calendar_invites` ( - `id` bigint(20) unsigned NOT NULL DEFAULT '0', - `event` bigint(20) unsigned NOT NULL DEFAULT '0', - `invitee` int(10) unsigned NOT NULL DEFAULT '0', - `sender` int(10) unsigned NOT NULL DEFAULT '0', - `status` tinyint(1) unsigned NOT NULL DEFAULT '0', - `statustime` int(10) unsigned NOT NULL DEFAULT '0', - `rank` tinyint(1) unsigned NOT NULL DEFAULT '0', - `text` varchar(255) NOT NULL DEFAULT '', + `id` bigint unsigned NOT NULL DEFAULT '0', + `event` bigint unsigned NOT NULL DEFAULT '0', + `invitee` int unsigned NOT NULL DEFAULT '0', + `sender` int unsigned NOT NULL DEFAULT '0', + `status` tinyint unsigned NOT NULL DEFAULT '0', + `statustime` int unsigned NOT NULL DEFAULT '0', + `rank` tinyint unsigned NOT NULL DEFAULT '0', + `text` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -410,15 +410,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `channels`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `channels` ( - `name` varchar(128) NOT NULL, - `team` int(10) unsigned NOT NULL, - `announce` tinyint(3) unsigned NOT NULL DEFAULT '1', - `ownership` tinyint(3) unsigned NOT NULL DEFAULT '1', - `password` varchar(32) DEFAULT NULL, - `bannedList` text, - `lastUsed` int(10) unsigned NOT NULL, + `name` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL, + `team` int unsigned NOT NULL, + `announce` tinyint unsigned NOT NULL DEFAULT '1', + `ownership` tinyint unsigned NOT NULL DEFAULT '1', + `password` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `bannedList` text COLLATE utf8mb4_unicode_ci, + `lastUsed` int unsigned NOT NULL, PRIMARY KEY (`name`,`team`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Channel System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -438,11 +438,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_account_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_account_data` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `time` int(10) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL DEFAULT '0', + `time` int unsigned NOT NULL DEFAULT '0', `data` blob NOT NULL, PRIMARY KEY (`guid`,`type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -463,11 +463,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_achievement`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_achievement` ( - `guid` int(10) unsigned NOT NULL, - `achievement` smallint(5) unsigned NOT NULL, - `date` int(10) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL, + `achievement` smallint unsigned NOT NULL, + `date` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`achievement`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -487,12 +487,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_achievement_progress`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_achievement_progress` ( - `guid` int(10) unsigned NOT NULL, - `criteria` smallint(5) unsigned NOT NULL, - `counter` bigint(20) unsigned NOT NULL, - `date` int(10) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL, + `criteria` smallint unsigned NOT NULL, + `counter` bigint unsigned NOT NULL, + `date` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`criteria`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -512,13 +512,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_action`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_action` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', - `spec` tinyint(3) unsigned NOT NULL DEFAULT '0', - `button` tinyint(3) unsigned NOT NULL DEFAULT '0', - `action` int(10) unsigned NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0', + `spec` tinyint unsigned NOT NULL DEFAULT '0', + `button` tinyint unsigned NOT NULL DEFAULT '0', + `action` int unsigned NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`spec`,`button`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -538,12 +538,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_archaeology_completed`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_archaeology_completed` ( - `guid` int(10) unsigned NOT NULL, - `project` smallint(5) unsigned NOT NULL, - `time` int(10) NOT NULL, - `count` int(10) NOT NULL, + `guid` int unsigned NOT NULL, + `project` smallint unsigned NOT NULL, + `time` int NOT NULL, + `count` int NOT NULL, PRIMARY KEY (`guid`,`project`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -563,11 +563,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_archaeology_projects`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_archaeology_projects` ( - `guid` int(10) unsigned NOT NULL, - `branch` tinyint(3) unsigned NOT NULL, - `project` int(10) unsigned NOT NULL, + `guid` int unsigned NOT NULL, + `branch` tinyint unsigned NOT NULL, + `project` int unsigned NOT NULL, PRIMARY KEY (`guid`,`branch`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -587,12 +587,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_archaeology_sites`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_archaeology_sites` ( - `guid` int(10) unsigned NOT NULL, - `site` tinyint(3) unsigned NOT NULL, - `type` smallint(5) unsigned NOT NULL, - `finds` tinyint(3) unsigned NOT NULL, + `guid` int unsigned NOT NULL, + `site` tinyint unsigned NOT NULL, + `type` smallint unsigned NOT NULL, + `finds` tinyint unsigned NOT NULL, PRIMARY KEY (`guid`,`site`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -612,11 +612,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_arena_stats`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_arena_stats` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', - `slot` tinyint(3) unsigned NOT NULL DEFAULT '0', - `matchMakerRating` smallint(5) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0', + `slot` tinyint unsigned NOT NULL DEFAULT '0', + `matchMakerRating` smallint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`slot`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -636,23 +636,23 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_aura`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_aura` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `casterGuid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier', - `spell` int(10) unsigned NOT NULL DEFAULT '0', - `effectMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stackCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `amount0` int(11) NOT NULL DEFAULT '0', - `amount1` int(11) NOT NULL DEFAULT '0', - `amount2` int(11) NOT NULL DEFAULT '0', - `base_amount0` int(11) NOT NULL DEFAULT '0', - `base_amount1` int(11) NOT NULL DEFAULT '0', - `base_amount2` int(11) NOT NULL DEFAULT '0', - `maxDuration` int(11) NOT NULL DEFAULT '0', - `remainTime` int(11) NOT NULL DEFAULT '0', - `remainCharges` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `casterGuid` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier', + `spell` int unsigned NOT NULL DEFAULT '0', + `effectMask` tinyint unsigned NOT NULL DEFAULT '0', + `recalculateMask` tinyint unsigned NOT NULL DEFAULT '0', + `stackCount` tinyint unsigned NOT NULL DEFAULT '1', + `amount0` int NOT NULL DEFAULT '0', + `amount1` int NOT NULL DEFAULT '0', + `amount2` int NOT NULL DEFAULT '0', + `base_amount0` int NOT NULL DEFAULT '0', + `base_amount1` int NOT NULL DEFAULT '0', + `base_amount2` int NOT NULL DEFAULT '0', + `maxDuration` int NOT NULL DEFAULT '0', + `remainTime` int NOT NULL DEFAULT '0', + `remainCharges` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`casterGuid`,`spell`,`effectMask`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -672,14 +672,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_banned`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_banned` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `bandate` int(10) unsigned NOT NULL DEFAULT '0', - `unbandate` int(10) unsigned NOT NULL DEFAULT '0', - `bannedby` varchar(50) NOT NULL, - `banreason` varchar(255) NOT NULL, - `active` tinyint(3) unsigned NOT NULL DEFAULT '1', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `bandate` int unsigned NOT NULL DEFAULT '0', + `unbandate` int unsigned NOT NULL DEFAULT '0', + `bannedby` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, + `banreason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `active` tinyint unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`guid`,`bandate`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Ban List'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -699,19 +699,19 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_battleground_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_battleground_data` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `instanceId` int(10) unsigned NOT NULL COMMENT 'Instance Identifier', - `team` smallint(5) unsigned NOT NULL, + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `instanceId` int unsigned NOT NULL COMMENT 'Instance Identifier', + `team` smallint unsigned NOT NULL, `joinX` float NOT NULL DEFAULT '0', `joinY` float NOT NULL DEFAULT '0', `joinZ` float NOT NULL DEFAULT '0', `joinO` float NOT NULL DEFAULT '0', - `joinMapId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', - `taxiStart` int(10) unsigned NOT NULL DEFAULT '0', - `taxiEnd` int(10) unsigned NOT NULL DEFAULT '0', - `mountSpell` int(10) unsigned NOT NULL DEFAULT '0', + `joinMapId` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', + `taxiStart` int unsigned NOT NULL DEFAULT '0', + `taxiEnd` int unsigned NOT NULL DEFAULT '0', + `mountSpell` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -731,9 +731,9 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_battleground_random`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_battleground_random` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -753,22 +753,22 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_cuf_profiles`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_cuf_profiles` ( - `guid` int(10) unsigned NOT NULL COMMENT 'Character Guid', - `id` tinyint(3) unsigned NOT NULL COMMENT 'Profile Id (0-4)', - `name` varchar(12) NOT NULL COMMENT 'Profile Name', - `frameHeight` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Frame Height', - `frameWidth` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Frame Width', - `sortBy` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Frame Sort By', - `healthText` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Frame Health Text', - `boolOptions` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Many Configurable Bool Options', - `unk146` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8', - `unk147` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8', - `unk148` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8', - `unk150` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16', - `unk152` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16', - `unk154` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16', + `guid` int unsigned NOT NULL COMMENT 'Character Guid', + `id` tinyint unsigned NOT NULL COMMENT 'Profile Id (0-4)', + `name` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Profile Name', + `frameHeight` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Frame Height', + `frameWidth` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Frame Width', + `sortBy` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Frame Sort By', + `healthText` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Frame Health Text', + `boolOptions` int unsigned NOT NULL DEFAULT '0' COMMENT 'Many Configurable Bool Options', + `unk146` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8', + `unk147` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8', + `unk148` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8', + `unk150` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16', + `unk152` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16', + `unk154` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16', PRIMARY KEY (`guid`,`id`), KEY `index` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -789,14 +789,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_currency`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_currency` ( - `CharacterGuid` int(10) unsigned NOT NULL, - `Currency` smallint(5) unsigned NOT NULL, - `Quantity` int(10) unsigned NOT NULL, - `WeeklyQuantity` int(10) unsigned NOT NULL, - `TrackedQuantity` int(10) unsigned NOT NULL, - `Flags` tinyint(2) unsigned NOT NULL, + `CharacterGuid` int unsigned NOT NULL, + `Currency` smallint unsigned NOT NULL, + `Quantity` int unsigned NOT NULL, + `WeeklyQuantity` int unsigned NOT NULL, + `TrackedQuantity` int unsigned NOT NULL, + `Flags` tinyint unsigned NOT NULL, PRIMARY KEY (`CharacterGuid`,`Currency`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -816,14 +816,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_declinedname`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_declinedname` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `genitive` varchar(15) NOT NULL DEFAULT '', - `dative` varchar(15) NOT NULL DEFAULT '', - `accusative` varchar(15) NOT NULL DEFAULT '', - `instrumental` varchar(15) NOT NULL DEFAULT '', - `prepositional` varchar(15) NOT NULL DEFAULT '', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `genitive` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `dative` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `accusative` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `instrumental` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `prepositional` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', PRIMARY KEY (`guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -843,33 +843,33 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_equipmentsets`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_equipmentsets` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', - `setguid` bigint(20) unsigned NOT NULL AUTO_INCREMENT, - `setindex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `name` varchar(31) NOT NULL, - `iconname` varchar(100) NOT NULL, - `ignore_mask` int(11) unsigned NOT NULL DEFAULT '0', - `item0` int(11) unsigned NOT NULL DEFAULT '0', - `item1` int(11) unsigned NOT NULL DEFAULT '0', - `item2` int(11) unsigned NOT NULL DEFAULT '0', - `item3` int(11) unsigned NOT NULL DEFAULT '0', - `item4` int(11) unsigned NOT NULL DEFAULT '0', - `item5` int(11) unsigned NOT NULL DEFAULT '0', - `item6` int(11) unsigned NOT NULL DEFAULT '0', - `item7` int(11) unsigned NOT NULL DEFAULT '0', - `item8` int(11) unsigned NOT NULL DEFAULT '0', - `item9` int(11) unsigned NOT NULL DEFAULT '0', - `item10` int(11) unsigned NOT NULL DEFAULT '0', - `item11` int(11) unsigned NOT NULL DEFAULT '0', - `item12` int(11) unsigned NOT NULL DEFAULT '0', - `item13` int(11) unsigned NOT NULL DEFAULT '0', - `item14` int(11) unsigned NOT NULL DEFAULT '0', - `item15` int(11) unsigned NOT NULL DEFAULT '0', - `item16` int(11) unsigned NOT NULL DEFAULT '0', - `item17` int(11) unsigned NOT NULL DEFAULT '0', - `item18` int(11) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0', + `setguid` bigint unsigned NOT NULL AUTO_INCREMENT, + `setindex` tinyint unsigned NOT NULL DEFAULT '0', + `name` varchar(31) COLLATE utf8mb4_unicode_ci NOT NULL, + `iconname` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, + `ignore_mask` int unsigned NOT NULL DEFAULT '0', + `item0` int unsigned NOT NULL DEFAULT '0', + `item1` int unsigned NOT NULL DEFAULT '0', + `item2` int unsigned NOT NULL DEFAULT '0', + `item3` int unsigned NOT NULL DEFAULT '0', + `item4` int unsigned NOT NULL DEFAULT '0', + `item5` int unsigned NOT NULL DEFAULT '0', + `item6` int unsigned NOT NULL DEFAULT '0', + `item7` int unsigned NOT NULL DEFAULT '0', + `item8` int unsigned NOT NULL DEFAULT '0', + `item9` int unsigned NOT NULL DEFAULT '0', + `item10` int unsigned NOT NULL DEFAULT '0', + `item11` int unsigned NOT NULL DEFAULT '0', + `item12` int unsigned NOT NULL DEFAULT '0', + `item13` int unsigned NOT NULL DEFAULT '0', + `item14` int unsigned NOT NULL DEFAULT '0', + `item15` int unsigned NOT NULL DEFAULT '0', + `item16` int unsigned NOT NULL DEFAULT '0', + `item17` int unsigned NOT NULL DEFAULT '0', + `item18` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`setguid`), UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`), KEY `Idx_setindex` (`setindex`) @@ -891,10 +891,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_fishingsteps`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_fishingsteps` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `fishingSteps` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `fishingSteps` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -914,12 +914,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_gifts`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_gifts` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', - `item_guid` int(10) unsigned NOT NULL DEFAULT '0', - `entry` int(10) unsigned NOT NULL DEFAULT '0', - `flags` int(10) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0', + `item_guid` int unsigned NOT NULL DEFAULT '0', + `entry` int unsigned NOT NULL DEFAULT '0', + `flags` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`item_guid`), KEY `idx_guid` (`guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -940,19 +940,19 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_glyphs`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_glyphs` ( - `guid` int(10) unsigned NOT NULL, - `talentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0', - `glyph1` smallint(5) unsigned DEFAULT '0', - `glyph2` smallint(5) unsigned DEFAULT '0', - `glyph3` smallint(5) unsigned DEFAULT '0', - `glyph4` smallint(5) unsigned DEFAULT '0', - `glyph5` smallint(5) unsigned DEFAULT '0', - `glyph6` smallint(5) unsigned DEFAULT '0', - `glyph7` smallint(5) unsigned DEFAULT '0', - `glyph8` smallint(5) unsigned DEFAULT '0', - `glyph9` smallint(5) unsigned DEFAULT '0', + `guid` int unsigned NOT NULL, + `talentGroup` tinyint unsigned NOT NULL DEFAULT '0', + `glyph1` smallint unsigned DEFAULT '0', + `glyph2` smallint unsigned DEFAULT '0', + `glyph3` smallint unsigned DEFAULT '0', + `glyph4` smallint unsigned DEFAULT '0', + `glyph5` smallint unsigned DEFAULT '0', + `glyph6` smallint unsigned DEFAULT '0', + `glyph7` smallint unsigned DEFAULT '0', + `glyph8` smallint unsigned DEFAULT '0', + `glyph9` smallint unsigned DEFAULT '0', PRIMARY KEY (`guid`,`talentGroup`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -972,11 +972,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_homebind`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_homebind` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `mapId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', - `zoneId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Zone Identifier', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `mapId` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', + `zoneId` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Zone Identifier', `posX` float NOT NULL DEFAULT '0', `posY` float NOT NULL DEFAULT '0', `posZ` float NOT NULL DEFAULT '0', @@ -999,12 +999,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_instance`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_instance` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', - `instance` int(10) unsigned NOT NULL DEFAULT '0', - `permanent` tinyint(3) unsigned NOT NULL DEFAULT '0', - `extendState` tinyint(2) unsigned NOT NULL DEFAULT '1', + `guid` int unsigned NOT NULL DEFAULT '0', + `instance` int unsigned NOT NULL DEFAULT '0', + `permanent` tinyint unsigned NOT NULL DEFAULT '0', + `extendState` tinyint unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`guid`,`instance`), KEY `instance` (`instance`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -1025,12 +1025,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_inventory`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_inventory` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `bag` int(10) unsigned NOT NULL DEFAULT '0', - `slot` tinyint(3) unsigned NOT NULL DEFAULT '0', - `item` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Global Unique Identifier', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `bag` int unsigned NOT NULL DEFAULT '0', + `slot` tinyint unsigned NOT NULL DEFAULT '0', + `item` int unsigned NOT NULL DEFAULT '0' COMMENT 'Item Global Unique Identifier', PRIMARY KEY (`item`), UNIQUE KEY `guid` (`guid`,`bag`,`slot`), KEY `idx_guid` (`guid`) @@ -1052,25 +1052,25 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_pet`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_pet` ( - `id` int(10) unsigned NOT NULL DEFAULT '0', - `entry` int(10) unsigned NOT NULL DEFAULT '0', - `owner` int(10) unsigned NOT NULL DEFAULT '0', - `modelid` int(10) unsigned DEFAULT '0', - `CreatedBySpell`int(10) unsigned NOT NULL DEFAULT '0', - `PetType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `level` smallint(5) unsigned NOT NULL DEFAULT '1', - `exp` int(10) unsigned NOT NULL DEFAULT '0', - `Reactstate` tinyint(3) unsigned NOT NULL DEFAULT '0', - `name` varchar(21) NOT NULL DEFAULT 'Pet', - `renamed` tinyint(3) unsigned NOT NULL DEFAULT '0', - `active` tinyint(3) unsigned NOT NULL DEFAULT '0', - `slot` tinyint(3) unsigned NOT NULL DEFAULT '0', - `curhealth` int(10) unsigned NOT NULL DEFAULT '1', - `curmana` int(10) unsigned NOT NULL DEFAULT '0', - `savetime` int(10) unsigned NOT NULL DEFAULT '0', - `abdata` text, + `id` int unsigned NOT NULL DEFAULT '0', + `entry` int unsigned NOT NULL DEFAULT '0', + `owner` int unsigned NOT NULL DEFAULT '0', + `modelid` int unsigned DEFAULT '0', + `CreatedBySpell` int unsigned NOT NULL DEFAULT '0', + `PetType` tinyint unsigned NOT NULL DEFAULT '0', + `level` smallint unsigned NOT NULL DEFAULT '1', + `exp` int unsigned NOT NULL DEFAULT '0', + `Reactstate` tinyint unsigned NOT NULL DEFAULT '0', + `name` varchar(21) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Pet', + `renamed` tinyint unsigned NOT NULL DEFAULT '0', + `active` tinyint unsigned NOT NULL DEFAULT '0', + `slot` tinyint unsigned NOT NULL DEFAULT '0', + `curhealth` int unsigned NOT NULL DEFAULT '1', + `curmana` int unsigned NOT NULL DEFAULT '0', + `savetime` int unsigned NOT NULL DEFAULT '0', + `abdata` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`), KEY `owner` (`owner`), KEY `idx_slot` (`slot`) @@ -1092,15 +1092,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_pet_declinedname`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_pet_declinedname` ( - `id` int(10) unsigned NOT NULL DEFAULT '0', - `owner` int(10) unsigned NOT NULL DEFAULT '0', - `genitive` varchar(12) NOT NULL DEFAULT '', - `dative` varchar(12) NOT NULL DEFAULT '', - `accusative` varchar(12) NOT NULL DEFAULT '', - `instrumental` varchar(12) NOT NULL DEFAULT '', - `prepositional` varchar(12) NOT NULL DEFAULT '', + `id` int unsigned NOT NULL DEFAULT '0', + `owner` int unsigned NOT NULL DEFAULT '0', + `genitive` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `dative` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `accusative` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `instrumental` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `prepositional` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `owner_key` (`owner`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -1121,24 +1121,24 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_queststatus`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_queststatus` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', - `status` tinyint(3) unsigned NOT NULL DEFAULT '0', - `explored` tinyint(3) unsigned NOT NULL DEFAULT '0', - `timer` int(10) unsigned NOT NULL DEFAULT '0', - `mobcount1` smallint(5) unsigned NOT NULL DEFAULT '0', - `mobcount2` smallint(5) unsigned NOT NULL DEFAULT '0', - `mobcount3` smallint(5) unsigned NOT NULL DEFAULT '0', - `mobcount4` smallint(5) unsigned NOT NULL DEFAULT '0', - `itemcount1` smallint(5) unsigned NOT NULL DEFAULT '0', - `itemcount2` smallint(5) unsigned NOT NULL DEFAULT '0', - `itemcount3` smallint(5) unsigned NOT NULL DEFAULT '0', - `itemcount4` smallint(5) unsigned NOT NULL DEFAULT '0', - `itemcount5` smallint(5) unsigned NOT NULL DEFAULT '0', - `itemcount6` smallint(5) unsigned NOT NULL DEFAULT '0', - `playercount` smallint(5) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + `status` tinyint unsigned NOT NULL DEFAULT '0', + `explored` tinyint unsigned NOT NULL DEFAULT '0', + `timer` int unsigned NOT NULL DEFAULT '0', + `mobcount1` smallint unsigned NOT NULL DEFAULT '0', + `mobcount2` smallint unsigned NOT NULL DEFAULT '0', + `mobcount3` smallint unsigned NOT NULL DEFAULT '0', + `mobcount4` smallint unsigned NOT NULL DEFAULT '0', + `itemcount1` smallint unsigned NOT NULL DEFAULT '0', + `itemcount2` smallint unsigned NOT NULL DEFAULT '0', + `itemcount3` smallint unsigned NOT NULL DEFAULT '0', + `itemcount4` smallint unsigned NOT NULL DEFAULT '0', + `itemcount5` smallint unsigned NOT NULL DEFAULT '0', + `itemcount6` smallint unsigned NOT NULL DEFAULT '0', + `playercount` smallint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`quest`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1158,11 +1158,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_queststatus_daily`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_queststatus_daily` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', - `time` int(10) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + `time` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`quest`), KEY `idx_guid` (`guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; @@ -1183,10 +1183,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_queststatus_monthly`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_queststatus_monthly` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`guid`,`quest`), KEY `idx_guid` (`guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; @@ -1207,11 +1207,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_queststatus_rewarded`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_queststatus_rewarded` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', - `active` tinyint(10) unsigned NOT NULL DEFAULT '1', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + `active` tinyint unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`guid`,`quest`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1231,11 +1231,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_queststatus_seasonal`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_queststatus_seasonal` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', - `event` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Event Identifier', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + `event` int unsigned NOT NULL DEFAULT '0' COMMENT 'Event Identifier', PRIMARY KEY (`guid`,`quest`), KEY `idx_guid` (`guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; @@ -1256,10 +1256,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_queststatus_weekly`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_queststatus_weekly` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `quest` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`guid`,`quest`), KEY `idx_guid` (`guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; @@ -1280,12 +1280,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_reputation`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_reputation` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `faction` smallint(5) unsigned NOT NULL DEFAULT '0', - `standing` int(11) NOT NULL DEFAULT '0', - `flags` smallint(5) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `faction` smallint unsigned NOT NULL DEFAULT '0', + `standing` int NOT NULL DEFAULT '0', + `flags` smallint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`faction`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1305,12 +1305,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_rewardstatus_lfg`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_rewardstatus_lfg` ( - `guid` int(10) NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `dungeonId` smallint(3) NOT NULL DEFAULT '0' COMMENT 'Dungeon ID Identifier', - `rewardCount` tinyint(3) unsigned DEFAULT '0' COMMENT 'Dungeon First Reward Count Identifier', - `dailyReset` tinyint(1) unsigned DEFAULT '0' COMMENT 'Reward Count Daily Reset Identifier' + `guid` int NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `dungeonId` smallint NOT NULL DEFAULT '0' COMMENT 'Dungeon ID Identifier', + `rewardCount` tinyint unsigned DEFAULT '0' COMMENT 'Dungeon First Reward Count Identifier', + `dailyReset` tinyint unsigned DEFAULT '0' COMMENT 'Reward Count Daily Reset Identifier' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1329,12 +1329,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_skills`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_skills` ( - `guid` int(10) unsigned NOT NULL COMMENT 'Global Unique Identifier', - `skill` smallint(5) unsigned NOT NULL, - `value` smallint(5) unsigned NOT NULL, - `max` smallint(5) unsigned NOT NULL, + `guid` int unsigned NOT NULL COMMENT 'Global Unique Identifier', + `skill` smallint unsigned NOT NULL, + `value` smallint unsigned NOT NULL, + `max` smallint unsigned NOT NULL, PRIMARY KEY (`guid`,`skill`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1354,12 +1354,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_social`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_social` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier', - `friend` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Friend Global Unique Identifier', - `flags` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Friend Flags', - `note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier', + `friend` int unsigned NOT NULL DEFAULT '0' COMMENT 'Friend Global Unique Identifier', + `flags` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Friend Flags', + `note` varchar(48) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'Friend Note', PRIMARY KEY (`guid`,`friend`,`flags`), KEY `friend` (`friend`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; @@ -1380,12 +1380,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_spell` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `spell` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier', - `active` tinyint(3) unsigned NOT NULL DEFAULT '1', - `disabled` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `spell` int unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier', + `active` tinyint unsigned NOT NULL DEFAULT '1', + `disabled` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`spell`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1405,14 +1405,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_spell_cooldown`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_spell_cooldown` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part', - `spell` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier', - `item` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Identifier', - `time` int(10) unsigned NOT NULL DEFAULT '0', - `categoryId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell category Id', - `categoryEnd` int(10) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part', + `spell` int unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier', + `item` int unsigned NOT NULL DEFAULT '0' COMMENT 'Item Identifier', + `time` int unsigned NOT NULL DEFAULT '0', + `categoryId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Spell category Id', + `categoryEnd` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`spell`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1432,37 +1432,37 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_stats`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_stats` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part', - `maxhealth` int(10) unsigned NOT NULL DEFAULT '0', - `maxpower1` int(10) unsigned NOT NULL DEFAULT '0', - `maxpower2` int(10) unsigned NOT NULL DEFAULT '0', - `maxpower3` int(10) unsigned NOT NULL DEFAULT '0', - `maxpower4` int(10) unsigned NOT NULL DEFAULT '0', - `maxpower5` int(10) unsigned NOT NULL DEFAULT '0', - `strength` int(10) unsigned NOT NULL DEFAULT '0', - `agility` int(10) unsigned NOT NULL DEFAULT '0', - `stamina` int(10) unsigned NOT NULL DEFAULT '0', - `intellect` int(10) unsigned NOT NULL DEFAULT '0', - `spirit` int(10) unsigned NOT NULL DEFAULT '0', - `armor` int(10) unsigned NOT NULL DEFAULT '0', - `resHoly` int(10) unsigned NOT NULL DEFAULT '0', - `resFire` int(10) unsigned NOT NULL DEFAULT '0', - `resNature` int(10) unsigned NOT NULL DEFAULT '0', - `resFrost` int(10) unsigned NOT NULL DEFAULT '0', - `resShadow` int(10) unsigned NOT NULL DEFAULT '0', - `resArcane` int(10) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part', + `maxhealth` int unsigned NOT NULL DEFAULT '0', + `maxpower1` int unsigned NOT NULL DEFAULT '0', + `maxpower2` int unsigned NOT NULL DEFAULT '0', + `maxpower3` int unsigned NOT NULL DEFAULT '0', + `maxpower4` int unsigned NOT NULL DEFAULT '0', + `maxpower5` int unsigned NOT NULL DEFAULT '0', + `strength` int unsigned NOT NULL DEFAULT '0', + `agility` int unsigned NOT NULL DEFAULT '0', + `stamina` int unsigned NOT NULL DEFAULT '0', + `intellect` int unsigned NOT NULL DEFAULT '0', + `spirit` int unsigned NOT NULL DEFAULT '0', + `armor` int unsigned NOT NULL DEFAULT '0', + `resHoly` int unsigned NOT NULL DEFAULT '0', + `resFire` int unsigned NOT NULL DEFAULT '0', + `resNature` int unsigned NOT NULL DEFAULT '0', + `resFrost` int unsigned NOT NULL DEFAULT '0', + `resShadow` int unsigned NOT NULL DEFAULT '0', + `resArcane` int unsigned NOT NULL DEFAULT '0', `blockPct` float unsigned NOT NULL DEFAULT '0', `dodgePct` float unsigned NOT NULL DEFAULT '0', `parryPct` float unsigned NOT NULL DEFAULT '0', `critPct` float unsigned NOT NULL DEFAULT '0', `rangedCritPct` float unsigned NOT NULL DEFAULT '0', `spellCritPct` float unsigned NOT NULL DEFAULT '0', - `attackPower` int(10) unsigned NOT NULL DEFAULT '0', - `rangedAttackPower` int(10) unsigned NOT NULL DEFAULT '0', - `spellPower` int(10) unsigned NOT NULL DEFAULT '0', - `resilience` int(10) unsigned NOT NULL DEFAULT '0', + `attackPower` int unsigned NOT NULL DEFAULT '0', + `rangedAttackPower` int unsigned NOT NULL DEFAULT '0', + `spellPower` int unsigned NOT NULL DEFAULT '0', + `resilience` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1482,11 +1482,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_talent`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_talent` ( - `guid` int(10) unsigned NOT NULL, - `spell` int(10) unsigned NOT NULL, - `talentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL, + `spell` int unsigned NOT NULL, + `talentGroup` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`spell`,`talentGroup`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1506,16 +1506,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_void_storage`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_void_storage` ( - `itemId` bigint(20) unsigned NOT NULL, - `playerGuid` int(10) unsigned NOT NULL, - `itemEntry` int(10) unsigned NOT NULL, - `slot` tinyint(3) unsigned NOT NULL, - `creatorGuid` int(10) unsigned NOT NULL DEFAULT '0', - `randomPropertyType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `randomProperty` int(10) unsigned NOT NULL DEFAULT '0', - `suffixFactor` int(10) unsigned NOT NULL DEFAULT '0', + `itemId` bigint unsigned NOT NULL, + `playerGuid` int unsigned NOT NULL, + `itemEntry` int unsigned NOT NULL, + `slot` tinyint unsigned NOT NULL, + `creatorGuid` int unsigned NOT NULL DEFAULT '0', + `randomPropertyType` tinyint unsigned NOT NULL DEFAULT '0', + `randomProperty` int unsigned NOT NULL DEFAULT '0', + `suffixFactor` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`itemId`), UNIQUE KEY `idx_player_slot` (`playerGuid`,`slot`), KEY `idx_player` (`playerGuid`) @@ -1537,80 +1537,80 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `characters`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `characters` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `account` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `account` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier', `name` varchar(12) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, - `slot` tinyint(3) unsigned NOT NULL DEFAULT '0', - `race` tinyint(3) unsigned NOT NULL DEFAULT '0', - `class` tinyint(3) unsigned NOT NULL DEFAULT '0', - `gender` tinyint(3) unsigned NOT NULL DEFAULT '0', - `level` tinyint(3) unsigned NOT NULL DEFAULT '0', - `xp` int(10) unsigned NOT NULL DEFAULT '0', - `money` bigint(20) unsigned NOT NULL DEFAULT '0', - `skin` tinyint(3) unsigned NOT NULL DEFAULT '0', - `face` tinyint(3) unsigned NOT NULL DEFAULT '0', - `hairStyle` tinyint(3) unsigned NOT NULL DEFAULT '0', - `hairColor` tinyint(3) unsigned NOT NULL DEFAULT '0', - `facialStyle` tinyint(3) unsigned NOT NULL DEFAULT '0', - `bankSlots` tinyint(3) unsigned NOT NULL DEFAULT '0', - `restState` tinyint(3) unsigned NOT NULL DEFAULT '0', - `playerFlags` int(10) unsigned NOT NULL DEFAULT '0', + `slot` tinyint unsigned NOT NULL DEFAULT '0', + `race` tinyint unsigned NOT NULL DEFAULT '0', + `class` tinyint unsigned NOT NULL DEFAULT '0', + `gender` tinyint unsigned NOT NULL DEFAULT '0', + `level` tinyint unsigned NOT NULL DEFAULT '0', + `xp` int unsigned NOT NULL DEFAULT '0', + `money` bigint unsigned NOT NULL DEFAULT '0', + `skin` tinyint unsigned NOT NULL DEFAULT '0', + `face` tinyint unsigned NOT NULL DEFAULT '0', + `hairStyle` tinyint unsigned NOT NULL DEFAULT '0', + `hairColor` tinyint unsigned NOT NULL DEFAULT '0', + `facialStyle` tinyint unsigned NOT NULL DEFAULT '0', + `bankSlots` tinyint unsigned NOT NULL DEFAULT '0', + `restState` tinyint unsigned NOT NULL DEFAULT '0', + `playerFlags` int unsigned NOT NULL DEFAULT '0', `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', - `map` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', - `instance_id` int(10) unsigned NOT NULL DEFAULT '0', - `instance_mode_mask` tinyint(3) unsigned NOT NULL DEFAULT '0', + `map` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', + `instance_id` int unsigned NOT NULL DEFAULT '0', + `instance_mode_mask` tinyint unsigned NOT NULL DEFAULT '0', `orientation` float NOT NULL DEFAULT '0', - `taximask` text NOT NULL, - `online` tinyint(3) unsigned NOT NULL DEFAULT '0', - `cinematic` tinyint(3) unsigned NOT NULL DEFAULT '0', - `totaltime` int(10) unsigned NOT NULL DEFAULT '0', - `leveltime` int(10) unsigned NOT NULL DEFAULT '0', - `logout_time` int(10) unsigned NOT NULL DEFAULT '0', - `is_logout_resting` tinyint(3) unsigned NOT NULL DEFAULT '0', + `taximask` text COLLATE utf8mb4_unicode_ci NOT NULL, + `online` tinyint unsigned NOT NULL DEFAULT '0', + `cinematic` tinyint unsigned NOT NULL DEFAULT '0', + `totaltime` int unsigned NOT NULL DEFAULT '0', + `leveltime` int unsigned NOT NULL DEFAULT '0', + `logout_time` int unsigned NOT NULL DEFAULT '0', + `is_logout_resting` tinyint unsigned NOT NULL DEFAULT '0', `rest_bonus` float NOT NULL DEFAULT '0', - `resettalents_cost` int(10) unsigned NOT NULL DEFAULT '0', - `resettalents_time` int(10) unsigned NOT NULL DEFAULT '0', - `talentTree` varchar(10) NOT NULL DEFAULT '0 0', + `resettalents_cost` int unsigned NOT NULL DEFAULT '0', + `resettalents_time` int unsigned NOT NULL DEFAULT '0', + `talentTree` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0 0', `trans_x` float NOT NULL DEFAULT '0', `trans_y` float NOT NULL DEFAULT '0', `trans_z` float NOT NULL DEFAULT '0', `trans_o` float NOT NULL DEFAULT '0', - `transguid` int(10) unsigned NOT NULL DEFAULT '0', - `trans_spawn_id` int(11) unsigned NOT NULL DEFAULT '0', - `extra_flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `stable_slots` tinyint(3) unsigned NOT NULL DEFAULT '0', - `at_login` smallint(5) unsigned NOT NULL DEFAULT '0', - `zone` smallint(5) unsigned NOT NULL DEFAULT '0', - `death_expire_time` int(10) unsigned NOT NULL DEFAULT '0', - `taxi_path` text, - `totalKills` int(10) unsigned NOT NULL DEFAULT '0', - `todayKills` smallint(5) unsigned NOT NULL DEFAULT '0', - `yesterdayKills` smallint(5) unsigned NOT NULL DEFAULT '0', - `chosenTitle` int(10) unsigned NOT NULL DEFAULT '0', - `watchedFaction` int(10) unsigned NOT NULL DEFAULT '0', - `drunk` tinyint(3) unsigned NOT NULL DEFAULT '0', - `health` int(10) unsigned NOT NULL DEFAULT '0', - `power1` int(10) unsigned NOT NULL DEFAULT '0', - `power2` int(10) unsigned NOT NULL DEFAULT '0', - `power3` int(10) unsigned NOT NULL DEFAULT '0', - `power4` int(10) unsigned NOT NULL DEFAULT '0', - `power5` int(10) unsigned NOT NULL DEFAULT '0', - `latency` int(10) unsigned NOT NULL DEFAULT '0', - `talentGroupsCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `activeTalentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0', - `exploredZones` longtext, - `equipmentCache` longtext, - `knownTitles` longtext, - `actionBars` tinyint(3) unsigned NOT NULL DEFAULT '0', - `grantableLevels` tinyint(3) unsigned NOT NULL DEFAULT '0', - `achievementPoints` int(10) unsigned NOT NULL DEFAULT '0', - `deleteInfos_Account` int(10) unsigned DEFAULT NULL, - `deleteInfos_Name` varchar(12) DEFAULT NULL, - `deleteDate` int(10) unsigned DEFAULT NULL, + `transguid` int unsigned NOT NULL DEFAULT '0', + `trans_spawn_id` int unsigned NOT NULL DEFAULT '0', + `extra_flags` smallint unsigned NOT NULL DEFAULT '0', + `stable_slots` tinyint unsigned NOT NULL DEFAULT '0', + `at_login` smallint unsigned NOT NULL DEFAULT '0', + `zone` smallint unsigned NOT NULL DEFAULT '0', + `death_expire_time` int unsigned NOT NULL DEFAULT '0', + `taxi_path` text COLLATE utf8mb4_unicode_ci, + `totalKills` int unsigned NOT NULL DEFAULT '0', + `todayKills` smallint unsigned NOT NULL DEFAULT '0', + `yesterdayKills` smallint unsigned NOT NULL DEFAULT '0', + `chosenTitle` int unsigned NOT NULL DEFAULT '0', + `watchedFaction` int unsigned NOT NULL DEFAULT '0', + `drunk` tinyint unsigned NOT NULL DEFAULT '0', + `health` int unsigned NOT NULL DEFAULT '0', + `power1` int unsigned NOT NULL DEFAULT '0', + `power2` int unsigned NOT NULL DEFAULT '0', + `power3` int unsigned NOT NULL DEFAULT '0', + `power4` int unsigned NOT NULL DEFAULT '0', + `power5` int unsigned NOT NULL DEFAULT '0', + `latency` int unsigned NOT NULL DEFAULT '0', + `talentGroupsCount` tinyint unsigned NOT NULL DEFAULT '1', + `activeTalentGroup` tinyint unsigned NOT NULL DEFAULT '0', + `exploredZones` longtext COLLATE utf8mb4_unicode_ci, + `equipmentCache` longtext COLLATE utf8mb4_unicode_ci, + `knownTitles` longtext COLLATE utf8mb4_unicode_ci, + `actionBars` tinyint unsigned NOT NULL DEFAULT '0', + `grantableLevels` tinyint unsigned NOT NULL DEFAULT '0', + `achievementPoints` int unsigned NOT NULL DEFAULT '0', + `deleteInfos_Account` int unsigned DEFAULT NULL, + `deleteInfos_Name` varchar(12) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `deleteDate` int unsigned DEFAULT NULL, PRIMARY KEY (`guid`), KEY `idx_account` (`account`), KEY `idx_online` (`online`), @@ -1633,23 +1633,23 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `corpse`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `corpse` ( - `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', `posY` float NOT NULL DEFAULT '0', `posZ` float NOT NULL DEFAULT '0', `orientation` float NOT NULL DEFAULT '0', - `mapId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', - `displayId` int(10) unsigned NOT NULL DEFAULT '0', - `itemCache` text NOT NULL, - `bytes1` int(10) unsigned NOT NULL DEFAULT '0', - `bytes2` int(10) unsigned NOT NULL DEFAULT '0', - `flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `dynFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `time` int(10) unsigned NOT NULL DEFAULT '0', - `corpseType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `instanceId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Instance Identifier', + `mapId` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', + `displayId` int unsigned NOT NULL DEFAULT '0', + `itemCache` text COLLATE utf8mb4_unicode_ci NOT NULL, + `bytes1` int unsigned NOT NULL DEFAULT '0', + `bytes2` int unsigned NOT NULL DEFAULT '0', + `flags` tinyint unsigned NOT NULL DEFAULT '0', + `dynFlags` tinyint unsigned NOT NULL DEFAULT '0', + `time` int unsigned NOT NULL DEFAULT '0', + `corpseType` tinyint unsigned NOT NULL DEFAULT '0', + `instanceId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Instance Identifier', PRIMARY KEY (`guid`), KEY `idx_type` (`corpseType`), KEY `idx_instance` (`instanceId`), @@ -1672,10 +1672,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `corpse_phases`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `corpse_phases` ( - `OwnerGuid` int(10) unsigned NOT NULL DEFAULT '0', - `PhaseId` int(10) unsigned NOT NULL, + `OwnerGuid` int unsigned NOT NULL DEFAULT '0', + `PhaseId` int unsigned NOT NULL, PRIMARY KEY (`OwnerGuid`,`PhaseId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Grid Loading System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1695,10 +1695,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `game_event_condition_save`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_condition_save` ( - `eventEntry` tinyint(3) unsigned NOT NULL, - `condition_id` int(10) unsigned NOT NULL DEFAULT '0', + `eventEntry` tinyint unsigned NOT NULL, + `condition_id` int unsigned NOT NULL DEFAULT '0', `done` float DEFAULT '0', PRIMARY KEY (`eventEntry`,`condition_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -1719,11 +1719,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `game_event_save`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_save` ( - `eventEntry` tinyint(3) unsigned NOT NULL, - `state` tinyint(3) unsigned NOT NULL DEFAULT '1', - `next_start` int(10) unsigned NOT NULL DEFAULT '0', + `eventEntry` tinyint unsigned NOT NULL, + `state` tinyint unsigned NOT NULL DEFAULT '1', + `next_start` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`eventEntry`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1743,12 +1743,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `gm_subsurvey`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gm_subsurvey` ( - `surveyId` int(10) unsigned NOT NULL AUTO_INCREMENT, - `questionId` int(10) unsigned NOT NULL DEFAULT '0', - `answer` int(10) unsigned NOT NULL DEFAULT '0', - `answerComment` text NOT NULL, + `surveyId` int unsigned NOT NULL AUTO_INCREMENT, + `questionId` int unsigned NOT NULL DEFAULT '0', + `answer` int unsigned NOT NULL DEFAULT '0', + `answerComment` text COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`surveyId`,`questionId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1768,13 +1768,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `gm_survey`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gm_survey` ( - `surveyId` int(10) unsigned NOT NULL AUTO_INCREMENT, - `guid` int(10) unsigned NOT NULL DEFAULT '0', - `mainSurvey` int(10) unsigned NOT NULL DEFAULT '0', - `comment` longtext NOT NULL, - `createTime` int(10) unsigned NOT NULL DEFAULT '0', + `surveyId` int unsigned NOT NULL AUTO_INCREMENT, + `guid` int unsigned NOT NULL DEFAULT '0', + `mainSurvey` int unsigned NOT NULL DEFAULT '0', + `comment` longtext COLLATE utf8mb4_unicode_ci NOT NULL, + `createTime` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`surveyId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1794,28 +1794,28 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `gm_ticket`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gm_ticket` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT, - `type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '0 open, 1 closed, 2 character deleted', - `playerGuid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier of ticket creator', - `name` varchar(12) NOT NULL COMMENT 'Name of ticket creator', - `description` text NOT NULL, - `createTime` int(10) unsigned NOT NULL DEFAULT '0', - `mapId` smallint(5) unsigned NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL AUTO_INCREMENT, + `type` tinyint unsigned NOT NULL DEFAULT '0' COMMENT '0 open, 1 closed, 2 character deleted', + `playerGuid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier of ticket creator', + `name` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Name of ticket creator', + `description` text COLLATE utf8mb4_unicode_ci NOT NULL, + `createTime` int unsigned NOT NULL DEFAULT '0', + `mapId` smallint unsigned NOT NULL DEFAULT '0', `posX` float NOT NULL DEFAULT '0', `posY` float NOT NULL DEFAULT '0', `posZ` float NOT NULL DEFAULT '0', - `lastModifiedTime` int(10) unsigned NOT NULL DEFAULT '0', - `closedBy` int(10) NOT NULL DEFAULT '0', - `assignedTo` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned', - `comment` text NOT NULL, - `response` text NOT NULL, - `completed` tinyint(3) unsigned NOT NULL DEFAULT '0', - `escalated` tinyint(3) unsigned NOT NULL DEFAULT '0', - `viewed` tinyint(3) unsigned NOT NULL DEFAULT '0', - `needMoreHelp` tinyint(3) unsigned NOT NULL DEFAULT '0', - `resolvedBy` int(10) NOT NULL DEFAULT '0' COMMENT 'GUID of GM who resolved the ticket', + `lastModifiedTime` int unsigned NOT NULL DEFAULT '0', + `closedBy` int NOT NULL DEFAULT '0', + `assignedTo` int unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned', + `comment` text COLLATE utf8mb4_unicode_ci NOT NULL, + `response` text COLLATE utf8mb4_unicode_ci NOT NULL, + `completed` tinyint unsigned NOT NULL DEFAULT '0', + `escalated` tinyint unsigned NOT NULL DEFAULT '0', + `viewed` tinyint unsigned NOT NULL DEFAULT '0', + `needMoreHelp` tinyint unsigned NOT NULL DEFAULT '0', + `resolvedBy` int NOT NULL DEFAULT '0' COMMENT 'GUID of GM who resolved the ticket', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1835,11 +1835,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `group_instance`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `group_instance` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', - `instance` int(10) unsigned NOT NULL DEFAULT '0', - `permanent` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0', + `instance` int unsigned NOT NULL DEFAULT '0', + `permanent` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`instance`), KEY `instance` (`instance`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -1860,13 +1860,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `group_member`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `group_member` ( - `guid` int(10) unsigned NOT NULL, - `memberGuid` int(10) unsigned NOT NULL, - `memberFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `subgroup` tinyint(3) unsigned NOT NULL DEFAULT '0', - `roles` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL, + `memberGuid` int unsigned NOT NULL, + `memberFlags` tinyint unsigned NOT NULL DEFAULT '0', + `subgroup` tinyint unsigned NOT NULL DEFAULT '0', + `roles` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`memberGuid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Groups'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1886,25 +1886,25 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `groups`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `groups` ( - `guid` int(10) unsigned NOT NULL, - `leaderGuid` int(10) unsigned NOT NULL, - `lootMethod` tinyint(3) unsigned NOT NULL, - `looterGuid` int(10) unsigned NOT NULL, - `lootThreshold` tinyint(3) unsigned NOT NULL, - `icon1` bigint(20) unsigned NOT NULL, - `icon2` bigint(20) unsigned NOT NULL, - `icon3` bigint(20) unsigned NOT NULL, - `icon4` bigint(20) unsigned NOT NULL, - `icon5` bigint(20) unsigned NOT NULL, - `icon6` bigint(20) unsigned NOT NULL, - `icon7` bigint(20) unsigned NOT NULL, - `icon8` bigint(20) unsigned NOT NULL, - `groupType` tinyint(3) unsigned NOT NULL, - `difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0', - `raidDifficulty` tinyint(3) unsigned NOT NULL DEFAULT '0', - `masterLooterGuid` int(10) unsigned NOT NULL, + `guid` int unsigned NOT NULL, + `leaderGuid` int unsigned NOT NULL, + `lootMethod` tinyint unsigned NOT NULL, + `looterGuid` int unsigned NOT NULL, + `lootThreshold` tinyint unsigned NOT NULL, + `icon1` bigint unsigned NOT NULL, + `icon2` bigint unsigned NOT NULL, + `icon3` bigint unsigned NOT NULL, + `icon4` bigint unsigned NOT NULL, + `icon5` bigint unsigned NOT NULL, + `icon6` bigint unsigned NOT NULL, + `icon7` bigint unsigned NOT NULL, + `icon8` bigint unsigned NOT NULL, + `groupType` tinyint unsigned NOT NULL, + `difficulty` tinyint unsigned NOT NULL DEFAULT '0', + `raidDifficulty` tinyint unsigned NOT NULL DEFAULT '0', + `masterLooterGuid` int unsigned NOT NULL, PRIMARY KEY (`guid`), KEY `leaderGuid` (`leaderGuid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Groups'; @@ -1925,26 +1925,26 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild` ( - `guildid` int(10) unsigned NOT NULL DEFAULT '0', - `name` varchar(24) NOT NULL DEFAULT '', - `leaderguid` int(10) unsigned NOT NULL DEFAULT '0', - `EmblemStyle` tinyint(3) unsigned NOT NULL DEFAULT '0', - `EmblemColor` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BorderStyle` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BorderColor` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BackgroundColor` tinyint(3) unsigned NOT NULL DEFAULT '0', - `info` varchar(500) NOT NULL DEFAULT '', - `motd` varchar(128) NOT NULL DEFAULT '', - `createdate` int(10) unsigned NOT NULL DEFAULT '0', - `BankMoney` bigint(20) unsigned NOT NULL DEFAULT '0', - `level` int(10) unsigned DEFAULT '1', - `experience` bigint(20) unsigned DEFAULT '0', - `todayExperience` bigint(20) unsigned DEFAULT '0', - `completedDungeonChallenges` int(10) unsigned DEFAULT '0', - `completedRaidChallenges` int(10) unsigned DEFAULT '0', - `completedRatedBattlegroundChallenges` int(10) unsigned DEFAULT '0', + `guildid` int unsigned NOT NULL DEFAULT '0', + `name` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `leaderguid` int unsigned NOT NULL DEFAULT '0', + `EmblemStyle` tinyint unsigned NOT NULL DEFAULT '0', + `EmblemColor` tinyint unsigned NOT NULL DEFAULT '0', + `BorderStyle` tinyint unsigned NOT NULL DEFAULT '0', + `BorderColor` tinyint unsigned NOT NULL DEFAULT '0', + `BackgroundColor` tinyint unsigned NOT NULL DEFAULT '0', + `info` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `motd` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `createdate` int unsigned NOT NULL DEFAULT '0', + `BankMoney` bigint unsigned NOT NULL DEFAULT '0', + `level` int unsigned DEFAULT '1', + `experience` bigint unsigned DEFAULT '0', + `todayExperience` bigint unsigned DEFAULT '0', + `completedDungeonChallenges` int unsigned DEFAULT '0', + `completedRaidChallenges` int unsigned DEFAULT '0', + `completedRatedBattlegroundChallenges` int unsigned DEFAULT '0', `WeeklyBonusMoney` bigint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guildid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Guild System'; @@ -1965,12 +1965,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_achievement`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_achievement` ( - `guildId` int(10) unsigned NOT NULL, - `achievement` smallint(5) unsigned NOT NULL, - `date` int(10) unsigned NOT NULL DEFAULT '0', - `guids` text NOT NULL, + `guildId` int unsigned NOT NULL, + `achievement` smallint unsigned NOT NULL, + `date` int unsigned NOT NULL DEFAULT '0', + `guids` text COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`guildId`,`achievement`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1990,13 +1990,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_achievement_progress`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_achievement_progress` ( - `guildId` int(10) unsigned NOT NULL, - `criteria` smallint(5) unsigned NOT NULL, - `counter` bigint(20) unsigned NOT NULL, - `date` int(10) unsigned NOT NULL DEFAULT '0', - `completedGuid` int(10) unsigned NOT NULL DEFAULT '0', + `guildId` int unsigned NOT NULL, + `criteria` smallint unsigned NOT NULL, + `counter` bigint unsigned NOT NULL, + `date` int unsigned NOT NULL DEFAULT '0', + `completedGuid` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guildId`,`criteria`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2016,17 +2016,17 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_bank_eventlog`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_bank_eventlog` ( - `guildid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Guild Identificator', - `LogGuid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Log record identificator - auxiliary column', - `TabId` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Guild bank TabId', - `EventType` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Event type', - `PlayerGuid` int(10) unsigned NOT NULL DEFAULT '0', - `ItemOrMoney` bigint(20) unsigned NOT NULL DEFAULT '0', - `ItemStackCount` smallint(5) unsigned NOT NULL DEFAULT '0', - `DestTabId` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Destination Tab Id', - `TimeStamp` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Event UNIX time', + `guildid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Guild Identificator', + `LogGuid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Log record identificator - auxiliary column', + `TabId` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Guild bank TabId', + `EventType` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Event type', + `PlayerGuid` int unsigned NOT NULL DEFAULT '0', + `ItemOrMoney` bigint unsigned NOT NULL DEFAULT '0', + `ItemStackCount` smallint unsigned NOT NULL DEFAULT '0', + `DestTabId` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Destination Tab Id', + `TimeStamp` int unsigned NOT NULL DEFAULT '0' COMMENT 'Event UNIX time', PRIMARY KEY (`guildid`,`LogGuid`,`TabId`), KEY `guildid_key` (`guildid`), KEY `Idx_PlayerGuid` (`PlayerGuid`), @@ -2049,12 +2049,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_bank_item`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_bank_item` ( - `guildid` int(10) unsigned NOT NULL DEFAULT '0', - `TabId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SlotId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `item_guid` int(10) unsigned NOT NULL DEFAULT '0', + `guildid` int unsigned NOT NULL DEFAULT '0', + `TabId` tinyint unsigned NOT NULL DEFAULT '0', + `SlotId` tinyint unsigned NOT NULL DEFAULT '0', + `item_guid` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guildid`,`TabId`,`SlotId`), KEY `guildid_key` (`guildid`), KEY `Idx_item_guid` (`item_guid`) @@ -2076,13 +2076,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_bank_right`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_bank_right` ( - `guildid` int(10) unsigned NOT NULL DEFAULT '0', - `TabId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `rid` tinyint(3) unsigned NOT NULL DEFAULT '0', - `gbright` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SlotPerDay` int(10) unsigned NOT NULL DEFAULT '0', + `guildid` int unsigned NOT NULL DEFAULT '0', + `TabId` tinyint unsigned NOT NULL DEFAULT '0', + `rid` tinyint unsigned NOT NULL DEFAULT '0', + `gbright` tinyint unsigned NOT NULL DEFAULT '0', + `SlotPerDay` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guildid`,`TabId`,`rid`), KEY `guildid_key` (`guildid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -2103,13 +2103,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_bank_tab`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_bank_tab` ( - `guildid` int(10) unsigned NOT NULL DEFAULT '0', - `TabId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `TabName` varchar(16) NOT NULL DEFAULT '', - `TabIcon` varchar(100) NOT NULL DEFAULT '', - `TabText` varchar(500) DEFAULT NULL, + `guildid` int unsigned NOT NULL DEFAULT '0', + `TabId` tinyint unsigned NOT NULL DEFAULT '0', + `TabName` varchar(16) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `TabIcon` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `TabText` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`guildid`,`TabId`), KEY `guildid_key` (`guildid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -2130,15 +2130,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_eventlog`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_eventlog` ( - `guildid` int(10) unsigned NOT NULL COMMENT 'Guild Identificator', - `LogGuid` int(10) unsigned NOT NULL COMMENT 'Log record identificator - auxiliary column', - `EventType` tinyint(3) unsigned NOT NULL COMMENT 'Event type', - `PlayerGuid1` int(10) unsigned NOT NULL COMMENT 'Player 1', - `PlayerGuid2` int(10) unsigned NOT NULL COMMENT 'Player 2', - `NewRank` tinyint(3) unsigned NOT NULL COMMENT 'New rank(in case promotion/demotion)', - `TimeStamp` int(10) unsigned NOT NULL COMMENT 'Event UNIX time', + `guildid` int unsigned NOT NULL COMMENT 'Guild Identificator', + `LogGuid` int unsigned NOT NULL COMMENT 'Log record identificator - auxiliary column', + `EventType` tinyint unsigned NOT NULL COMMENT 'Event type', + `PlayerGuid1` int unsigned NOT NULL COMMENT 'Player 1', + `PlayerGuid2` int unsigned NOT NULL COMMENT 'Player 2', + `NewRank` tinyint unsigned NOT NULL COMMENT 'New rank(in case promotion/demotion)', + `TimeStamp` int unsigned NOT NULL COMMENT 'Event UNIX time', PRIMARY KEY (`guildid`,`LogGuid`), KEY `Idx_PlayerGuid1` (`PlayerGuid1`), KEY `Idx_PlayerGuid2` (`PlayerGuid2`), @@ -2161,15 +2161,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_finder_applicant`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_finder_applicant` ( - `guildId` int(10) unsigned DEFAULT NULL, - `playerGuid` int(10) unsigned DEFAULT NULL, - `availability` tinyint(3) unsigned DEFAULT '0', - `classRole` tinyint(3) unsigned DEFAULT '0', - `interests` tinyint(3) unsigned DEFAULT '0', - `comment` varchar(255) DEFAULT NULL, - `submitTime` int(10) unsigned DEFAULT NULL, + `guildId` int unsigned DEFAULT NULL, + `playerGuid` int unsigned DEFAULT NULL, + `availability` tinyint unsigned DEFAULT '0', + `classRole` tinyint unsigned DEFAULT '0', + `interests` tinyint unsigned DEFAULT '0', + `comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `submitTime` int unsigned DEFAULT NULL, UNIQUE KEY `guildId` (`guildId`,`playerGuid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2189,15 +2189,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_finder_guild_settings`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_finder_guild_settings` ( - `guildId` int(10) unsigned NOT NULL, - `availability` tinyint(3) unsigned NOT NULL DEFAULT '0', - `classRoles` tinyint(3) unsigned NOT NULL DEFAULT '0', - `interests` tinyint(3) unsigned NOT NULL DEFAULT '0', - `level` tinyint(3) unsigned NOT NULL DEFAULT '1', - `listed` tinyint(3) unsigned NOT NULL DEFAULT '0', - `comment` varchar(255) DEFAULT NULL, + `guildId` int unsigned NOT NULL, + `availability` tinyint unsigned NOT NULL DEFAULT '0', + `classRoles` tinyint unsigned NOT NULL DEFAULT '0', + `interests` tinyint unsigned NOT NULL DEFAULT '0', + `level` tinyint unsigned NOT NULL DEFAULT '1', + `listed` tinyint unsigned NOT NULL DEFAULT '0', + `comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`guildId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2217,16 +2217,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_member`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_member` ( - `guildid` int(10) unsigned NOT NULL COMMENT 'Guild Identificator', - `guid` int(10) unsigned NOT NULL, - `rank` tinyint(3) unsigned NOT NULL, - `pnote` varchar(31) NOT NULL DEFAULT '', - `offnote` varchar(31) NOT NULL DEFAULT '', - `activity` int(10) unsigned NOT NULL DEFAULT '0', - `weekActivity` int(10) unsigned NOT NULL DEFAULT '0', - `weekReputation` int(10) unsigned NOT NULL DEFAULT '0', + `guildid` int unsigned NOT NULL COMMENT 'Guild Identificator', + `guid` int unsigned NOT NULL, + `rank` tinyint unsigned NOT NULL, + `pnote` varchar(31) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `offnote` varchar(31) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `activity` int unsigned NOT NULL DEFAULT '0', + `weekActivity` int unsigned NOT NULL DEFAULT '0', + `weekReputation` int unsigned NOT NULL DEFAULT '0', UNIQUE KEY `guid_key` (`guid`), KEY `guildid_key` (`guildid`), KEY `guildid_rank_key` (`guildid`,`rank`) @@ -2248,18 +2248,18 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_member_withdraw`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_member_withdraw` ( - `guid` int(10) unsigned NOT NULL, - `tab0` int(10) unsigned NOT NULL DEFAULT '0', - `tab1` int(10) unsigned NOT NULL DEFAULT '0', - `tab2` int(10) unsigned NOT NULL DEFAULT '0', - `tab3` int(10) unsigned NOT NULL DEFAULT '0', - `tab4` int(10) unsigned NOT NULL DEFAULT '0', - `tab5` int(10) unsigned NOT NULL DEFAULT '0', - `tab6` int(10) unsigned NOT NULL DEFAULT '0', - `tab7` int(10) unsigned NOT NULL DEFAULT '0', - `money` bigint(20) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL, + `tab0` int unsigned NOT NULL DEFAULT '0', + `tab1` int unsigned NOT NULL DEFAULT '0', + `tab2` int unsigned NOT NULL DEFAULT '0', + `tab3` int unsigned NOT NULL DEFAULT '0', + `tab4` int unsigned NOT NULL DEFAULT '0', + `tab5` int unsigned NOT NULL DEFAULT '0', + `tab6` int unsigned NOT NULL DEFAULT '0', + `tab7` int unsigned NOT NULL DEFAULT '0', + `money` bigint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Guild Member Daily Withdraws'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2279,15 +2279,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_newslog`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_newslog` ( - `guildid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Guild Identificator', - `LogGuid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Log record identificator - auxiliary column', - `EventType` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Event type', - `PlayerGuid` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `Value` int(10) unsigned NOT NULL DEFAULT '0', - `TimeStamp` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Event UNIX time', + `guildid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Guild Identificator', + `LogGuid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Log record identificator - auxiliary column', + `EventType` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Event type', + `PlayerGuid` int unsigned NOT NULL DEFAULT '0', + `Flags` int unsigned NOT NULL DEFAULT '0', + `Value` int unsigned NOT NULL DEFAULT '0', + `TimeStamp` int unsigned NOT NULL DEFAULT '0' COMMENT 'Event UNIX time', PRIMARY KEY (`guildid`,`LogGuid`), KEY `guildid_key` (`guildid`), KEY `Idx_PlayerGuid` (`PlayerGuid`), @@ -2310,12 +2310,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_old_member`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_old_member` ( - `guid` int(10) unsigned NOT NULL, - `guildId` int(10) unsigned NOT NULL, - `weekReputation` int(10) unsigned NOT NULL, - `leaveDate` int(10) unsigned NOT NULL, + `guid` int unsigned NOT NULL, + `guildId` int unsigned NOT NULL, + `weekReputation` int unsigned NOT NULL, + `leaveDate` int unsigned NOT NULL, PRIMARY KEY (`guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2335,13 +2335,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_rank`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_rank` ( - `guildid` int(10) unsigned NOT NULL DEFAULT '0', - `rid` tinyint(3) unsigned NOT NULL, - `rname` varchar(20) NOT NULL DEFAULT '', - `rights` int(10) unsigned NOT NULL DEFAULT '0', - `BankMoneyPerDay` int(10) unsigned NOT NULL DEFAULT '0', + `guildid` int unsigned NOT NULL DEFAULT '0', + `rid` tinyint unsigned NOT NULL, + `rname` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `rights` int unsigned NOT NULL DEFAULT '0', + `BankMoneyPerDay` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guildid`,`rid`), KEY `Idx_rid` (`rid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Guild System'; @@ -2362,14 +2362,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `instance`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `instance` ( - `id` int(10) unsigned NOT NULL DEFAULT '0', - `map` smallint(5) unsigned NOT NULL DEFAULT '0', - `resettime` bigint(20) unsigned NOT NULL DEFAULT '0', - `difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0', - `completedEncounters` int(10) unsigned NOT NULL DEFAULT '0', - `data` tinytext NOT NULL, + `id` int unsigned NOT NULL DEFAULT '0', + `map` smallint unsigned NOT NULL DEFAULT '0', + `resettime` bigint unsigned NOT NULL DEFAULT '0', + `difficulty` tinyint unsigned NOT NULL DEFAULT '0', + `completedEncounters` int unsigned NOT NULL DEFAULT '0', + `data` tinytext COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `map` (`map`), KEY `resettime` (`resettime`), @@ -2392,11 +2392,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `instance_reset`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `instance_reset` ( - `mapid` smallint(5) unsigned NOT NULL DEFAULT '0', - `difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0', - `resettime` bigint(20) unsigned NOT NULL DEFAULT '0', + `mapid` smallint unsigned NOT NULL DEFAULT '0', + `difficulty` tinyint unsigned NOT NULL DEFAULT '0', + `resettime` bigint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`mapid`,`difficulty`), KEY `difficulty` (`difficulty`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -2417,23 +2417,23 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `item_instance`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_instance` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', - `itemEntry` int(10) unsigned NOT NULL DEFAULT '0', - `owner_guid` int(10) unsigned NOT NULL DEFAULT '0', - `creatorGuid` int(10) unsigned NOT NULL DEFAULT '0', - `giftCreatorGuid` int(10) unsigned NOT NULL DEFAULT '0', - `count` int(10) unsigned NOT NULL DEFAULT '1', - `duration` int(10) NOT NULL DEFAULT '0', - `charges` tinytext, - `flags` int(10) unsigned NOT NULL DEFAULT '0', - `enchantments` text NOT NULL, - `randomPropertyType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `randomPropertyId` int(10) unsigned NOT NULL DEFAULT '0', - `durability` smallint(5) unsigned NOT NULL DEFAULT '0', - `creationTime` int(10) unsigned NOT NULL DEFAULT '0', - `text` text, + `guid` int unsigned NOT NULL DEFAULT '0', + `itemEntry` int unsigned NOT NULL DEFAULT '0', + `owner_guid` int unsigned NOT NULL DEFAULT '0', + `creatorGuid` int unsigned NOT NULL DEFAULT '0', + `giftCreatorGuid` int unsigned NOT NULL DEFAULT '0', + `count` int unsigned NOT NULL DEFAULT '1', + `duration` int NOT NULL DEFAULT '0', + `charges` tinytext COLLATE utf8mb4_unicode_ci, + `flags` int unsigned NOT NULL DEFAULT '0', + `enchantments` text COLLATE utf8mb4_unicode_ci NOT NULL, + `randomPropertyType` tinyint unsigned NOT NULL DEFAULT '0', + `randomPropertyId` int unsigned NOT NULL DEFAULT '0', + `durability` smallint unsigned NOT NULL DEFAULT '0', + `creationTime` int unsigned NOT NULL DEFAULT '0', + `text` text COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`guid`), KEY `idx_owner_guid` (`owner_guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Item System'; @@ -2454,20 +2454,20 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `item_loot_items`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_loot_items` ( - `container_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'guid of container (item_instance.guid)', - `item_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'loot item entry (item_instance.itemEntry)', - `item_count` int(10) NOT NULL DEFAULT '0' COMMENT 'stack size', + `container_id` int unsigned NOT NULL DEFAULT '0' COMMENT 'guid of container (item_instance.guid)', + `item_id` int unsigned NOT NULL DEFAULT '0' COMMENT 'loot item entry (item_instance.itemEntry)', + `item_count` int NOT NULL DEFAULT '0' COMMENT 'stack size', `follow_rules` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'follow loot rules', `ffa` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'free-for-all', `blocked` tinyint(1) NOT NULL DEFAULT '0', `counted` tinyint(1) NOT NULL DEFAULT '0', `under_threshold` tinyint(1) NOT NULL DEFAULT '0', `needs_quest` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'quest drop', - `rnd_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'random enchantment type', - `rnd_prop` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'random enchantment added when originally rolled', - `rnd_suffix` int(10) NOT NULL DEFAULT '0' COMMENT 'random suffix added when originally rolled' + `rnd_type` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'random enchantment type', + `rnd_prop` int unsigned NOT NULL DEFAULT '0' COMMENT 'random enchantment added when originally rolled', + `rnd_suffix` int NOT NULL DEFAULT '0' COMMENT 'random suffix added when originally rolled' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2486,10 +2486,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `item_loot_money`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_loot_money` ( - `container_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'guid of container (item_instance.guid)', - `money` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'money loot (in copper)', + `container_id` int unsigned NOT NULL DEFAULT '0' COMMENT 'guid of container (item_instance.guid)', + `money` int unsigned NOT NULL DEFAULT '0' COMMENT 'money loot (in copper)', PRIMARY KEY (`container_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2509,12 +2509,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `item_refund_instance`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_refund_instance` ( - `item_guid` int(10) unsigned NOT NULL COMMENT 'Item GUID', - `player_guid` int(10) unsigned NOT NULL COMMENT 'Player GUID', - `paidMoney` int(10) unsigned NOT NULL DEFAULT '0', - `paidExtendedCost` smallint(5) unsigned NOT NULL DEFAULT '0', + `item_guid` int unsigned NOT NULL COMMENT 'Item GUID', + `player_guid` int unsigned NOT NULL COMMENT 'Player GUID', + `paidMoney` int unsigned NOT NULL DEFAULT '0', + `paidExtendedCost` smallint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`item_guid`,`player_guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Item Refund System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2534,10 +2534,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `item_soulbound_trade_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_soulbound_trade_data` ( - `itemGuid` int(10) unsigned NOT NULL COMMENT 'Item GUID', - `allowedPlayers` text NOT NULL COMMENT 'Space separated GUID list of players who can receive this item in trade', + `itemGuid` int unsigned NOT NULL COMMENT 'Item GUID', + `allowedPlayers` text COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Space separated GUID list of players who can receive this item in trade', PRIMARY KEY (`itemGuid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Item Refund System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2557,17 +2557,17 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `lag_reports`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `lag_reports` ( - `reportId` int(10) unsigned NOT NULL AUTO_INCREMENT, - `guid` int(10) unsigned NOT NULL DEFAULT '0', - `lagType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `mapId` smallint(5) unsigned NOT NULL DEFAULT '0', + `reportId` int unsigned NOT NULL AUTO_INCREMENT, + `guid` int unsigned NOT NULL DEFAULT '0', + `lagType` tinyint unsigned NOT NULL DEFAULT '0', + `mapId` smallint unsigned NOT NULL DEFAULT '0', `posX` float NOT NULL DEFAULT '0', `posY` float NOT NULL DEFAULT '0', `posZ` float NOT NULL DEFAULT '0', - `latency` int(10) unsigned NOT NULL DEFAULT '0', - `createTime` int(10) unsigned NOT NULL DEFAULT '0', + `latency` int unsigned NOT NULL DEFAULT '0', + `createTime` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`reportId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2587,11 +2587,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `lfg_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `lfg_data` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `dungeon` int(10) unsigned NOT NULL DEFAULT '0', - `state` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `dungeon` int unsigned NOT NULL DEFAULT '0', + `state` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='LFG Data'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2611,22 +2611,22 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `mail`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `mail` ( - `id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', - `messageType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stationery` tinyint(3) NOT NULL DEFAULT '41', - `mailTemplateId` smallint(5) unsigned NOT NULL DEFAULT '0', - `sender` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier', - `receiver` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier', - `subject` longtext, - `body` longtext, - `has_items` tinyint(3) unsigned NOT NULL DEFAULT '0', - `expire_time` int(10) unsigned NOT NULL DEFAULT '0', - `deliver_time` int(10) unsigned NOT NULL DEFAULT '0', - `money` bigint(20) unsigned NOT NULL DEFAULT '0', - `cod` bigint(20) unsigned NOT NULL DEFAULT '0', - `checked` tinyint(3) unsigned NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `messageType` tinyint unsigned NOT NULL DEFAULT '0', + `stationery` tinyint NOT NULL DEFAULT '41', + `mailTemplateId` smallint unsigned NOT NULL DEFAULT '0', + `sender` int unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier', + `receiver` int unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier', + `subject` longtext COLLATE utf8mb4_unicode_ci, + `body` longtext COLLATE utf8mb4_unicode_ci, + `has_items` tinyint unsigned NOT NULL DEFAULT '0', + `expire_time` int unsigned NOT NULL DEFAULT '0', + `deliver_time` int unsigned NOT NULL DEFAULT '0', + `money` bigint unsigned NOT NULL DEFAULT '0', + `cod` bigint unsigned NOT NULL DEFAULT '0', + `checked` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_receiver` (`receiver`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Mail System'; @@ -2647,11 +2647,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `mail_items`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `mail_items` ( - `mail_id` int(10) unsigned NOT NULL DEFAULT '0', - `item_guid` int(10) unsigned NOT NULL DEFAULT '0', - `receiver` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier', + `mail_id` int unsigned NOT NULL DEFAULT '0', + `item_guid` int unsigned NOT NULL DEFAULT '0', + `receiver` int unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier', PRIMARY KEY (`item_guid`), KEY `idx_receiver` (`receiver`), KEY `idx_mail_id` (`mail_id`) @@ -2673,23 +2673,23 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `pet_aura`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `pet_aura` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `casterGuid` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier', - `spell` int(10) unsigned NOT NULL DEFAULT '0', - `effectMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stackCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `amount0` int(11) NOT NULL, - `amount1` int(11) NOT NULL, - `amount2` int(11) NOT NULL, - `base_amount0` int(11) NOT NULL, - `base_amount1` int(11) NOT NULL, - `base_amount2` int(11) NOT NULL, - `maxDuration` int(11) NOT NULL DEFAULT '0', - `remainTime` int(11) NOT NULL DEFAULT '0', - `remainCharges` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `casterGuid` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier', + `spell` int unsigned NOT NULL DEFAULT '0', + `effectMask` tinyint unsigned NOT NULL DEFAULT '0', + `recalculateMask` tinyint unsigned NOT NULL DEFAULT '0', + `stackCount` tinyint unsigned NOT NULL DEFAULT '1', + `amount0` int NOT NULL, + `amount1` int NOT NULL, + `amount2` int NOT NULL, + `base_amount0` int NOT NULL, + `base_amount1` int NOT NULL, + `base_amount2` int NOT NULL, + `maxDuration` int NOT NULL DEFAULT '0', + `remainTime` int NOT NULL DEFAULT '0', + `remainCharges` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`casterGuid`,`spell`,`effectMask`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Pet System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2709,11 +2709,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `pet_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `pet_spell` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `spell` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier', - `active` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `spell` int unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier', + `active` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`spell`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Pet System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2733,13 +2733,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `pet_spell_cooldown`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `pet_spell_cooldown` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part', - `spell` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier', - `time` int(10) unsigned NOT NULL DEFAULT '0', - `categoryId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell category Id', - `categoryEnd` int(10) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part', + `spell` int unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier', + `time` int unsigned NOT NULL DEFAULT '0', + `categoryId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Spell category Id', + `categoryEnd` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`spell`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2759,12 +2759,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `petition`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `petition` ( - `ownerguid` int(10) unsigned NOT NULL, - `petitionguid` int(10) unsigned DEFAULT '0', - `name` varchar(24) NOT NULL, - `type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `ownerguid` int unsigned NOT NULL, + `petitionguid` int unsigned DEFAULT '0', + `name` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL, + `type` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`ownerguid`,`type`), UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Guild System'; @@ -2785,13 +2785,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `petition_sign`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `petition_sign` ( - `ownerguid` int(10) unsigned NOT NULL, - `petitionguid` int(10) unsigned NOT NULL DEFAULT '0', - `playerguid` int(10) unsigned NOT NULL DEFAULT '0', - `player_account` int(10) unsigned NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `ownerguid` int unsigned NOT NULL, + `petitionguid` int unsigned NOT NULL DEFAULT '0', + `playerguid` int unsigned NOT NULL DEFAULT '0', + `player_account` int unsigned NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`petitionguid`,`playerguid`), KEY `Idx_playerguid` (`playerguid`), KEY `Idx_ownerguid` (`ownerguid`) @@ -2813,10 +2813,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `pool_quest_save`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `pool_quest_save` ( - `pool_id` int(10) unsigned NOT NULL DEFAULT '0', - `quest_id` int(10) unsigned NOT NULL DEFAULT '0', + `pool_id` int unsigned NOT NULL DEFAULT '0', + `quest_id` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`pool_id`,`quest_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2836,12 +2836,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `pvpstats_battlegrounds`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `pvpstats_battlegrounds` ( - `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, - `winner_faction` tinyint(4) NOT NULL, - `bracket_id` tinyint(3) unsigned NOT NULL, - `type` tinyint(3) unsigned NOT NULL, + `id` bigint unsigned NOT NULL AUTO_INCREMENT, + `winner_faction` tinyint NOT NULL, + `bracket_id` tinyint unsigned NOT NULL, + `type` tinyint unsigned NOT NULL, `date` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -2862,22 +2862,22 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `pvpstats_players`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `pvpstats_players` ( - `battleground_id` bigint(20) unsigned NOT NULL, - `character_guid` int(10) unsigned NOT NULL, + `battleground_id` bigint unsigned NOT NULL, + `character_guid` int unsigned NOT NULL, `winner` bit(1) NOT NULL, - `score_killing_blows` int(10) unsigned NOT NULL, - `score_deaths` int(10) unsigned NOT NULL, - `score_honorable_kills` int(10) unsigned NOT NULL, - `score_bonus_honor` int(10) unsigned NOT NULL, - `score_damage_done` int(10) unsigned NOT NULL, - `score_healing_done` int(10) unsigned NOT NULL, - `attr_1` int(10) unsigned NOT NULL DEFAULT '0', - `attr_2` int(10) unsigned NOT NULL DEFAULT '0', - `attr_3` int(10) unsigned NOT NULL DEFAULT '0', - `attr_4` int(10) unsigned NOT NULL DEFAULT '0', - `attr_5` int(10) unsigned NOT NULL DEFAULT '0', + `score_killing_blows` int unsigned NOT NULL, + `score_deaths` int unsigned NOT NULL, + `score_honorable_kills` int unsigned NOT NULL, + `score_bonus_honor` int unsigned NOT NULL, + `score_damage_done` int unsigned NOT NULL, + `score_healing_done` int unsigned NOT NULL, + `attr_1` int unsigned NOT NULL DEFAULT '0', + `attr_2` int unsigned NOT NULL DEFAULT '0', + `attr_3` int unsigned NOT NULL DEFAULT '0', + `attr_4` int unsigned NOT NULL DEFAULT '0', + `attr_5` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`battleground_id`,`character_guid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2897,16 +2897,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `quest_tracker`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_tracker` ( - `id` int(10) unsigned NOT NULL DEFAULT '0', - `character_guid` int(10) unsigned NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL DEFAULT '0', + `character_guid` int unsigned NOT NULL DEFAULT '0', `quest_accept_time` datetime NOT NULL, `quest_complete_time` datetime DEFAULT NULL, `quest_abandon_time` datetime DEFAULT NULL, `completed_by_gm` tinyint(1) NOT NULL DEFAULT '0', - `core_hash` varchar(120) NOT NULL DEFAULT '0', - `core_revision` varchar(120) NOT NULL DEFAULT '0' + `core_hash` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0', + `core_revision` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2925,9 +2925,9 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `reserved_name`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `reserved_name` ( - `name` varchar(12) NOT NULL DEFAULT '', + `name` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player Reserved Names'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2947,13 +2947,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `respawn`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `respawn` ( - `type` smallint(10) unsigned NOT NULL, - `spawnId` int(10) unsigned NOT NULL, - `respawnTime` bigint(20) unsigned NOT NULL, - `mapId` smallint(10) unsigned NOT NULL, - `instanceId` int(10) unsigned NOT NULL, + `type` smallint unsigned NOT NULL, + `spawnId` int unsigned NOT NULL, + `respawnTime` bigint unsigned NOT NULL, + `mapId` smallint unsigned NOT NULL, + `instanceId` int unsigned NOT NULL, PRIMARY KEY (`type`,`spawnId`,`instanceId`), KEY `idx_instance` (`instanceId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Stored respawn times'; @@ -2974,13 +2974,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `updates`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `updates` ( - `name` varchar(200) NOT NULL COMMENT 'filename with extension of the update.', - `hash` char(40) DEFAULT '' COMMENT 'sha1 hash of the sql file.', - `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', + `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'filename with extension of the update.', + `hash` char(40) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT 'sha1 hash of the sql file.', + `state` enum('RELEASED','ARCHIVED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', - `speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', + `speed` int unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', PRIMARY KEY (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of all applied updates in this database.'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3040,6 +3040,17 @@ INSERT INTO `updates` VALUES ('2018_08_15_00_characters.sql','592D9F32E96E1A14C8F340E8D085F8F5105B063F','ARCHIVED','2018-08-15 00:00:00',0), ('2018_09_15_00_characters.sql','FDC0AF579D140BE377482B115EE07DC43F870C98','ARCHIVED','2018-08-15 00:00:00',0), ('2019_07_14_00_characters.sql','A141F4F15BDF0320483921429871D4C572BD7E2D','ARCHIVED','2019-07-04 00:00:00',0), +('2020_05_19_00_characters.sql','5FFAB4D7060E872AB6221D759EC1BCF461F1E9E3','ARCHIVED','2020-05-19 01:44:34',0), +('2020_06_15_00_characters.sql','50F5E94E0D1FE073BBEF055BE95F1799A6EEC7EB','ARCHIVED','2020-09-22 00:55:27',0), +('2020_08_02_00_characters.sql','E9810AF24ECF98C0758CE530A03D3D34FF32F79E','ARCHIVED','2020-09-22 00:55:27',0), +('2020_09_22_00_characters.sql','50E5FEC16D6205BBCB9925CEF924A5406B3C362E','ARCHIVED','2020-09-22 00:55:27',0), +('2021_01_23_00_characters.sql','D265DE655DDBFC13E2FA1EB021A435A21189B6E4','ARCHIVED','2021-01-24 10:35:01',0), +('2021_07_06_00_characters.sql','536696C1FA3454CD0BE42FE71782E2C864E41C41','ARCHIVED','2021-07-06 05:02:44',0), +('2021_07_29_00_characters.sql','9A8EC41256CF3DD735B6822D25A388107831215C','ARCHIVED','2021-07-29 18:53:10',0), +('2021_12_31_00_characters.sql','BD631B13BD6166D80E02531031F34FFB80393810','ARCHIVED','2021-12-31 17:54:20',0), +('2021_12_31_01_characters.sql','F8E15AA6AF18DAD176ABA9B3EFCE766DF1B0ACB5','ARCHIVED','2021-12-31 18:28:45',0), +('2022_01_01_00_characters.sql','336E62A8850A3E78A1D0BD3E81FFD5769184BDF8','ARCHIVED','2022-01-01 11:04:58',0), +('2022_01_09_00_characters.sql','1420602F3A6F5AAE1CB59045C47E33A3CE8809A4','ARCHIVED','2022-01-09 00:12:22',0), ('custom_2017_12_21_00_characters.sql','2D5B3830D47E4BC717EC468E18E477A32B9A21BF','ARCHIVED','2019-11-06 00:17:44',0), ('custom_2018_01_07_00_characters.sql','7437B6243B3CB6FA08F6A37BB39E38930B0DCFD3','ARCHIVED','2019-11-06 00:17:44',0), ('custom_2018_03_18_00_characters.sql','8D1E81A7272F643687C67443C270D17255A9AA84','ARCHIVED','2019-11-06 00:17:44',0), @@ -3049,17 +3060,7 @@ INSERT INTO `updates` VALUES ('custom_2018_11_18_00_characters.sql','7A094FFF2E2438B664203146C16249A8ADA9736D','ARCHIVED','2019-11-06 00:17:44',0), ('custom_2019_08_01_00_characters.sql','980B1647EBB41A3644ED825E116F052EFEB6E5D1','ARCHIVED','2019-11-06 00:17:45',0), ('custom_2019_08_20_00_characters.sql','09DC2B6A0E602E377F240CB29F6E1E3209FD346B','ARCHIVED','2019-11-06 00:17:45',0), -('custom_2020_01_05_00_character.sql','DEC981779DA0311FA1E20FF0424BE5F997D21BEE','ARCHIVED','2020-01-06 10:44:59',0), -('2020_05_19_00_characters.sql','5FFAB4D7060E872AB6221D759EC1BCF461F1E9E3','ARCHIVED','2020-05-19 01:44:34',0), -('2020_06_15_00_characters.sql','50F5E94E0D1FE073BBEF055BE95F1799A6EEC7EB','ARCHIVED','2020-09-22 00:55:27',0), -('2020_08_02_00_characters.sql','E9810AF24ECF98C0758CE530A03D3D34FF32F79E','ARCHIVED','2020-09-22 00:55:27',0), -('2020_09_22_00_characters.sql','50E5FEC16D6205BBCB9925CEF924A5406B3C362E','ARCHIVED','2020-09-22 00:55:27',0), -('2021_01_23_00_characters.sql','D265DE655DDBFC13E2FA1EB021A435A21189B6E4','ARCHIVED','2021-01-24 10:35:01',0), -('2021_07_06_00_characters.sql','536696C1FA3454CD0BE42FE71782E2C864E41C41','ARCHIVED','2021-07-06 05:02:44',0), -('2021_07_29_00_characters.sql','9A8EC41256CF3DD735B6822D25A388107831215C','ARCHIVED','2021-07-29 18:53:10',0), -('2021_12_31_00_characters.sql','BD631B13BD6166D80E02531031F34FFB80393810','RELEASED','2021-12-31 17:54:20',0), -('2021_12_31_01_characters.sql','F8E15AA6AF18DAD176ABA9B3EFCE766DF1B0ACB5','RELEASED','2021-12-31 18:28:45',0), -('2022_01_01_00_characters.sql','336E62A8850A3E78A1D0BD3E81FFD5769184BDF8','RELEASED','2022-01-01 11:04:58',0); +('custom_2020_01_05_00_character.sql','DEC981779DA0311FA1E20FF0424BE5F997D21BEE','ARCHIVED','2020-01-06 10:44:59',0); /*!40000 ALTER TABLE `updates` ENABLE KEYS */; UNLOCK TABLES; @@ -3069,10 +3070,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `updates_include`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `updates_include` ( - `path` varchar(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', - `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', + `path` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', + `state` enum('RELEASED','ARCHIVED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', PRIMARY KEY (`path`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of directories where we want to include sql updates.'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3084,9 +3085,9 @@ CREATE TABLE `updates_include` ( LOCK TABLES `updates_include` WRITE; /*!40000 ALTER TABLE `updates_include` DISABLE KEYS */; INSERT INTO `updates_include` VALUES -('$/sql/updates/characters','RELEASED'), ('$/sql/custom/characters','RELEASED'), -('$/sql/old/4.3.4/characters','ARCHIVED'); +('$/sql/old/4.3.4/characters','ARCHIVED'), +('$/sql/updates/characters','RELEASED'); /*!40000 ALTER TABLE `updates_include` ENABLE KEYS */; UNLOCK TABLES; @@ -3096,10 +3097,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `warden_action`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `warden_action` ( - `wardenId` smallint(5) unsigned NOT NULL, - `action` tinyint(3) unsigned DEFAULT NULL, + `wardenId` smallint unsigned NOT NULL, + `action` tinyint unsigned DEFAULT NULL, PRIMARY KEY (`wardenId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3119,11 +3120,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `worldstates`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8mb4 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `worldstates` ( - `entry` int(10) unsigned NOT NULL DEFAULT '0', - `value` int(10) unsigned NOT NULL DEFAULT '0', - `comment` tinytext, + `entry` int unsigned NOT NULL DEFAULT '0', + `value` int unsigned NOT NULL DEFAULT '0', + `comment` tinytext COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`entry`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Variable Saves'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3158,4 +3159,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2021-07-06 5:02:49 +-- Dump completed on 2022-01-09 0:15:08 diff --git a/sql/base/dev/hotfixes_database.sql b/sql/base/dev/hotfixes_database.sql index 811ea3cddee..5b7162baf9d 100644 --- a/sql/base/dev/hotfixes_database.sql +++ b/sql/base/dev/hotfixes_database.sql @@ -1,13 +1,13 @@ --- MySQL dump 10.13 Distrib 5.7.34, for Linux (x86_64) +-- MySQL dump 10.13 Distrib 8.0.26, for Linux (x86_64) -- -- Host: localhost Database: hotfixes -- ------------------------------------------------------ --- Server version 5.7.34 +-- Server version 8.0.26 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8mb4 */; +/*!50503 SET NAMES utf8mb4 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; @@ -21,11 +21,11 @@ DROP TABLE IF EXISTS `hotfix_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `hotfix_data` ( - `TableHash` int(10) unsigned NOT NULL DEFAULT '0', - `RecordID` int(10) NOT NULL, - `Deleted` tinyint(3) unsigned NOT NULL DEFAULT '0', + `TableHash` int unsigned NOT NULL DEFAULT '0', + `RecordID` int NOT NULL, + `Deleted` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`TableHash`,`RecordID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -36,17 +36,17 @@ CREATE TABLE `hotfix_data` ( DROP TABLE IF EXISTS `item`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ClassID` int(10) unsigned NOT NULL DEFAULT '0', - `SubclassID` int(10) unsigned NOT NULL DEFAULT '0', - `SoundOverrideSubclassID` int(11) NOT NULL DEFAULT '0', - `Material` int(11) NOT NULL DEFAULT '0', - `DisplayInfoID` int(10) unsigned NOT NULL DEFAULT '0', - `InventoryType` int(10) unsigned NOT NULL DEFAULT '0', - `SheatheType` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `ClassID` int unsigned NOT NULL DEFAULT '0', + `SubclassID` int unsigned NOT NULL DEFAULT '0', + `SoundOverrideSubclassID` int NOT NULL DEFAULT '0', + `Material` int NOT NULL DEFAULT '0', + `DisplayInfoID` int unsigned NOT NULL DEFAULT '0', + `InventoryType` int unsigned NOT NULL DEFAULT '0', + `SheatheType` int unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -57,11 +57,11 @@ CREATE TABLE `item` ( DROP TABLE IF EXISTS `item_currency_cost`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_currency_cost` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `ItemID` int unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`ID`), UNIQUE KEY `idx_itemId` (`ItemID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -73,40 +73,40 @@ CREATE TABLE `item_currency_cost` ( DROP TABLE IF EXISTS `item_extended_cost`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_extended_cost` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredHonorPoints` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredArenaPoints` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredArenaSlot` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItem1` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItem2` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItem3` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItem4` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItem5` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount1` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount2` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount3` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount4` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount5` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredPersonalArenaRating` int(10) unsigned NOT NULL DEFAULT '0', - `ItemPurchaseGroup` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrency1` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrency2` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrency3` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrency4` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrency5` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount1` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount2` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount3` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount4` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount5` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredFactionId` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredFactionStanding` int(10) unsigned NOT NULL DEFAULT '0', - `RequirementFlags` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredGuildLevel` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredAchievement` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `RequiredHonorPoints` int unsigned NOT NULL DEFAULT '0', + `RequiredArenaPoints` int unsigned NOT NULL DEFAULT '0', + `RequiredArenaSlot` int unsigned NOT NULL DEFAULT '0', + `RequiredItem1` int unsigned NOT NULL DEFAULT '0', + `RequiredItem2` int unsigned NOT NULL DEFAULT '0', + `RequiredItem3` int unsigned NOT NULL DEFAULT '0', + `RequiredItem4` int unsigned NOT NULL DEFAULT '0', + `RequiredItem5` int unsigned NOT NULL DEFAULT '0', + `RequiredItemCount1` int unsigned NOT NULL DEFAULT '0', + `RequiredItemCount2` int unsigned NOT NULL DEFAULT '0', + `RequiredItemCount3` int unsigned NOT NULL DEFAULT '0', + `RequiredItemCount4` int unsigned NOT NULL DEFAULT '0', + `RequiredItemCount5` int unsigned NOT NULL DEFAULT '0', + `RequiredPersonalArenaRating` int unsigned NOT NULL DEFAULT '0', + `ItemPurchaseGroup` int unsigned NOT NULL DEFAULT '0', + `RequiredCurrency1` int unsigned NOT NULL DEFAULT '0', + `RequiredCurrency2` int unsigned NOT NULL DEFAULT '0', + `RequiredCurrency3` int unsigned NOT NULL DEFAULT '0', + `RequiredCurrency4` int unsigned NOT NULL DEFAULT '0', + `RequiredCurrency5` int unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyCount1` int unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyCount2` int unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyCount3` int unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyCount4` int unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyCount5` int unsigned NOT NULL DEFAULT '0', + `RequiredFactionId` int unsigned NOT NULL DEFAULT '0', + `RequiredFactionStanding` int unsigned NOT NULL DEFAULT '0', + `RequirementFlags` int unsigned NOT NULL DEFAULT '0', + `RequiredGuildLevel` int unsigned NOT NULL DEFAULT '0', + `RequiredAchievement` int unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -117,142 +117,142 @@ CREATE TABLE `item_extended_cost` ( DROP TABLE IF EXISTS `item_sparse`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_sparse` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Quality` int(10) unsigned NOT NULL DEFAULT '0', - `Flags1` int(10) unsigned NOT NULL DEFAULT '0', - `Flags2` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `Quality` int unsigned NOT NULL DEFAULT '0', + `Flags1` int unsigned NOT NULL DEFAULT '0', + `Flags2` int unsigned NOT NULL DEFAULT '0', `PriceRandomValue` float NOT NULL DEFAULT '0', `PriceVariance` float NOT NULL DEFAULT '0', - `BuyCount` int(10) unsigned NOT NULL DEFAULT '0', - `BuyPrice` int(10) unsigned NOT NULL DEFAULT '0', - `SellPrice` int(10) unsigned NOT NULL DEFAULT '0', - `InventoryType` int(10) unsigned NOT NULL DEFAULT '0', - `AllowableClass` int(11) NOT NULL DEFAULT '0', - `AllowableRace` int(11) NOT NULL DEFAULT '0', - `ItemLevel` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredLevel` int(11) NOT NULL DEFAULT '0', - `RequiredSkill` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredSkillRank` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredSpell` int(11) NOT NULL DEFAULT '0', - `RequiredHonorRank` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCityRank` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredReputationFaction` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredReputationRank` int(10) unsigned NOT NULL DEFAULT '0', - `MaxCount` int(11) NOT NULL DEFAULT '0', - `Stackable` int(11) NOT NULL DEFAULT '0', - `ContainerSlots` int(10) unsigned NOT NULL DEFAULT '0', - `ItemStatType1` int(11) NOT NULL DEFAULT '0', - `ItemStatType2` int(11) NOT NULL DEFAULT '0', - `ItemStatType3` int(11) NOT NULL DEFAULT '0', - `ItemStatType4` int(11) NOT NULL DEFAULT '0', - `ItemStatType5` int(11) NOT NULL DEFAULT '0', - `ItemStatType6` int(11) NOT NULL DEFAULT '0', - `ItemStatType7` int(11) NOT NULL DEFAULT '0', - `ItemStatType8` int(11) NOT NULL DEFAULT '0', - `ItemStatType9` int(11) NOT NULL DEFAULT '0', - `ItemStatType10` int(11) NOT NULL DEFAULT '0', - `ItemStatValue1` int(11) NOT NULL DEFAULT '0', - `ItemStatValue2` int(11) NOT NULL DEFAULT '0', - `ItemStatValue3` int(11) NOT NULL DEFAULT '0', - `ItemStatValue4` int(11) NOT NULL DEFAULT '0', - `ItemStatValue5` int(11) NOT NULL DEFAULT '0', - `ItemStatValue6` int(11) NOT NULL DEFAULT '0', - `ItemStatValue7` int(11) NOT NULL DEFAULT '0', - `ItemStatValue8` int(11) NOT NULL DEFAULT '0', - `ItemStatValue9` int(11) NOT NULL DEFAULT '0', - `ItemStatValue10` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation1` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation2` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation3` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation4` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation5` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation6` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation7` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation8` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation9` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation10` int(11) NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier1` int(11) NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier2` int(11) NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier3` int(11) NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier4` int(11) NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier5` int(11) NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier6` int(11) NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier7` int(11) NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier8` int(11) NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier9` int(11) NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier10` int(11) NOT NULL DEFAULT '0', - `ScalingStatDistribution` int(11) NOT NULL DEFAULT '0', - `DamageType` int(11) NOT NULL DEFAULT '0', - `Delay` int(10) unsigned NOT NULL DEFAULT '0', + `BuyCount` int unsigned NOT NULL DEFAULT '0', + `BuyPrice` int unsigned NOT NULL DEFAULT '0', + `SellPrice` int unsigned NOT NULL DEFAULT '0', + `InventoryType` int unsigned NOT NULL DEFAULT '0', + `AllowableClass` int NOT NULL DEFAULT '0', + `AllowableRace` int NOT NULL DEFAULT '0', + `ItemLevel` int unsigned NOT NULL DEFAULT '0', + `RequiredLevel` int NOT NULL DEFAULT '0', + `RequiredSkill` int unsigned NOT NULL DEFAULT '0', + `RequiredSkillRank` int unsigned NOT NULL DEFAULT '0', + `RequiredSpell` int NOT NULL DEFAULT '0', + `RequiredHonorRank` int unsigned NOT NULL DEFAULT '0', + `RequiredCityRank` int unsigned NOT NULL DEFAULT '0', + `RequiredReputationFaction` int unsigned NOT NULL DEFAULT '0', + `RequiredReputationRank` int unsigned NOT NULL DEFAULT '0', + `MaxCount` int NOT NULL DEFAULT '0', + `Stackable` int NOT NULL DEFAULT '0', + `ContainerSlots` int unsigned NOT NULL DEFAULT '0', + `ItemStatType1` int NOT NULL DEFAULT '0', + `ItemStatType2` int NOT NULL DEFAULT '0', + `ItemStatType3` int NOT NULL DEFAULT '0', + `ItemStatType4` int NOT NULL DEFAULT '0', + `ItemStatType5` int NOT NULL DEFAULT '0', + `ItemStatType6` int NOT NULL DEFAULT '0', + `ItemStatType7` int NOT NULL DEFAULT '0', + `ItemStatType8` int NOT NULL DEFAULT '0', + `ItemStatType9` int NOT NULL DEFAULT '0', + `ItemStatType10` int NOT NULL DEFAULT '0', + `ItemStatValue1` int NOT NULL DEFAULT '0', + `ItemStatValue2` int NOT NULL DEFAULT '0', + `ItemStatValue3` int NOT NULL DEFAULT '0', + `ItemStatValue4` int NOT NULL DEFAULT '0', + `ItemStatValue5` int NOT NULL DEFAULT '0', + `ItemStatValue6` int NOT NULL DEFAULT '0', + `ItemStatValue7` int NOT NULL DEFAULT '0', + `ItemStatValue8` int NOT NULL DEFAULT '0', + `ItemStatValue9` int NOT NULL DEFAULT '0', + `ItemStatValue10` int NOT NULL DEFAULT '0', + `ItemStatAllocation1` int NOT NULL DEFAULT '0', + `ItemStatAllocation2` int NOT NULL DEFAULT '0', + `ItemStatAllocation3` int NOT NULL DEFAULT '0', + `ItemStatAllocation4` int NOT NULL DEFAULT '0', + `ItemStatAllocation5` int NOT NULL DEFAULT '0', + `ItemStatAllocation6` int NOT NULL DEFAULT '0', + `ItemStatAllocation7` int NOT NULL DEFAULT '0', + `ItemStatAllocation8` int NOT NULL DEFAULT '0', + `ItemStatAllocation9` int NOT NULL DEFAULT '0', + `ItemStatAllocation10` int NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier1` int NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier2` int NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier3` int NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier4` int NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier5` int NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier6` int NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier7` int NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier8` int NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier9` int NOT NULL DEFAULT '0', + `ItemStatSocketCostMultiplier10` int NOT NULL DEFAULT '0', + `ScalingStatDistribution` int NOT NULL DEFAULT '0', + `DamageType` int NOT NULL DEFAULT '0', + `Delay` int unsigned NOT NULL DEFAULT '0', `RangedModRange` float NOT NULL DEFAULT '0', - `SpellID1` int(11) NOT NULL DEFAULT '0', - `SpellID2` int(11) NOT NULL DEFAULT '0', - `SpellID3` int(11) NOT NULL DEFAULT '0', - `SpellID4` int(11) NOT NULL DEFAULT '0', - `SpellID5` int(11) NOT NULL DEFAULT '0', - `SpellTrigger1` int(11) NOT NULL DEFAULT '0', - `SpellTrigger2` int(11) NOT NULL DEFAULT '0', - `SpellTrigger3` int(11) NOT NULL DEFAULT '0', - `SpellTrigger4` int(11) NOT NULL DEFAULT '0', - `SpellTrigger5` int(11) NOT NULL DEFAULT '0', - `SpellCharges1` int(11) NOT NULL DEFAULT '0', - `SpellCharges2` int(11) NOT NULL DEFAULT '0', - `SpellCharges3` int(11) NOT NULL DEFAULT '0', - `SpellCharges4` int(11) NOT NULL DEFAULT '0', - `SpellCharges5` int(11) NOT NULL DEFAULT '0', - `SpellCooldown1` int(11) NOT NULL DEFAULT '0', - `SpellCooldown2` int(11) NOT NULL DEFAULT '0', - `SpellCooldown3` int(11) NOT NULL DEFAULT '0', - `SpellCooldown4` int(11) NOT NULL DEFAULT '0', - `SpellCooldown5` int(11) NOT NULL DEFAULT '0', - `SpellCategory1` int(11) NOT NULL DEFAULT '0', - `SpellCategory2` int(11) NOT NULL DEFAULT '0', - `SpellCategory3` int(11) NOT NULL DEFAULT '0', - `SpellCategory4` int(11) NOT NULL DEFAULT '0', - `SpellCategory5` int(11) NOT NULL DEFAULT '0', - `SpellCategoryCooldown1` int(11) NOT NULL DEFAULT '0', - `SpellCategoryCooldown2` int(11) NOT NULL DEFAULT '0', - `SpellCategoryCooldown3` int(11) NOT NULL DEFAULT '0', - `SpellCategoryCooldown4` int(11) NOT NULL DEFAULT '0', - `SpellCategoryCooldown5` int(11) NOT NULL DEFAULT '0', - `Bonding` int(11) NOT NULL DEFAULT '0', - `Display` mediumtext COLLATE utf8mb4_unicode_ci, - `Display1` mediumtext COLLATE utf8mb4_unicode_ci, - `Display2` mediumtext COLLATE utf8mb4_unicode_ci, - `Display3` mediumtext COLLATE utf8mb4_unicode_ci, - `Description` mediumtext COLLATE utf8mb4_unicode_ci, - `PageText` int(10) unsigned NOT NULL DEFAULT '0', - `LanguageID` int(11) NOT NULL DEFAULT '0', - `PageMaterial` int(11) NOT NULL DEFAULT '0', - `StartQuest` int(11) NOT NULL DEFAULT '0', - `LockID` int(10) unsigned NOT NULL DEFAULT '0', - `Material` int(11) NOT NULL DEFAULT '0', - `SheatheType` int(11) NOT NULL DEFAULT '0', - `RandomProperty` int(11) NOT NULL DEFAULT '0', - `RandomSuffix` int(10) unsigned NOT NULL DEFAULT '0', - `ItemSet` int(10) unsigned NOT NULL DEFAULT '0', - `AreaID` int(10) unsigned NOT NULL DEFAULT '0', - `MapID` int(11) NOT NULL DEFAULT '0', - `BagFamily` int(11) NOT NULL DEFAULT '0', - `TotemCategory` int(11) NOT NULL DEFAULT '0', - `SocketColor1` int(11) NOT NULL DEFAULT '0', - `SocketColor2` int(11) NOT NULL DEFAULT '0', - `SocketColor3` int(11) NOT NULL DEFAULT '0', - `Content1` int(10) unsigned NOT NULL DEFAULT '0', - `Content2` int(10) unsigned NOT NULL DEFAULT '0', - `Content3` int(10) unsigned NOT NULL DEFAULT '0', - `SocketBonus` int(11) NOT NULL DEFAULT '0', - `GemProperties` int(11) NOT NULL DEFAULT '0', + `SpellID1` int NOT NULL DEFAULT '0', + `SpellID2` int NOT NULL DEFAULT '0', + `SpellID3` int NOT NULL DEFAULT '0', + `SpellID4` int NOT NULL DEFAULT '0', + `SpellID5` int NOT NULL DEFAULT '0', + `SpellTrigger1` int NOT NULL DEFAULT '0', + `SpellTrigger2` int NOT NULL DEFAULT '0', + `SpellTrigger3` int NOT NULL DEFAULT '0', + `SpellTrigger4` int NOT NULL DEFAULT '0', + `SpellTrigger5` int NOT NULL DEFAULT '0', + `SpellCharges1` int NOT NULL DEFAULT '0', + `SpellCharges2` int NOT NULL DEFAULT '0', + `SpellCharges3` int NOT NULL DEFAULT '0', + `SpellCharges4` int NOT NULL DEFAULT '0', + `SpellCharges5` int NOT NULL DEFAULT '0', + `SpellCooldown1` int NOT NULL DEFAULT '0', + `SpellCooldown2` int NOT NULL DEFAULT '0', + `SpellCooldown3` int NOT NULL DEFAULT '0', + `SpellCooldown4` int NOT NULL DEFAULT '0', + `SpellCooldown5` int NOT NULL DEFAULT '0', + `SpellCategory1` int NOT NULL DEFAULT '0', + `SpellCategory2` int NOT NULL DEFAULT '0', + `SpellCategory3` int NOT NULL DEFAULT '0', + `SpellCategory4` int NOT NULL DEFAULT '0', + `SpellCategory5` int NOT NULL DEFAULT '0', + `SpellCategoryCooldown1` int NOT NULL DEFAULT '0', + `SpellCategoryCooldown2` int NOT NULL DEFAULT '0', + `SpellCategoryCooldown3` int NOT NULL DEFAULT '0', + `SpellCategoryCooldown4` int NOT NULL DEFAULT '0', + `SpellCategoryCooldown5` int NOT NULL DEFAULT '0', + `Bonding` int NOT NULL DEFAULT '0', + `Display` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Display1` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Display2` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Display3` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Description` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `PageText` int unsigned NOT NULL DEFAULT '0', + `LanguageID` int NOT NULL DEFAULT '0', + `PageMaterial` int NOT NULL DEFAULT '0', + `StartQuest` int NOT NULL DEFAULT '0', + `LockID` int unsigned NOT NULL DEFAULT '0', + `Material` int NOT NULL DEFAULT '0', + `SheatheType` int NOT NULL DEFAULT '0', + `RandomProperty` int NOT NULL DEFAULT '0', + `RandomSuffix` int unsigned NOT NULL DEFAULT '0', + `ItemSet` int unsigned NOT NULL DEFAULT '0', + `AreaID` int unsigned NOT NULL DEFAULT '0', + `MapID` int NOT NULL DEFAULT '0', + `BagFamily` int NOT NULL DEFAULT '0', + `TotemCategory` int NOT NULL DEFAULT '0', + `SocketColor1` int NOT NULL DEFAULT '0', + `SocketColor2` int NOT NULL DEFAULT '0', + `SocketColor3` int NOT NULL DEFAULT '0', + `Content1` int unsigned NOT NULL DEFAULT '0', + `Content2` int unsigned NOT NULL DEFAULT '0', + `Content3` int unsigned NOT NULL DEFAULT '0', + `SocketBonus` int NOT NULL DEFAULT '0', + `GemProperties` int NOT NULL DEFAULT '0', `ArmorDamageModifier` float NOT NULL DEFAULT '0', - `Duration` int(11) NOT NULL DEFAULT '0', - `ItemLimitCategory` int(11) NOT NULL DEFAULT '0', - `HolidayID` int(11) NOT NULL DEFAULT '0', + `Duration` int NOT NULL DEFAULT '0', + `ItemLimitCategory` int NOT NULL DEFAULT '0', + `HolidayID` int NOT NULL DEFAULT '0', `StatScalingFactor` float NOT NULL DEFAULT '0', - `CurrencySubstitutionID` int(10) NOT NULL DEFAULT '0', - `CurrencySubstitutionCount` int(10) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `CurrencySubstitutionID` int NOT NULL DEFAULT '0', + `CurrencySubstitutionCount` int NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -263,16 +263,16 @@ CREATE TABLE `item_sparse` ( DROP TABLE IF EXISTS `item_sparse_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_sparse_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, - `Display_lang` mediumtext COLLATE utf8mb4_unicode_ci, - `Display1_lang` mediumtext COLLATE utf8mb4_unicode_ci, - `Display2_lang` mediumtext COLLATE utf8mb4_unicode_ci, - `Display3_lang` mediumtext COLLATE utf8mb4_unicode_ci, - `Description_lang` mediumtext COLLATE utf8mb4_unicode_ci, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `Display_lang` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Display1_lang` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Display2_lang` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Display3_lang` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Description_lang` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -283,41 +283,41 @@ CREATE TABLE `item_sparse_locale` ( DROP TABLE IF EXISTS `key_chain`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `key_chain` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Key1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key6` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key7` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key8` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key9` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key10` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key11` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key12` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key13` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key14` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key15` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key16` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key17` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key18` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key19` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key20` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key21` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key22` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key23` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key24` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key25` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key26` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key27` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key28` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key29` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key30` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key31` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key32` tinyint(3) unsigned NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `Key1` tinyint unsigned NOT NULL DEFAULT '0', + `Key2` tinyint unsigned NOT NULL DEFAULT '0', + `Key3` tinyint unsigned NOT NULL DEFAULT '0', + `Key4` tinyint unsigned NOT NULL DEFAULT '0', + `Key5` tinyint unsigned NOT NULL DEFAULT '0', + `Key6` tinyint unsigned NOT NULL DEFAULT '0', + `Key7` tinyint unsigned NOT NULL DEFAULT '0', + `Key8` tinyint unsigned NOT NULL DEFAULT '0', + `Key9` tinyint unsigned NOT NULL DEFAULT '0', + `Key10` tinyint unsigned NOT NULL DEFAULT '0', + `Key11` tinyint unsigned NOT NULL DEFAULT '0', + `Key12` tinyint unsigned NOT NULL DEFAULT '0', + `Key13` tinyint unsigned NOT NULL DEFAULT '0', + `Key14` tinyint unsigned NOT NULL DEFAULT '0', + `Key15` tinyint unsigned NOT NULL DEFAULT '0', + `Key16` tinyint unsigned NOT NULL DEFAULT '0', + `Key17` tinyint unsigned NOT NULL DEFAULT '0', + `Key18` tinyint unsigned NOT NULL DEFAULT '0', + `Key19` tinyint unsigned NOT NULL DEFAULT '0', + `Key20` tinyint unsigned NOT NULL DEFAULT '0', + `Key21` tinyint unsigned NOT NULL DEFAULT '0', + `Key22` tinyint unsigned NOT NULL DEFAULT '0', + `Key23` tinyint unsigned NOT NULL DEFAULT '0', + `Key24` tinyint unsigned NOT NULL DEFAULT '0', + `Key25` tinyint unsigned NOT NULL DEFAULT '0', + `Key26` tinyint unsigned NOT NULL DEFAULT '0', + `Key27` tinyint unsigned NOT NULL DEFAULT '0', + `Key28` tinyint unsigned NOT NULL DEFAULT '0', + `Key29` tinyint unsigned NOT NULL DEFAULT '0', + `Key30` tinyint unsigned NOT NULL DEFAULT '0', + `Key31` tinyint unsigned NOT NULL DEFAULT '0', + `Key32` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -328,13 +328,13 @@ CREATE TABLE `key_chain` ( DROP TABLE IF EXISTS `updates`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `updates` ( - `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'filename with extension of the update.', - `hash` char(40) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT 'sha1 hash of the sql file.', - `state` enum('RELEASED','ARCHIVED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', + `name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'filename with extension of the update.', + `hash` char(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT 'sha1 hash of the sql file.', + `state` enum('RELEASED','ARCHIVED') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', - `speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', + `speed` int unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', PRIMARY KEY (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of all applied updates in this database.'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -345,10 +345,10 @@ CREATE TABLE `updates` ( DROP TABLE IF EXISTS `updates_include`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `updates_include` ( - `path` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', - `state` enum('RELEASED','ARCHIVED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', + `path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', + `state` enum('RELEASED','ARCHIVED') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', PRIMARY KEY (`path`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of directories where we want to include sql updates.'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -366,4 +366,4 @@ CREATE TABLE `updates_include` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2021-07-06 5:02:50 +-- Dump completed on 2022-01-09 0:15:09 diff --git a/sql/base/dev/world_database.sql b/sql/base/dev/world_database.sql index 2c2ec631801..1574abb2c15 100644 --- a/sql/base/dev/world_database.sql +++ b/sql/base/dev/world_database.sql @@ -1,13 +1,13 @@ --- MySQL dump 10.13 Distrib 5.7.34, for Linux (x86_64) +-- MySQL dump 10.13 Distrib 8.0.26, for Linux (x86_64) -- -- Host: localhost Database: world -- ------------------------------------------------------ --- Server version 5.7.34 +-- Server version 8.0.26 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8mb4 */; +/*!50503 SET NAMES utf8mb4 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; @@ -21,21 +21,21 @@ DROP TABLE IF EXISTS `access_requirement`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `access_requirement` ( - `mapId` mediumint(8) unsigned NOT NULL, - `difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0', - `level_min` tinyint(3) unsigned NOT NULL DEFAULT '0', - `level_max` tinyint(3) unsigned NOT NULL DEFAULT '0', - `item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `item2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `quest_done_A` mediumint(8) unsigned NOT NULL DEFAULT '0', - `quest_done_H` mediumint(8) unsigned NOT NULL DEFAULT '0', - `completed_achievement` mediumint(8) unsigned NOT NULL DEFAULT '0', + `mapId` int unsigned NOT NULL, + `difficulty` tinyint unsigned NOT NULL DEFAULT '0', + `level_min` tinyint unsigned NOT NULL DEFAULT '0', + `level_max` tinyint unsigned NOT NULL DEFAULT '0', + `item` int unsigned NOT NULL DEFAULT '0', + `item2` int unsigned NOT NULL DEFAULT '0', + `quest_done_A` int unsigned NOT NULL DEFAULT '0', + `quest_done_H` int unsigned NOT NULL DEFAULT '0', + `completed_achievement` int unsigned NOT NULL DEFAULT '0', `heroic_exclusive` tinyint(1) DEFAULT '0', - `comment` text COLLATE utf8mb4_unicode_ci, + `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`mapId`,`difficulty`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='Access Requirements'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Access Requirements'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -44,15 +44,15 @@ CREATE TABLE `access_requirement` ( DROP TABLE IF EXISTS `achievement_criteria_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `achievement_criteria_data` ( - `criteria_id` mediumint(8) NOT NULL, - `type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `value1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `value2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ScriptName` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `criteria_id` int NOT NULL, + `type` tinyint unsigned NOT NULL DEFAULT '0', + `value1` int unsigned NOT NULL DEFAULT '0', + `value2` int unsigned NOT NULL DEFAULT '0', + `ScriptName` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`criteria_id`,`type`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Achievment system'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Achievment system'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -61,17 +61,17 @@ CREATE TABLE `achievement_criteria_data` ( DROP TABLE IF EXISTS `achievement_dbc`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `achievement_dbc` ( - `ID` int(10) unsigned NOT NULL, - `requiredFaction` int(11) NOT NULL DEFAULT '-1', - `mapID` int(11) NOT NULL DEFAULT '-1', - `points` int(10) unsigned NOT NULL DEFAULT '0', - `flags` int(10) unsigned NOT NULL DEFAULT '0', - `count` int(10) unsigned NOT NULL DEFAULT '0', - `refAchievement` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL, + `requiredFaction` int NOT NULL DEFAULT '-1', + `mapID` int NOT NULL DEFAULT '-1', + `points` int unsigned NOT NULL DEFAULT '0', + `flags` int unsigned NOT NULL DEFAULT '0', + `count` int unsigned NOT NULL DEFAULT '0', + `refAchievement` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -80,18 +80,18 @@ CREATE TABLE `achievement_dbc` ( DROP TABLE IF EXISTS `achievement_reward`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `achievement_reward` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `TitleA` mediumint(8) unsigned NOT NULL DEFAULT '0', - `TitleH` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ItemID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Sender` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Subject` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `Text` text COLLATE utf8mb4_unicode_ci, - `MailTemplateID` mediumint(8) unsigned DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `TitleA` int unsigned NOT NULL DEFAULT '0', + `TitleH` int unsigned NOT NULL DEFAULT '0', + `ItemID` int unsigned NOT NULL DEFAULT '0', + `Sender` int unsigned NOT NULL DEFAULT '0', + `Subject` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `Text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `MailTemplateID` int unsigned DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -100,14 +100,14 @@ CREATE TABLE `achievement_reward` ( DROP TABLE IF EXISTS `achievement_reward_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `achievement_reward_locale` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, - `Subject` text COLLATE utf8mb4_unicode_ci, - `Text` text COLLATE utf8mb4_unicode_ci, + `ID` int unsigned NOT NULL DEFAULT '0', + `Locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `Subject` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`ID`,`Locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -116,17 +116,17 @@ CREATE TABLE `achievement_reward_locale` ( DROP TABLE IF EXISTS `archaeology_projects`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `archaeology_projects` ( - `Entry` smallint(5) unsigned NOT NULL DEFAULT '0', - `Branch` tinyint(3) unsigned NOT NULL, - `Rarity` tinyint(3) unsigned NOT NULL, - `ReqSkill` smallint(5) unsigned NOT NULL, - `Fragments` tinyint(3) unsigned NOT NULL, - `Keystone` tinyint(3) unsigned NOT NULL, - `Spell` int(10) unsigned NOT NULL, + `Entry` smallint unsigned NOT NULL DEFAULT '0', + `Branch` tinyint unsigned NOT NULL, + `Rarity` tinyint unsigned NOT NULL, + `ReqSkill` smallint unsigned NOT NULL, + `Fragments` tinyint unsigned NOT NULL, + `Keystone` tinyint unsigned NOT NULL, + `Spell` int unsigned NOT NULL, PRIMARY KEY (`Entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -135,16 +135,16 @@ CREATE TABLE `archaeology_projects` ( DROP TABLE IF EXISTS `archaeology_sites`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `archaeology_sites` ( - `Id` smallint(5) unsigned NOT NULL, - `MapId` int(10) unsigned NOT NULL, - `QuestPOI` smallint(5) unsigned NOT NULL, - `ReqSkill` int(10) unsigned NOT NULL, - `MinLevel` int(10) unsigned NOT NULL, - `GameobjectEntry` int(10) unsigned NOT NULL, + `Id` smallint unsigned NOT NULL, + `MapId` int unsigned NOT NULL, + `QuestPOI` smallint unsigned NOT NULL, + `ReqSkill` int unsigned NOT NULL, + `MinLevel` int unsigned NOT NULL, + `GameobjectEntry` int unsigned NOT NULL, PRIMARY KEY (`Id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -153,12 +153,12 @@ CREATE TABLE `archaeology_sites` ( DROP TABLE IF EXISTS `areatrigger_involvedrelation`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `areatrigger_involvedrelation` ( - `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', - `quest` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + `id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Trigger System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Trigger System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -167,12 +167,12 @@ CREATE TABLE `areatrigger_involvedrelation` ( DROP TABLE IF EXISTS `areatrigger_scripts`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `areatrigger_scripts` ( - `entry` mediumint(8) NOT NULL, - `ScriptName` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `entry` int NOT NULL, + `ScriptName` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -181,12 +181,12 @@ CREATE TABLE `areatrigger_scripts` ( DROP TABLE IF EXISTS `areatrigger_tavern`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `areatrigger_tavern` ( - `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', - `name` text COLLATE utf8mb4_unicode_ci, + `id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Trigger System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Trigger System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -195,19 +195,19 @@ CREATE TABLE `areatrigger_tavern` ( DROP TABLE IF EXISTS `areatrigger_teleport`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `areatrigger_teleport` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Name` text COLLATE utf8mb4_unicode_ci, - `target_map` smallint(5) unsigned NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `Name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `target_map` smallint unsigned NOT NULL DEFAULT '0', `target_position_x` float NOT NULL DEFAULT '0', `target_position_y` float NOT NULL DEFAULT '0', `target_position_z` float NOT NULL DEFAULT '0', `target_orientation` float NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`), FULLTEXT KEY `name` (`Name`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Trigger System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Trigger System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -216,23 +216,23 @@ CREATE TABLE `areatrigger_teleport` ( DROP TABLE IF EXISTS `battleground_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `battleground_template` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `MinPlayersPerTeam` smallint(5) unsigned NOT NULL DEFAULT '0', - `MaxPlayersPerTeam` smallint(5) unsigned NOT NULL DEFAULT '0', - `MinLvl` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxLvl` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AllianceStartLoc` mediumint(8) unsigned NOT NULL, + `ID` int unsigned NOT NULL DEFAULT '0', + `MinPlayersPerTeam` smallint unsigned NOT NULL DEFAULT '0', + `MaxPlayersPerTeam` smallint unsigned NOT NULL DEFAULT '0', + `MinLvl` tinyint unsigned NOT NULL DEFAULT '0', + `MaxLvl` tinyint unsigned NOT NULL DEFAULT '0', + `AllianceStartLoc` int unsigned NOT NULL, `AllianceStartO` float NOT NULL, - `HordeStartLoc` mediumint(8) unsigned NOT NULL, + `HordeStartLoc` int unsigned NOT NULL, `HordeStartO` float NOT NULL, `StartMaxDist` float NOT NULL DEFAULT '0', - `Weight` tinyint(3) unsigned NOT NULL DEFAULT '1', - `ScriptName` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, - `Comment` char(32) COLLATE utf8mb4_unicode_ci NOT NULL, + `Weight` tinyint unsigned NOT NULL DEFAULT '1', + `ScriptName` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `Comment` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -241,12 +241,12 @@ CREATE TABLE `battleground_template` ( DROP TABLE IF EXISTS `battlemaster_entry`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `battlemaster_entry` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Entry of a creature', - `bg_template` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Battleground template id', + `entry` int unsigned NOT NULL DEFAULT '0' COMMENT 'Entry of a creature', + `bg_template` int unsigned NOT NULL DEFAULT '0' COMMENT 'Battleground template id', PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -255,24 +255,24 @@ CREATE TABLE `battlemaster_entry` ( DROP TABLE IF EXISTS `broadcast_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `broadcast_text` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `LanguageID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Text` longtext COLLATE utf8mb4_unicode_ci, - `Text1` longtext COLLATE utf8mb4_unicode_ci, - `EmoteID1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `EmoteID2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `EmoteID3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `EmoteDelay1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `EmoteDelay2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `EmoteDelay3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `SoundEntriesID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `EmotesID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Flags` mediumint(8) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `LanguageID` int unsigned NOT NULL DEFAULT '0', + `Text` text COLLATE utf8mb4_unicode_ci NOT NULL, + `Text1` text COLLATE utf8mb4_unicode_ci NOT NULL, + `EmoteID1` int unsigned NOT NULL DEFAULT '0', + `EmoteID2` int unsigned NOT NULL DEFAULT '0', + `EmoteID3` int unsigned NOT NULL DEFAULT '0', + `EmoteDelay1` int unsigned NOT NULL DEFAULT '0', + `EmoteDelay2` int unsigned NOT NULL DEFAULT '0', + `EmoteDelay3` int unsigned NOT NULL DEFAULT '0', + `SoundEntriesID` int unsigned NOT NULL DEFAULT '0', + `EmotesID` int unsigned NOT NULL DEFAULT '0', + `Flags` int unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -281,15 +281,15 @@ CREATE TABLE `broadcast_text` ( DROP TABLE IF EXISTS `broadcast_text_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `broadcast_text_locale` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, - `Text` text COLLATE utf8mb4_unicode_ci, - `Text1` text COLLATE utf8mb4_unicode_ci, - `VerifiedBuild` smallint(5) DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `Text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text1` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -298,13 +298,13 @@ CREATE TABLE `broadcast_text_locale` ( DROP TABLE IF EXISTS `command`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `command` ( - `name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL, - `permission` smallint(5) unsigned NOT NULL DEFAULT '0', - `help` longtext COLLATE utf8mb4_unicode_ci, + `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `permission` smallint unsigned NOT NULL DEFAULT '0', + `help` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`name`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Chat System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Chat System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -313,25 +313,25 @@ CREATE TABLE `command` ( DROP TABLE IF EXISTS `conditions`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `conditions` ( - `SourceTypeOrReferenceId` mediumint(8) NOT NULL DEFAULT '0', - `SourceGroup` mediumint(8) unsigned NOT NULL DEFAULT '0', - `SourceEntry` mediumint(8) NOT NULL DEFAULT '0', - `SourceId` int(11) NOT NULL DEFAULT '0', - `ElseGroup` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ConditionTypeOrReference` mediumint(8) NOT NULL DEFAULT '0', - `ConditionTarget` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ConditionValue1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ConditionValue2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ConditionValue3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `NegativeCondition` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ErrorType` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ErrorTextId` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ScriptName` char(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `SourceTypeOrReferenceId` int NOT NULL DEFAULT '0', + `SourceGroup` int unsigned NOT NULL DEFAULT '0', + `SourceEntry` int NOT NULL DEFAULT '0', + `SourceId` int NOT NULL DEFAULT '0', + `ElseGroup` int unsigned NOT NULL DEFAULT '0', + `ConditionTypeOrReference` int NOT NULL DEFAULT '0', + `ConditionTarget` tinyint unsigned NOT NULL DEFAULT '0', + `ConditionValue1` int unsigned NOT NULL DEFAULT '0', + `ConditionValue2` int unsigned NOT NULL DEFAULT '0', + `ConditionValue3` int unsigned NOT NULL DEFAULT '0', + `NegativeCondition` tinyint unsigned NOT NULL DEFAULT '0', + `ErrorType` int unsigned NOT NULL DEFAULT '0', + `ErrorTextId` int unsigned NOT NULL DEFAULT '0', + `ScriptName` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Condition System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Condition System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -340,40 +340,40 @@ CREATE TABLE `conditions` ( DROP TABLE IF EXISTS `creature`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature` ( - `guid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Global Unique Identifier', - `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Creature Identifier', - `map` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', - `zoneId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Zone Identifier', - `areaId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Area Identifier', - `spawnMask` tinyint(3) unsigned NOT NULL DEFAULT '1', - `phaseUseFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `phaseMask` int(10) unsigned NOT NULL DEFAULT '1', - `PhaseId` int(10) DEFAULT '0', - `PhaseGroup` int(10) DEFAULT '0', - `terrainSwapMap` int(11) NOT NULL DEFAULT '-1', - `modelid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `equipment_id` tinyint(3) NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Global Unique Identifier', + `id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Creature Identifier', + `map` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', + `zoneId` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Zone Identifier', + `areaId` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Area Identifier', + `spawnMask` tinyint unsigned NOT NULL DEFAULT '1', + `phaseUseFlags` tinyint unsigned NOT NULL DEFAULT '0', + `phaseMask` int unsigned NOT NULL DEFAULT '1', + `PhaseId` int DEFAULT '0', + `PhaseGroup` int DEFAULT '0', + `terrainSwapMap` int NOT NULL DEFAULT '-1', + `modelid` int unsigned NOT NULL DEFAULT '0', + `equipment_id` tinyint NOT NULL DEFAULT '0', `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', `orientation` float NOT NULL DEFAULT '0', - `spawntimesecs` int(10) unsigned NOT NULL DEFAULT '120', + `spawntimesecs` int unsigned NOT NULL DEFAULT '120', `spawndist` float NOT NULL DEFAULT '0', - `currentwaypoint` mediumint(8) unsigned NOT NULL DEFAULT '0', - `curhealth` int(10) unsigned NOT NULL DEFAULT '1', - `curmana` int(10) unsigned NOT NULL DEFAULT '0', - `MovementType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `npcflag` int(10) unsigned NOT NULL DEFAULT '0', - `unit_flags` int(10) unsigned NOT NULL DEFAULT '0', - `dynamicflags` int(10) unsigned NOT NULL DEFAULT '0', - `ScriptName` char(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `VerifiedBuild` smallint(5) DEFAULT '0', + `currentwaypoint` int unsigned NOT NULL DEFAULT '0', + `curhealth` int unsigned NOT NULL DEFAULT '1', + `curmana` int unsigned NOT NULL DEFAULT '0', + `MovementType` tinyint unsigned NOT NULL DEFAULT '0', + `npcflag` int unsigned NOT NULL DEFAULT '0', + `unit_flags` int unsigned NOT NULL DEFAULT '0', + `dynamicflags` int unsigned NOT NULL DEFAULT '0', + `ScriptName` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`guid`), KEY `idx_map` (`map`), KEY `idx_id` (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=1022682 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='Creature System'; +) ENGINE=InnoDB AUTO_INCREMENT=1022682 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Creature System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -382,22 +382,22 @@ CREATE TABLE `creature` ( DROP TABLE IF EXISTS `creature_addon`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_addon` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', - `waypointPathId` int(10) unsigned NOT NULL DEFAULT '0', - `cyclicSplinePathId` int(10) unsigned NOT NULL DEFAULT '0', - `mount` mediumint(8) unsigned NOT NULL DEFAULT '0', - `bytes1` int(10) unsigned NOT NULL DEFAULT '0', - `bytes2` int(10) unsigned NOT NULL DEFAULT '0', - `emote` int(10) unsigned NOT NULL DEFAULT '0', - `aiAnimKit` smallint(6) NOT NULL DEFAULT '0', - `movementAnimKit` smallint(6) NOT NULL DEFAULT '0', - `meleeAnimKit` smallint(6) NOT NULL DEFAULT '0', - `visibilityDistanceType` tinyint(3) unsigned DEFAULT '0', - `auras` text COLLATE utf8mb4_unicode_ci, + `guid` int unsigned NOT NULL DEFAULT '0', + `waypointPathId` int unsigned NOT NULL DEFAULT '0', + `cyclicSplinePathId` int unsigned NOT NULL DEFAULT '0', + `mount` int unsigned NOT NULL DEFAULT '0', + `bytes1` int unsigned NOT NULL DEFAULT '0', + `bytes2` int unsigned NOT NULL DEFAULT '0', + `emote` int unsigned NOT NULL DEFAULT '0', + `aiAnimKit` smallint NOT NULL DEFAULT '0', + `movementAnimKit` smallint NOT NULL DEFAULT '0', + `meleeAnimKit` smallint NOT NULL DEFAULT '0', + `visibilityDistanceType` tinyint unsigned DEFAULT '0', + `auras` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`guid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -406,25 +406,25 @@ CREATE TABLE `creature_addon` ( DROP TABLE IF EXISTS `creature_classlevelstats`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_classlevelstats` ( - `level` tinyint(4) NOT NULL, - `class` tinyint(4) NOT NULL, - `basehp0` mediumint(8) unsigned NOT NULL DEFAULT '1', - `basehp1` mediumint(8) unsigned NOT NULL DEFAULT '1', - `basehp2` mediumint(8) unsigned NOT NULL DEFAULT '1', - `basehp3` mediumint(8) unsigned NOT NULL DEFAULT '1', - `basemana` mediumint(8) unsigned NOT NULL DEFAULT '1', - `basearmor` mediumint(8) unsigned NOT NULL DEFAULT '1', - `attackpower` smallint(6) NOT NULL DEFAULT '0', - `rangedattackpower` smallint(6) NOT NULL DEFAULT '0', + `level` tinyint NOT NULL, + `class` tinyint NOT NULL, + `basehp0` int unsigned NOT NULL DEFAULT '1', + `basehp1` int unsigned NOT NULL DEFAULT '1', + `basehp2` int unsigned NOT NULL DEFAULT '1', + `basehp3` int unsigned NOT NULL DEFAULT '1', + `basemana` int unsigned NOT NULL DEFAULT '1', + `basearmor` int unsigned NOT NULL DEFAULT '1', + `attackpower` smallint NOT NULL DEFAULT '0', + `rangedattackpower` smallint NOT NULL DEFAULT '0', `damage_base` float NOT NULL DEFAULT '0', `damage_exp1` float NOT NULL DEFAULT '0', `damage_exp2` float NOT NULL DEFAULT '0', `damage_exp3` float NOT NULL DEFAULT '0', - `comment` text COLLATE utf8mb4_unicode_ci, + `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`level`,`class`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -433,16 +433,16 @@ CREATE TABLE `creature_classlevelstats` ( DROP TABLE IF EXISTS `creature_equip_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_equip_template` ( - `CreatureID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ID` tinyint(3) unsigned NOT NULL DEFAULT '1', - `ItemID1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ItemID2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ItemID3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `CreatureID` int unsigned NOT NULL DEFAULT '0', + `ID` tinyint unsigned NOT NULL DEFAULT '1', + `ItemID1` int unsigned NOT NULL DEFAULT '0', + `ItemID2` int unsigned NOT NULL DEFAULT '0', + `ItemID3` int unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`CreatureID`,`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -451,17 +451,17 @@ CREATE TABLE `creature_equip_template` ( DROP TABLE IF EXISTS `creature_formations`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_formations` ( - `LeaderGUID` int(10) unsigned NOT NULL DEFAULT '0', - `MemberGUID` int(10) unsigned NOT NULL DEFAULT '0', - `FollowDistance` float unsigned NOT NULL, - `FollowAngle` float unsigned NOT NULL, - `GroupAI` int(10) unsigned NOT NULL, - `InversionPoint1` int(5) DEFAULT '-1', - `InversionPoint2` int(5) DEFAULT '-1', + `LeaderGUID` int unsigned NOT NULL DEFAULT '0', + `MemberGUID` int unsigned NOT NULL DEFAULT '0', + `FollowDistance` float NOT NULL, + `FollowAngle` float NOT NULL, + `GroupAI` int unsigned NOT NULL, + `InversionPoint1` int DEFAULT '-1', + `InversionPoint2` int DEFAULT '-1', PRIMARY KEY (`MemberGUID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -470,21 +470,21 @@ CREATE TABLE `creature_formations` ( DROP TABLE IF EXISTS `creature_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_loot_template` ( - `Entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Reference` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Entry` int unsigned NOT NULL DEFAULT '0', + `Item` int unsigned NOT NULL DEFAULT '0', + `Reference` int unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` tinyint(1) NOT NULL DEFAULT '0', `IsCurrency` tinyint(1) NOT NULL DEFAULT '0', - `LootMode` smallint(5) unsigned NOT NULL DEFAULT '1', - `GroupId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `LootMode` smallint unsigned NOT NULL DEFAULT '1', + `GroupId` tinyint unsigned NOT NULL DEFAULT '0', + `MinCount` tinyint unsigned NOT NULL DEFAULT '1', + `MaxCount` tinyint unsigned NOT NULL DEFAULT '1', + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -493,15 +493,15 @@ CREATE TABLE `creature_loot_template` ( DROP TABLE IF EXISTS `creature_model_info`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_model_info` ( - `DisplayID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `DisplayID` int unsigned NOT NULL DEFAULT '0', `BoundingRadius` float NOT NULL DEFAULT '0', `CombatReach` float NOT NULL DEFAULT '0', - `Gender` tinyint(3) unsigned NOT NULL DEFAULT '2', - `DisplayID_Other_Gender` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Gender` tinyint unsigned NOT NULL DEFAULT '2', + `DisplayID_Other_Gender` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`DisplayID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Creature System (Model related info)'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Creature System (Model related info)'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -510,13 +510,13 @@ CREATE TABLE `creature_model_info` ( DROP TABLE IF EXISTS `creature_movement_info`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_movement_info` ( - `MovementID` int(8) unsigned NOT NULL DEFAULT '0' COMMENT 'creature_template.movementId value', - `WalkSpeed` float unsigned DEFAULT NULL, - `RunSpeed` float unsigned DEFAULT NULL, + `MovementID` int unsigned NOT NULL DEFAULT '0' COMMENT 'creature_template.movementId value', + `WalkSpeed` float DEFAULT NULL, + `RunSpeed` float DEFAULT NULL, PRIMARY KEY (`MovementID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -525,17 +525,17 @@ CREATE TABLE `creature_movement_info` ( DROP TABLE IF EXISTS `creature_movement_override`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_movement_override` ( - `SpawnId` int(10) unsigned NOT NULL DEFAULT '0', - `Ground` tinyint(3) unsigned DEFAULT NULL, - `Swim` tinyint(3) unsigned DEFAULT NULL, - `Flight` tinyint(3) unsigned DEFAULT NULL, - `Rooted` tinyint(3) unsigned DEFAULT NULL, - `Random` tinyint(3) unsigned DEFAULT NULL, - `InteractionPauseTimer` int(10) unsigned DEFAULT NULL COMMENT 'Time (in milliseconds) during which creature will not move after interaction with player', + `SpawnId` int unsigned NOT NULL DEFAULT '0', + `Ground` tinyint unsigned DEFAULT NULL, + `Swim` tinyint unsigned DEFAULT NULL, + `Flight` tinyint unsigned DEFAULT NULL, + `Rooted` tinyint unsigned DEFAULT NULL, + `Random` tinyint unsigned DEFAULT NULL, + `InteractionPauseTimer` int unsigned DEFAULT NULL COMMENT 'Time (in milliseconds) during which creature will not move after interaction with player', PRIMARY KEY (`SpawnId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -544,26 +544,26 @@ CREATE TABLE `creature_movement_override` ( DROP TABLE IF EXISTS `creature_onkill_reward`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_onkill_reward` ( - `creature_id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Creature Identifier', - `RewOnKillRepFaction1` smallint(6) NOT NULL DEFAULT '0', - `RewOnKillRepFaction2` smallint(6) NOT NULL DEFAULT '0', - `MaxStanding1` tinyint(4) NOT NULL DEFAULT '0', - `IsTeamAward1` tinyint(4) NOT NULL DEFAULT '0', - `RewOnKillRepValue1` mediumint(8) NOT NULL DEFAULT '0', - `MaxStanding2` tinyint(4) NOT NULL DEFAULT '0', - `IsTeamAward2` tinyint(4) NOT NULL DEFAULT '0', - `RewOnKillRepValue2` mediumint(9) NOT NULL DEFAULT '0', - `TeamDependent` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CurrencyId1` mediumint(8) DEFAULT '0', - `CurrencyId2` mediumint(8) DEFAULT '0', - `CurrencyId3` mediumint(8) DEFAULT '0', - `CurrencyCount1` mediumint(8) DEFAULT '0', - `CurrencyCount2` mediumint(8) DEFAULT '0', - `CurrencyCount3` mediumint(8) DEFAULT '0', + `creature_id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Creature Identifier', + `RewOnKillRepFaction1` smallint NOT NULL DEFAULT '0', + `RewOnKillRepFaction2` smallint NOT NULL DEFAULT '0', + `MaxStanding1` tinyint NOT NULL DEFAULT '0', + `IsTeamAward1` tinyint NOT NULL DEFAULT '0', + `RewOnKillRepValue1` int NOT NULL DEFAULT '0', + `MaxStanding2` tinyint NOT NULL DEFAULT '0', + `IsTeamAward2` tinyint NOT NULL DEFAULT '0', + `RewOnKillRepValue2` int NOT NULL DEFAULT '0', + `TeamDependent` tinyint unsigned NOT NULL DEFAULT '0', + `CurrencyId1` int DEFAULT '0', + `CurrencyId2` int DEFAULT '0', + `CurrencyId3` int DEFAULT '0', + `CurrencyCount1` int DEFAULT '0', + `CurrencyCount2` int DEFAULT '0', + `CurrencyCount3` int DEFAULT '0', PRIMARY KEY (`creature_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='Creature OnKill Reputation gain'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Creature OnKill Reputation gain'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -572,12 +572,12 @@ CREATE TABLE `creature_onkill_reward` ( DROP TABLE IF EXISTS `creature_questender`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_questender` ( - `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', - `quest` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + `id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`id`,`quest`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Creature System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Creature System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -586,14 +586,14 @@ CREATE TABLE `creature_questender` ( DROP TABLE IF EXISTS `creature_questitem`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_questitem` ( - `CreatureEntry` int(10) unsigned NOT NULL DEFAULT '0', - `Idx` int(10) unsigned NOT NULL DEFAULT '0', - `ItemId` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `CreatureEntry` int unsigned NOT NULL DEFAULT '0', + `Idx` int unsigned NOT NULL DEFAULT '0', + `ItemId` int unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`CreatureEntry`,`Idx`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -602,12 +602,12 @@ CREATE TABLE `creature_questitem` ( DROP TABLE IF EXISTS `creature_queststarter`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_queststarter` ( - `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', - `quest` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + `id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`id`,`quest`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Creature System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Creature System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -616,9 +616,9 @@ CREATE TABLE `creature_queststarter` ( DROP TABLE IF EXISTS `creature_sparring_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_sparring_template` ( - `CreatureID` mediumint(8) unsigned NOT NULL, + `CreatureID` int unsigned NOT NULL, `HealthLimitPct` float DEFAULT '0', PRIMARY KEY (`CreatureID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; @@ -630,19 +630,19 @@ CREATE TABLE `creature_sparring_template` ( DROP TABLE IF EXISTS `creature_summon_groups`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_summon_groups` ( - `summonerId` mediumint(8) unsigned NOT NULL DEFAULT '0', - `summonerType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `groupId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `summonerId` int unsigned NOT NULL DEFAULT '0', + `summonerType` tinyint unsigned NOT NULL DEFAULT '0', + `groupId` tinyint unsigned NOT NULL DEFAULT '0', + `entry` int unsigned NOT NULL DEFAULT '0', `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', `orientation` float NOT NULL DEFAULT '0', - `summonType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `summonTime` int(10) unsigned NOT NULL DEFAULT '0' -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + `summonType` tinyint unsigned NOT NULL DEFAULT '0', + `summonTime` int unsigned NOT NULL DEFAULT '0' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -651,72 +651,72 @@ CREATE TABLE `creature_summon_groups` ( DROP TABLE IF EXISTS `creature_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_template` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `difficulty_entry_1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `difficulty_entry_2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `difficulty_entry_3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `KillCredit1` int(10) unsigned NOT NULL DEFAULT '0', - `KillCredit2` int(10) unsigned NOT NULL DEFAULT '0', - `modelid1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `modelid2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `modelid3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `modelid4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `name` char(100) COLLATE utf8mb4_unicode_ci NOT NULL, - `femaleName` char(100) COLLATE utf8mb4_unicode_ci NOT NULL, - `subname` char(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `IconName` char(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `gossip_menu_id` mediumint(8) unsigned NOT NULL DEFAULT '0', - `minlevel` tinyint(3) unsigned NOT NULL DEFAULT '1', - `maxlevel` tinyint(3) unsigned NOT NULL DEFAULT '1', - `exp` smallint(6) NOT NULL DEFAULT '0', - `exp_unk` smallint(2) NOT NULL DEFAULT '0', - `faction` smallint(5) unsigned NOT NULL DEFAULT '0', - `npcflag` int(10) unsigned NOT NULL DEFAULT '0', + `entry` int unsigned NOT NULL DEFAULT '0', + `difficulty_entry_1` int unsigned NOT NULL DEFAULT '0', + `difficulty_entry_2` int unsigned NOT NULL DEFAULT '0', + `difficulty_entry_3` int unsigned NOT NULL DEFAULT '0', + `KillCredit1` int unsigned NOT NULL DEFAULT '0', + `KillCredit2` int unsigned NOT NULL DEFAULT '0', + `modelid1` int unsigned NOT NULL DEFAULT '0', + `modelid2` int unsigned NOT NULL DEFAULT '0', + `modelid3` int unsigned NOT NULL DEFAULT '0', + `modelid4` int unsigned NOT NULL DEFAULT '0', + `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, + `femaleName` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, + `subname` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `IconName` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `gossip_menu_id` int unsigned NOT NULL DEFAULT '0', + `minlevel` tinyint unsigned NOT NULL DEFAULT '1', + `maxlevel` tinyint unsigned NOT NULL DEFAULT '1', + `exp` smallint NOT NULL DEFAULT '0', + `exp_unk` smallint NOT NULL DEFAULT '0', + `faction` smallint unsigned NOT NULL DEFAULT '0', + `npcflag` int unsigned NOT NULL DEFAULT '0', `speed_walk` float NOT NULL DEFAULT '1' COMMENT 'Result of 2.5/2.5, most common value', `speed_run` float NOT NULL DEFAULT '1.14286' COMMENT 'Result of 8.0/7.0, most common value', `scale` float NOT NULL DEFAULT '1', - `rank` tinyint(3) unsigned NOT NULL DEFAULT '0', - `dmgschool` tinyint(4) NOT NULL DEFAULT '0', - `BaseAttackTime` int(10) unsigned NOT NULL DEFAULT '0', - `RangeAttackTime` int(10) unsigned NOT NULL DEFAULT '0', + `rank` tinyint unsigned NOT NULL DEFAULT '0', + `dmgschool` tinyint NOT NULL DEFAULT '0', + `BaseAttackTime` int unsigned NOT NULL DEFAULT '0', + `RangeAttackTime` int unsigned NOT NULL DEFAULT '0', `BaseVariance` float NOT NULL DEFAULT '1', `RangeVariance` float NOT NULL DEFAULT '1', - `unit_class` tinyint(3) unsigned NOT NULL DEFAULT '0', - `unit_flags` int(10) unsigned NOT NULL DEFAULT '0', - `unit_flags2` int(10) unsigned NOT NULL DEFAULT '0', - `dynamicflags` int(10) unsigned NOT NULL DEFAULT '0', - `family` tinyint(4) NOT NULL DEFAULT '0', - `trainer_type` tinyint(4) NOT NULL DEFAULT '0', - `trainer_class` tinyint(3) unsigned NOT NULL DEFAULT '0', - `trainer_race` tinyint(3) unsigned NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `type_flags` int(10) unsigned NOT NULL DEFAULT '0', - `type_flags2` int(10) unsigned NOT NULL DEFAULT '0', - `lootid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `pickpocketloot` mediumint(8) unsigned NOT NULL DEFAULT '0', - `skinloot` mediumint(8) unsigned NOT NULL DEFAULT '0', - `resistance1` smallint(6) NOT NULL DEFAULT '0', - `resistance2` smallint(6) NOT NULL DEFAULT '0', - `resistance3` smallint(6) NOT NULL DEFAULT '0', - `resistance4` smallint(6) NOT NULL DEFAULT '0', - `resistance5` smallint(6) NOT NULL DEFAULT '0', - `resistance6` smallint(6) NOT NULL DEFAULT '0', - `spell1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell5` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell6` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell7` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell8` mediumint(8) unsigned NOT NULL DEFAULT '0', - `PetSpellDataId` mediumint(8) unsigned NOT NULL DEFAULT '0', - `VehicleId` mediumint(8) unsigned NOT NULL DEFAULT '0', - `mingold` int(9) unsigned NOT NULL DEFAULT '0', - `maxgold` int(9) unsigned NOT NULL DEFAULT '0', - `AIName` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, - `MovementType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `unit_class` tinyint unsigned NOT NULL DEFAULT '0', + `unit_flags` int unsigned NOT NULL DEFAULT '0', + `unit_flags2` int unsigned NOT NULL DEFAULT '0', + `dynamicflags` int unsigned NOT NULL DEFAULT '0', + `family` tinyint NOT NULL DEFAULT '0', + `trainer_type` tinyint NOT NULL DEFAULT '0', + `trainer_class` tinyint unsigned NOT NULL DEFAULT '0', + `trainer_race` tinyint unsigned NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL DEFAULT '0', + `type_flags` int unsigned NOT NULL DEFAULT '0', + `type_flags2` int unsigned NOT NULL DEFAULT '0', + `lootid` int unsigned NOT NULL DEFAULT '0', + `pickpocketloot` int unsigned NOT NULL DEFAULT '0', + `skinloot` int unsigned NOT NULL DEFAULT '0', + `resistance1` smallint NOT NULL DEFAULT '0', + `resistance2` smallint NOT NULL DEFAULT '0', + `resistance3` smallint NOT NULL DEFAULT '0', + `resistance4` smallint NOT NULL DEFAULT '0', + `resistance5` smallint NOT NULL DEFAULT '0', + `resistance6` smallint NOT NULL DEFAULT '0', + `spell1` int unsigned NOT NULL DEFAULT '0', + `spell2` int unsigned NOT NULL DEFAULT '0', + `spell3` int unsigned NOT NULL DEFAULT '0', + `spell4` int unsigned NOT NULL DEFAULT '0', + `spell5` int unsigned NOT NULL DEFAULT '0', + `spell6` int unsigned NOT NULL DEFAULT '0', + `spell7` int unsigned NOT NULL DEFAULT '0', + `spell8` int unsigned NOT NULL DEFAULT '0', + `PetSpellDataId` int unsigned NOT NULL DEFAULT '0', + `VehicleId` int unsigned NOT NULL DEFAULT '0', + `mingold` int unsigned NOT NULL DEFAULT '0', + `maxgold` int unsigned NOT NULL DEFAULT '0', + `AIName` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `MovementType` tinyint unsigned NOT NULL DEFAULT '0', `HoverHeight` float NOT NULL DEFAULT '1', `HealthModifier` float NOT NULL DEFAULT '1', `HealthModifierExtra` float NOT NULL DEFAULT '1', @@ -725,17 +725,17 @@ CREATE TABLE `creature_template` ( `ArmorModifier` float NOT NULL DEFAULT '1', `DamageModifier` float NOT NULL DEFAULT '1', `ExperienceModifier` float NOT NULL DEFAULT '1', - `RacialLeader` tinyint(3) unsigned NOT NULL DEFAULT '0', - `movementId` int(11) unsigned NOT NULL DEFAULT '0', - `RegenHealth` tinyint(3) unsigned NOT NULL DEFAULT '1', - `mechanic_immune_mask` int(10) unsigned NOT NULL DEFAULT '0', - `spell_school_immune_mask` int(3) unsigned NOT NULL DEFAULT '0', - `flags_extra` int(10) unsigned NOT NULL DEFAULT '0', - `ScriptName` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, - `VerifiedBuild` smallint(5) DEFAULT '0', + `RacialLeader` tinyint unsigned NOT NULL DEFAULT '0', + `movementId` int unsigned NOT NULL DEFAULT '0', + `RegenHealth` tinyint unsigned NOT NULL DEFAULT '1', + `mechanic_immune_mask` int unsigned NOT NULL DEFAULT '0', + `spell_school_immune_mask` int unsigned NOT NULL DEFAULT '0', + `flags_extra` int unsigned NOT NULL DEFAULT '0', + `ScriptName` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`entry`), KEY `idx_name` (`name`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Creature System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Creature System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -744,22 +744,22 @@ CREATE TABLE `creature_template` ( DROP TABLE IF EXISTS `creature_template_addon`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_template_addon` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `waypointPathId` int(10) unsigned NOT NULL DEFAULT '0', - `cyclicSplinePathId` int(10) unsigned NOT NULL DEFAULT '0', - `mount` mediumint(8) unsigned NOT NULL DEFAULT '0', - `bytes1` int(10) unsigned NOT NULL DEFAULT '0', - `bytes2` int(10) unsigned NOT NULL DEFAULT '0', - `emote` mediumint(8) unsigned NOT NULL DEFAULT '0', - `aiAnimKit` smallint(6) NOT NULL DEFAULT '0', - `movementAnimKit` smallint(6) NOT NULL DEFAULT '0', - `meleeAnimKit` smallint(6) NOT NULL DEFAULT '0', - `visibilityDistanceType` tinyint(3) unsigned DEFAULT '0', - `auras` text COLLATE utf8mb4_unicode_ci, + `entry` int unsigned NOT NULL DEFAULT '0', + `waypointPathId` int unsigned NOT NULL DEFAULT '0', + `cyclicSplinePathId` int unsigned NOT NULL DEFAULT '0', + `mount` int unsigned NOT NULL DEFAULT '0', + `bytes1` int unsigned NOT NULL DEFAULT '0', + `bytes2` int unsigned NOT NULL DEFAULT '0', + `emote` int unsigned NOT NULL DEFAULT '0', + `aiAnimKit` smallint NOT NULL DEFAULT '0', + `movementAnimKit` smallint NOT NULL DEFAULT '0', + `meleeAnimKit` smallint NOT NULL DEFAULT '0', + `visibilityDistanceType` tinyint unsigned DEFAULT '0', + `auras` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -768,16 +768,16 @@ CREATE TABLE `creature_template_addon` ( DROP TABLE IF EXISTS `creature_template_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_template_locale` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, - `Name` text COLLATE utf8mb4_unicode_ci, - `FemaleName` text COLLATE utf8mb4_unicode_ci, - `Title` text COLLATE utf8mb4_unicode_ci, - `VerifiedBuild` smallint(5) DEFAULT '0', + `entry` int unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `Name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `FemaleName` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Title` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`entry`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -786,17 +786,17 @@ CREATE TABLE `creature_template_locale` ( DROP TABLE IF EXISTS `creature_template_movement`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_template_movement` ( - `CreatureId` int(10) unsigned NOT NULL DEFAULT '0', - `Ground` tinyint(3) unsigned DEFAULT NULL, - `Swim` tinyint(3) unsigned DEFAULT NULL, - `Flight` tinyint(3) unsigned DEFAULT NULL, - `Rooted` tinyint(3) unsigned DEFAULT NULL, - `Random` tinyint(3) unsigned DEFAULT NULL, - `InteractionPauseTimer` int(10) unsigned DEFAULT NULL COMMENT 'Time (in milliseconds) during which creature will not move after interaction with player', + `CreatureId` int unsigned NOT NULL DEFAULT '0', + `Ground` tinyint unsigned DEFAULT NULL, + `Swim` tinyint unsigned DEFAULT NULL, + `Flight` tinyint unsigned DEFAULT NULL, + `Rooted` tinyint unsigned DEFAULT NULL, + `Random` tinyint unsigned DEFAULT NULL, + `InteractionPauseTimer` int unsigned DEFAULT NULL COMMENT 'Time (in milliseconds) during which creature will not move after interaction with player', PRIMARY KEY (`CreatureId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -805,24 +805,24 @@ CREATE TABLE `creature_template_movement` ( DROP TABLE IF EXISTS `creature_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_text` ( - `CreatureID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `GroupID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Text` longtext COLLATE utf8mb4_unicode_ci, - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Language` tinyint(3) NOT NULL DEFAULT '0', - `Probability` float unsigned NOT NULL DEFAULT '0', - `Emote` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Duration` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Sound` mediumint(8) unsigned NOT NULL DEFAULT '0', - `SoundType` mediumint(8) unsigned NOT NULL DEFAULT '0', - `BroadcastTextId` mediumint(6) NOT NULL DEFAULT '0', - `TextRange` tinyint(3) unsigned NOT NULL DEFAULT '0', - `comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `CreatureID` int unsigned NOT NULL DEFAULT '0', + `GroupID` tinyint unsigned NOT NULL DEFAULT '0', + `ID` tinyint unsigned NOT NULL DEFAULT '0', + `Text` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, + `Type` tinyint unsigned NOT NULL DEFAULT '0', + `Language` tinyint NOT NULL DEFAULT '0', + `Probability` float NOT NULL DEFAULT '0', + `Emote` int unsigned NOT NULL DEFAULT '0', + `Duration` int unsigned NOT NULL DEFAULT '0', + `Sound` int unsigned NOT NULL DEFAULT '0', + `SoundType` int unsigned NOT NULL DEFAULT '0', + `BroadcastTextId` int NOT NULL DEFAULT '0', + `TextRange` tinyint unsigned NOT NULL DEFAULT '0', + `comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`CreatureID`,`GroupID`,`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -831,15 +831,15 @@ CREATE TABLE `creature_text` ( DROP TABLE IF EXISTS `creature_text_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_text_locale` ( - `CreatureID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `GroupID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, - `Text` text COLLATE utf8mb4_unicode_ci, + `CreatureID` int unsigned NOT NULL DEFAULT '0', + `GroupID` tinyint unsigned NOT NULL DEFAULT '0', + `ID` tinyint unsigned NOT NULL DEFAULT '0', + `Locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `Text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`CreatureID`,`GroupID`,`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -848,14 +848,14 @@ CREATE TABLE `creature_text_locale` ( DROP TABLE IF EXISTS `creature_trainer`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_trainer` ( - `CreatureId` int(11) unsigned NOT NULL, - `TrainerId` int(11) unsigned NOT NULL DEFAULT '0', - `MenuId` int(10) unsigned NOT NULL DEFAULT '0', - `OptionIndex` int(10) unsigned NOT NULL DEFAULT '0', + `CreatureId` int unsigned NOT NULL, + `TrainerId` int unsigned NOT NULL DEFAULT '0', + `MenuId` int unsigned NOT NULL DEFAULT '0', + `OptionIndex` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`CreatureId`,`MenuId`,`OptionIndex`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -864,16 +864,16 @@ CREATE TABLE `creature_trainer` ( DROP TABLE IF EXISTS `disables`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `disables` ( - `sourceType` int(10) unsigned NOT NULL, - `entry` int(10) unsigned NOT NULL, - `flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `params_0` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `params_1` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `comment` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `sourceType` int unsigned NOT NULL, + `entry` int unsigned NOT NULL, + `flags` tinyint unsigned NOT NULL DEFAULT '0', + `params_0` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `params_1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`sourceType`,`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -882,21 +882,21 @@ CREATE TABLE `disables` ( DROP TABLE IF EXISTS `disenchant_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `disenchant_loot_template` ( - `Entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Reference` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Entry` int unsigned NOT NULL DEFAULT '0', + `Item` int unsigned NOT NULL DEFAULT '0', + `Reference` int unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` tinyint(1) NOT NULL DEFAULT '0', `IsCurrency` tinyint(1) NOT NULL DEFAULT '0', - `LootMode` smallint(5) unsigned NOT NULL DEFAULT '1', - `GroupId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `LootMode` smallint unsigned NOT NULL DEFAULT '1', + `GroupId` tinyint unsigned NOT NULL DEFAULT '0', + `MinCount` tinyint unsigned NOT NULL DEFAULT '1', + `MaxCount` tinyint unsigned NOT NULL DEFAULT '1', + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -905,19 +905,19 @@ CREATE TABLE `disenchant_loot_template` ( DROP TABLE IF EXISTS `event_scripts`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `event_scripts` ( - `id` mediumint(8) unsigned NOT NULL DEFAULT '0', - `delay` int(10) unsigned NOT NULL DEFAULT '0', - `command` mediumint(8) unsigned NOT NULL DEFAULT '0', - `datalong` mediumint(8) unsigned NOT NULL DEFAULT '0', - `datalong2` int(10) unsigned NOT NULL DEFAULT '0', - `dataint` int(11) NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL DEFAULT '0', + `delay` int unsigned NOT NULL DEFAULT '0', + `command` int unsigned NOT NULL DEFAULT '0', + `datalong` int unsigned NOT NULL DEFAULT '0', + `datalong2` int unsigned NOT NULL DEFAULT '0', + `dataint` int NOT NULL DEFAULT '0', `x` float NOT NULL DEFAULT '0', `y` float NOT NULL DEFAULT '0', `z` float NOT NULL DEFAULT '0', `o` float NOT NULL DEFAULT '0' -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -926,12 +926,12 @@ CREATE TABLE `event_scripts` ( DROP TABLE IF EXISTS `exploration_basexp`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `exploration_basexp` ( - `level` tinyint(3) unsigned NOT NULL DEFAULT '0', - `basexp` mediumint(8) NOT NULL DEFAULT '0', + `level` tinyint unsigned NOT NULL DEFAULT '0', + `basexp` int NOT NULL DEFAULT '0', PRIMARY KEY (`level`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Exploration System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Exploration System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -940,21 +940,21 @@ CREATE TABLE `exploration_basexp` ( DROP TABLE IF EXISTS `fishing_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `fishing_loot_template` ( - `Entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Reference` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Entry` int unsigned NOT NULL DEFAULT '0', + `Item` int unsigned NOT NULL DEFAULT '0', + `Reference` int unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` tinyint(1) NOT NULL DEFAULT '0', `IsCurrency` tinyint(1) NOT NULL DEFAULT '0', - `LootMode` smallint(5) unsigned NOT NULL DEFAULT '1', - `GroupId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `LootMode` smallint unsigned NOT NULL DEFAULT '1', + `GroupId` tinyint unsigned NOT NULL DEFAULT '0', + `MinCount` tinyint unsigned NOT NULL DEFAULT '1', + `MaxCount` tinyint unsigned NOT NULL DEFAULT '1', + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -963,20 +963,20 @@ CREATE TABLE `fishing_loot_template` ( DROP TABLE IF EXISTS `game_event`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event` ( - `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', + `eventEntry` tinyint unsigned NOT NULL COMMENT 'Entry of the game event', `start_time` timestamp NULL DEFAULT NULL COMMENT 'Absolute start date, the event will never start before', `end_time` timestamp NULL DEFAULT NULL COMMENT 'Absolute end date, the event will never start after', - `occurence` bigint(20) unsigned NOT NULL DEFAULT '5184000' COMMENT 'Delay in minutes between occurences of the event', - `length` bigint(20) unsigned NOT NULL DEFAULT '2592000' COMMENT 'Length in minutes of the event', - `holiday` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Client side holiday id', - `holidayStage` tinyint(3) unsigned NOT NULL DEFAULT '0', - `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `world_event` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '0 if normal event, 1 if world event', - `announce` tinyint(3) unsigned DEFAULT '2' COMMENT '0 dont announce, 1 announce, 2 value from config', + `occurence` bigint unsigned NOT NULL DEFAULT '5184000' COMMENT 'Delay in minutes between occurences of the event', + `length` bigint unsigned NOT NULL DEFAULT '2592000' COMMENT 'Length in minutes of the event', + `holiday` int unsigned NOT NULL DEFAULT '0' COMMENT 'Client side holiday id', + `holidayStage` tinyint unsigned NOT NULL DEFAULT '0', + `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `world_event` tinyint unsigned NOT NULL DEFAULT '0' COMMENT '0 if normal event, 1 if world event', + `announce` tinyint unsigned DEFAULT '2' COMMENT '0 dont announce, 1 announce, 2 value from config', PRIMARY KEY (`eventEntry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -985,12 +985,12 @@ CREATE TABLE `game_event` ( DROP TABLE IF EXISTS `game_event_arena_seasons`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_arena_seasons` ( - `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', - `season` tinyint(3) unsigned NOT NULL COMMENT 'Arena season number', + `eventEntry` tinyint unsigned NOT NULL COMMENT 'Entry of the game event', + `season` tinyint unsigned NOT NULL COMMENT 'Arena season number', UNIQUE KEY `season` (`season`,`eventEntry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -999,12 +999,12 @@ CREATE TABLE `game_event_arena_seasons` ( DROP TABLE IF EXISTS `game_event_battleground_holiday`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_battleground_holiday` ( - `EventEntry` tinyint(3) unsigned NOT NULL COMMENT 'game_event EventEntry identifier', - `BattlegroundID` int(3) unsigned NOT NULL DEFAULT '0', + `EventEntry` tinyint unsigned NOT NULL COMMENT 'game_event EventEntry identifier', + `BattlegroundID` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`EventEntry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1013,16 +1013,16 @@ CREATE TABLE `game_event_battleground_holiday` ( DROP TABLE IF EXISTS `game_event_condition`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_condition` ( - `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', - `condition_id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `eventEntry` tinyint unsigned NOT NULL COMMENT 'Entry of the game event', + `condition_id` int unsigned NOT NULL DEFAULT '0', `req_num` float DEFAULT '0', - `max_world_state_field` smallint(5) unsigned NOT NULL DEFAULT '0', - `done_world_state_field` smallint(5) unsigned NOT NULL DEFAULT '0', - `description` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL, + `max_world_state_field` smallint unsigned NOT NULL DEFAULT '0', + `done_world_state_field` smallint unsigned NOT NULL DEFAULT '0', + `description` varchar(25) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`eventEntry`,`condition_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1031,12 +1031,12 @@ CREATE TABLE `game_event_condition` ( DROP TABLE IF EXISTS `game_event_creature`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_creature` ( - `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.', - `guid` int(10) unsigned NOT NULL, + `eventEntry` tinyint NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.', + `guid` int unsigned NOT NULL, PRIMARY KEY (`guid`,`eventEntry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1045,13 +1045,13 @@ CREATE TABLE `game_event_creature` ( DROP TABLE IF EXISTS `game_event_creature_quest`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_creature_quest` ( - `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event.', - `id` mediumint(8) unsigned NOT NULL DEFAULT '0', - `quest` mediumint(8) unsigned NOT NULL DEFAULT '0', + `eventEntry` tinyint unsigned NOT NULL COMMENT 'Entry of the game event.', + `id` int unsigned NOT NULL DEFAULT '0', + `quest` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`,`quest`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1060,12 +1060,12 @@ CREATE TABLE `game_event_creature_quest` ( DROP TABLE IF EXISTS `game_event_gameobject`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_gameobject` ( - `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.', - `guid` int(10) unsigned NOT NULL, + `eventEntry` tinyint NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.', + `guid` int unsigned NOT NULL, PRIMARY KEY (`guid`,`eventEntry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1074,13 +1074,13 @@ CREATE TABLE `game_event_gameobject` ( DROP TABLE IF EXISTS `game_event_gameobject_quest`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_gameobject_quest` ( - `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', - `id` mediumint(8) unsigned NOT NULL DEFAULT '0', - `quest` mediumint(8) unsigned NOT NULL DEFAULT '0', + `eventEntry` tinyint unsigned NOT NULL COMMENT 'Entry of the game event', + `id` int unsigned NOT NULL DEFAULT '0', + `quest` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`,`quest`,`eventEntry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1089,14 +1089,14 @@ CREATE TABLE `game_event_gameobject_quest` ( DROP TABLE IF EXISTS `game_event_model_equip`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_model_equip` ( - `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event.', - `guid` int(10) unsigned NOT NULL DEFAULT '0', - `modelid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `equipment_id` tinyint(3) unsigned NOT NULL DEFAULT '0', + `eventEntry` tinyint NOT NULL COMMENT 'Entry of the game event.', + `guid` int unsigned NOT NULL DEFAULT '0', + `modelid` int unsigned NOT NULL DEFAULT '0', + `equipment_id` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1105,19 +1105,19 @@ CREATE TABLE `game_event_model_equip` ( DROP TABLE IF EXISTS `game_event_npc_vendor`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_npc_vendor` ( - `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event.', - `guid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `slot` smallint(6) NOT NULL DEFAULT '0', - `item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `maxcount` mediumint(8) unsigned NOT NULL DEFAULT '0', - `incrtime` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ExtendedCost` mediumint(8) unsigned NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL DEFAULT '1', + `eventEntry` tinyint NOT NULL COMMENT 'Entry of the game event.', + `guid` int unsigned NOT NULL DEFAULT '0', + `slot` smallint NOT NULL DEFAULT '0', + `item` int unsigned NOT NULL DEFAULT '0', + `maxcount` int unsigned NOT NULL DEFAULT '0', + `incrtime` int unsigned NOT NULL DEFAULT '0', + `ExtendedCost` int unsigned NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`guid`,`item`,`ExtendedCost`,`type`), KEY `slot` (`slot`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1126,13 +1126,13 @@ CREATE TABLE `game_event_npc_vendor` ( DROP TABLE IF EXISTS `game_event_npcflag`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_npcflag` ( - `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', - `guid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `npcflag` int(10) unsigned NOT NULL DEFAULT '0', + `eventEntry` tinyint unsigned NOT NULL COMMENT 'Entry of the game event', + `guid` int unsigned NOT NULL DEFAULT '0', + `npcflag` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`eventEntry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1141,12 +1141,12 @@ CREATE TABLE `game_event_npcflag` ( DROP TABLE IF EXISTS `game_event_pool`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_pool` ( - `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.', - `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Id of the pool', + `eventEntry` tinyint NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.', + `pool_entry` int unsigned NOT NULL DEFAULT '0' COMMENT 'Id of the pool', PRIMARY KEY (`pool_entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1155,12 +1155,12 @@ CREATE TABLE `game_event_pool` ( DROP TABLE IF EXISTS `game_event_prerequisite`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_prerequisite` ( - `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', - `prerequisite_event` mediumint(8) unsigned NOT NULL, + `eventEntry` tinyint unsigned NOT NULL COMMENT 'Entry of the game event', + `prerequisite_event` int unsigned NOT NULL, PRIMARY KEY (`eventEntry`,`prerequisite_event`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1169,14 +1169,14 @@ CREATE TABLE `game_event_prerequisite` ( DROP TABLE IF EXISTS `game_event_quest_condition`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_quest_condition` ( - `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event.', - `quest` mediumint(8) unsigned NOT NULL DEFAULT '0', - `condition_id` mediumint(8) unsigned NOT NULL DEFAULT '0', + `eventEntry` tinyint unsigned NOT NULL COMMENT 'Entry of the game event.', + `quest` int unsigned NOT NULL DEFAULT '0', + `condition_id` int unsigned NOT NULL DEFAULT '0', `num` float DEFAULT '0', PRIMARY KEY (`quest`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1185,13 +1185,13 @@ CREATE TABLE `game_event_quest_condition` ( DROP TABLE IF EXISTS `game_event_seasonal_questrelation`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_event_seasonal_questrelation` ( - `questId` int(10) unsigned NOT NULL COMMENT 'Quest Identifier', - `eventEntry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Entry of the game event', + `questId` int unsigned NOT NULL COMMENT 'Quest Identifier', + `eventEntry` int unsigned NOT NULL DEFAULT '0' COMMENT 'Entry of the game event', PRIMARY KEY (`questId`,`eventEntry`), KEY `idx_quest` (`questId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1200,17 +1200,17 @@ CREATE TABLE `game_event_seasonal_questrelation` ( DROP TABLE IF EXISTS `game_tele`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_tele` ( - `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + `id` int unsigned NOT NULL AUTO_INCREMENT, `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', `orientation` float NOT NULL DEFAULT '0', - `map` smallint(5) unsigned NOT NULL DEFAULT '0', - `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, + `map` smallint unsigned NOT NULL DEFAULT '0', + `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=1533 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Tele Command'; +) ENGINE=InnoDB AUTO_INCREMENT=1533 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Tele Command'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1219,24 +1219,24 @@ CREATE TABLE `game_tele` ( DROP TABLE IF EXISTS `game_weather`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `game_weather` ( - `zone` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spring_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', - `spring_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', - `spring_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', - `summer_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', - `summer_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', - `summer_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', - `fall_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', - `fall_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', - `fall_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', - `winter_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', - `winter_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', - `winter_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT '25', - `ScriptName` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `zone` int unsigned NOT NULL DEFAULT '0', + `spring_rain_chance` tinyint unsigned NOT NULL DEFAULT '25', + `spring_snow_chance` tinyint unsigned NOT NULL DEFAULT '25', + `spring_storm_chance` tinyint unsigned NOT NULL DEFAULT '25', + `summer_rain_chance` tinyint unsigned NOT NULL DEFAULT '25', + `summer_snow_chance` tinyint unsigned NOT NULL DEFAULT '25', + `summer_storm_chance` tinyint unsigned NOT NULL DEFAULT '25', + `fall_rain_chance` tinyint unsigned NOT NULL DEFAULT '25', + `fall_snow_chance` tinyint unsigned NOT NULL DEFAULT '25', + `fall_storm_chance` tinyint unsigned NOT NULL DEFAULT '25', + `winter_rain_chance` tinyint unsigned NOT NULL DEFAULT '25', + `winter_snow_chance` tinyint unsigned NOT NULL DEFAULT '25', + `winter_storm_chance` tinyint unsigned NOT NULL DEFAULT '25', + `ScriptName` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`zone`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Weather System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Weather System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1245,19 +1245,19 @@ CREATE TABLE `game_weather` ( DROP TABLE IF EXISTS `gameobject`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gameobject` ( - `guid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Global Unique Identifier', - `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Gameobject Identifier', - `map` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', - `zoneId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Zone Identifier', - `areaId` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Area Identifier', - `spawnMask` tinyint(3) unsigned NOT NULL DEFAULT '1', - `phaseUseFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `phaseMask` int(10) unsigned NOT NULL DEFAULT '1', - `PhaseId` int(10) DEFAULT '0', - `PhaseGroup` int(10) DEFAULT '0', - `terrainSwapMap` int(11) NOT NULL DEFAULT '-1', + `guid` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Global Unique Identifier', + `id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Gameobject Identifier', + `map` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', + `zoneId` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Zone Identifier', + `areaId` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Area Identifier', + `spawnMask` tinyint unsigned NOT NULL DEFAULT '1', + `phaseUseFlags` tinyint unsigned NOT NULL DEFAULT '0', + `phaseMask` int unsigned NOT NULL DEFAULT '1', + `PhaseId` int DEFAULT '0', + `PhaseGroup` int DEFAULT '0', + `terrainSwapMap` int NOT NULL DEFAULT '-1', `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', @@ -1266,13 +1266,13 @@ CREATE TABLE `gameobject` ( `rotation1` float NOT NULL DEFAULT '0', `rotation2` float NOT NULL DEFAULT '0', `rotation3` float NOT NULL DEFAULT '0', - `spawntimesecs` int(11) NOT NULL DEFAULT '0', - `animprogress` tinyint(3) unsigned NOT NULL DEFAULT '0', - `state` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ScriptName` char(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `VerifiedBuild` smallint(5) DEFAULT '0', + `spawntimesecs` int NOT NULL DEFAULT '0', + `animprogress` tinyint unsigned NOT NULL DEFAULT '0', + `state` tinyint unsigned NOT NULL DEFAULT '0', + `ScriptName` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`guid`) -) ENGINE=MyISAM AUTO_INCREMENT=255094 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Gameobject System'; +) ENGINE=InnoDB AUTO_INCREMENT=255094 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Gameobject System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1281,17 +1281,17 @@ CREATE TABLE `gameobject` ( DROP TABLE IF EXISTS `gameobject_addon`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gameobject_addon` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0', `parent_rotation0` float NOT NULL DEFAULT '0', `parent_rotation1` float NOT NULL DEFAULT '0', `parent_rotation2` float NOT NULL DEFAULT '0', `parent_rotation3` float NOT NULL DEFAULT '1', - `invisibilityType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `invisibilityValue` int(10) unsigned NOT NULL DEFAULT '0', + `invisibilityType` tinyint unsigned NOT NULL DEFAULT '0', + `invisibilityValue` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1300,21 +1300,21 @@ CREATE TABLE `gameobject_addon` ( DROP TABLE IF EXISTS `gameobject_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gameobject_loot_template` ( - `Entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Reference` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Entry` int unsigned NOT NULL DEFAULT '0', + `Item` int unsigned NOT NULL DEFAULT '0', + `Reference` int unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` tinyint(1) NOT NULL DEFAULT '0', `IsCurrency` tinyint(1) NOT NULL DEFAULT '0', - `LootMode` smallint(5) unsigned NOT NULL DEFAULT '1', - `GroupId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `LootMode` smallint unsigned NOT NULL DEFAULT '1', + `GroupId` tinyint unsigned NOT NULL DEFAULT '0', + `MinCount` tinyint unsigned NOT NULL DEFAULT '1', + `MaxCount` tinyint unsigned NOT NULL DEFAULT '1', + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1323,12 +1323,12 @@ CREATE TABLE `gameobject_loot_template` ( DROP TABLE IF EXISTS `gameobject_questender`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gameobject_questender` ( - `id` mediumint(8) unsigned NOT NULL DEFAULT '0', - `quest` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + `id` int unsigned NOT NULL DEFAULT '0', + `quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`id`,`quest`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1337,14 +1337,14 @@ CREATE TABLE `gameobject_questender` ( DROP TABLE IF EXISTS `gameobject_questitem`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gameobject_questitem` ( - `GameObjectEntry` int(10) unsigned NOT NULL DEFAULT '0', - `Idx` int(10) unsigned NOT NULL DEFAULT '0', - `ItemId` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `GameObjectEntry` int unsigned NOT NULL DEFAULT '0', + `Idx` int unsigned NOT NULL DEFAULT '0', + `ItemId` int unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`GameObjectEntry`,`Idx`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1353,12 +1353,12 @@ CREATE TABLE `gameobject_questitem` ( DROP TABLE IF EXISTS `gameobject_queststarter`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gameobject_queststarter` ( - `id` mediumint(8) unsigned NOT NULL DEFAULT '0', - `quest` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', + `id` int unsigned NOT NULL DEFAULT '0', + `quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`id`,`quest`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1367,55 +1367,55 @@ CREATE TABLE `gameobject_queststarter` ( DROP TABLE IF EXISTS `gameobject_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gameobject_template` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `displayId` mediumint(8) unsigned NOT NULL DEFAULT '0', - `name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, - `IconName` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, - `castBarCaption` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, - `unk1` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, + `entry` int unsigned NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL DEFAULT '0', + `displayId` int unsigned NOT NULL DEFAULT '0', + `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `IconName` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `castBarCaption` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `unk1` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, `size` float NOT NULL DEFAULT '1', - `Data0` int(10) unsigned NOT NULL DEFAULT '0', - `Data1` int(11) NOT NULL DEFAULT '0', - `Data2` int(10) unsigned NOT NULL DEFAULT '0', - `Data3` int(10) unsigned NOT NULL DEFAULT '0', - `Data4` int(10) unsigned NOT NULL DEFAULT '0', - `Data5` int(10) unsigned NOT NULL DEFAULT '0', - `Data6` int(11) NOT NULL DEFAULT '0', - `Data7` int(10) unsigned NOT NULL DEFAULT '0', - `Data8` int(10) unsigned NOT NULL DEFAULT '0', - `Data9` int(10) unsigned NOT NULL DEFAULT '0', - `Data10` int(10) unsigned NOT NULL DEFAULT '0', - `Data11` int(10) unsigned NOT NULL DEFAULT '0', - `Data12` int(10) unsigned NOT NULL DEFAULT '0', - `Data13` int(10) unsigned NOT NULL DEFAULT '0', - `Data14` int(10) unsigned NOT NULL DEFAULT '0', - `Data15` int(10) unsigned NOT NULL DEFAULT '0', - `Data16` int(10) unsigned NOT NULL DEFAULT '0', - `Data17` int(10) unsigned NOT NULL DEFAULT '0', - `Data18` int(10) unsigned NOT NULL DEFAULT '0', - `Data19` int(10) unsigned NOT NULL DEFAULT '0', - `Data20` int(10) unsigned NOT NULL DEFAULT '0', - `Data21` int(10) unsigned NOT NULL DEFAULT '0', - `Data22` int(10) unsigned NOT NULL DEFAULT '0', - `Data23` int(10) unsigned NOT NULL DEFAULT '0', - `Data24` int(10) unsigned NOT NULL DEFAULT '0', - `Data25` int(10) unsigned NOT NULL DEFAULT '0', - `Data26` int(10) unsigned NOT NULL DEFAULT '0', - `Data27` int(10) unsigned NOT NULL DEFAULT '0', - `Data28` int(10) unsigned NOT NULL DEFAULT '0', - `Data29` int(10) unsigned NOT NULL DEFAULT '0', - `Data30` int(10) unsigned NOT NULL DEFAULT '0', - `Data31` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredLevel` int(10) NOT NULL DEFAULT '0', - `AIName` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, - `ScriptName` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, - `VerifiedBuild` smallint(5) DEFAULT '0', + `Data0` int unsigned NOT NULL DEFAULT '0', + `Data1` int NOT NULL DEFAULT '0', + `Data2` int unsigned NOT NULL DEFAULT '0', + `Data3` int unsigned NOT NULL DEFAULT '0', + `Data4` int unsigned NOT NULL DEFAULT '0', + `Data5` int unsigned NOT NULL DEFAULT '0', + `Data6` int NOT NULL DEFAULT '0', + `Data7` int unsigned NOT NULL DEFAULT '0', + `Data8` int unsigned NOT NULL DEFAULT '0', + `Data9` int unsigned NOT NULL DEFAULT '0', + `Data10` int unsigned NOT NULL DEFAULT '0', + `Data11` int unsigned NOT NULL DEFAULT '0', + `Data12` int unsigned NOT NULL DEFAULT '0', + `Data13` int unsigned NOT NULL DEFAULT '0', + `Data14` int unsigned NOT NULL DEFAULT '0', + `Data15` int unsigned NOT NULL DEFAULT '0', + `Data16` int unsigned NOT NULL DEFAULT '0', + `Data17` int unsigned NOT NULL DEFAULT '0', + `Data18` int unsigned NOT NULL DEFAULT '0', + `Data19` int unsigned NOT NULL DEFAULT '0', + `Data20` int unsigned NOT NULL DEFAULT '0', + `Data21` int unsigned NOT NULL DEFAULT '0', + `Data22` int unsigned NOT NULL DEFAULT '0', + `Data23` int unsigned NOT NULL DEFAULT '0', + `Data24` int unsigned NOT NULL DEFAULT '0', + `Data25` int unsigned NOT NULL DEFAULT '0', + `Data26` int unsigned NOT NULL DEFAULT '0', + `Data27` int unsigned NOT NULL DEFAULT '0', + `Data28` int unsigned NOT NULL DEFAULT '0', + `Data29` int unsigned NOT NULL DEFAULT '0', + `Data30` int unsigned NOT NULL DEFAULT '0', + `Data31` int unsigned NOT NULL DEFAULT '0', + `RequiredLevel` int NOT NULL DEFAULT '0', + `AIName` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `ScriptName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`entry`), KEY `idx_name` (`name`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Gameobject System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Gameobject System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1424,20 +1424,20 @@ CREATE TABLE `gameobject_template` ( DROP TABLE IF EXISTS `gameobject_template_addon`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gameobject_template_addon` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `faction` smallint(5) unsigned NOT NULL DEFAULT '0', - `flags` int(10) unsigned NOT NULL DEFAULT '0', - `mingold` int(9) unsigned NOT NULL DEFAULT '0', - `maxgold` int(9) unsigned NOT NULL DEFAULT '0', - `artkit0` int(11) NOT NULL DEFAULT '0', - `artkit1` int(11) NOT NULL DEFAULT '0', - `artkit2` int(11) NOT NULL DEFAULT '0', - `artkit3` int(11) NOT NULL DEFAULT '0', - `artkit4` int(11) NOT NULL DEFAULT '0', + `entry` int unsigned NOT NULL DEFAULT '0', + `faction` smallint unsigned NOT NULL DEFAULT '0', + `flags` int unsigned NOT NULL DEFAULT '0', + `mingold` int unsigned NOT NULL DEFAULT '0', + `maxgold` int unsigned NOT NULL DEFAULT '0', + `artkit0` int NOT NULL DEFAULT '0', + `artkit1` int NOT NULL DEFAULT '0', + `artkit2` int NOT NULL DEFAULT '0', + `artkit3` int NOT NULL DEFAULT '0', + `artkit4` int NOT NULL DEFAULT '0', PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1446,15 +1446,15 @@ CREATE TABLE `gameobject_template_addon` ( DROP TABLE IF EXISTS `gameobject_template_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gameobject_template_locale` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, - `name` text COLLATE utf8mb4_unicode_ci, - `castBarCaption` text COLLATE utf8mb4_unicode_ci, - `VerifiedBuild` smallint(5) DEFAULT '0', + `entry` int unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `castBarCaption` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`entry`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1463,13 +1463,13 @@ CREATE TABLE `gameobject_template_locale` ( DROP TABLE IF EXISTS `gossip_menu`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gossip_menu` ( - `MenuID` int(11) unsigned NOT NULL DEFAULT '0', - `TextID` int(11) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `MenuID` int unsigned NOT NULL DEFAULT '0', + `TextID` int unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`MenuID`,`TextID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1478,18 +1478,18 @@ CREATE TABLE `gossip_menu` ( DROP TABLE IF EXISTS `gossip_menu_option`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gossip_menu_option` ( - `MenuId` int(11) unsigned NOT NULL DEFAULT '0', - `OptionIndex` int(11) unsigned NOT NULL DEFAULT '0', - `OptionIcon` tinyint(3) unsigned NOT NULL DEFAULT '0', - `OptionText` text COLLATE utf8mb4_unicode_ci, - `OptionBroadcastTextId` int(11) unsigned NOT NULL DEFAULT '0', - `OptionType` int(11) unsigned NOT NULL DEFAULT '0', - `OptionNpcflag` bigint(20) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `MenuId` int unsigned NOT NULL DEFAULT '0', + `OptionIndex` int unsigned NOT NULL DEFAULT '0', + `OptionIcon` tinyint unsigned NOT NULL DEFAULT '0', + `OptionText` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `OptionBroadcastTextId` int unsigned NOT NULL DEFAULT '0', + `OptionType` int unsigned NOT NULL DEFAULT '0', + `OptionNpcflag` bigint unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`MenuId`,`OptionIndex`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1498,14 +1498,14 @@ CREATE TABLE `gossip_menu_option` ( DROP TABLE IF EXISTS `gossip_menu_option_action`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gossip_menu_option_action` ( - `MenuId` int(11) unsigned NOT NULL DEFAULT '0', - `OptionIndex` int(11) unsigned NOT NULL DEFAULT '0', - `ActionMenuId` int(11) unsigned NOT NULL DEFAULT '0', - `ActionPoiId` int(11) unsigned NOT NULL DEFAULT '0', + `MenuId` int unsigned NOT NULL DEFAULT '0', + `OptionIndex` int unsigned NOT NULL DEFAULT '0', + `ActionMenuId` int unsigned NOT NULL DEFAULT '0', + `ActionPoiId` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`MenuId`,`OptionIndex`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1514,16 +1514,16 @@ CREATE TABLE `gossip_menu_option_action` ( DROP TABLE IF EXISTS `gossip_menu_option_box`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gossip_menu_option_box` ( - `MenuId` int(11) unsigned NOT NULL DEFAULT '0', - `OptionIndex` int(11) unsigned NOT NULL DEFAULT '0', - `BoxCoded` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BoxMoney` int(11) unsigned NOT NULL DEFAULT '0', - `BoxText` text COLLATE utf8mb4_unicode_ci, - `BoxBroadcastTextId` int(11) unsigned NOT NULL DEFAULT '0', + `MenuId` int unsigned NOT NULL DEFAULT '0', + `OptionIndex` int unsigned NOT NULL DEFAULT '0', + `BoxCoded` tinyint unsigned NOT NULL DEFAULT '0', + `BoxMoney` int unsigned NOT NULL DEFAULT '0', + `BoxText` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `BoxBroadcastTextId` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`MenuId`,`OptionIndex`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1532,15 +1532,15 @@ CREATE TABLE `gossip_menu_option_box` ( DROP TABLE IF EXISTS `gossip_menu_option_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gossip_menu_option_locale` ( - `MenuID` int(11) unsigned NOT NULL DEFAULT '0', - `OptionID` int(11) unsigned NOT NULL DEFAULT '0', - `Locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, - `OptionText` text COLLATE utf8mb4_unicode_ci, - `BoxText` text COLLATE utf8mb4_unicode_ci, + `MenuID` int unsigned NOT NULL DEFAULT '0', + `OptionID` int unsigned NOT NULL DEFAULT '0', + `Locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `OptionText` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `BoxText` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`MenuID`,`OptionID`,`Locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1549,12 +1549,12 @@ CREATE TABLE `gossip_menu_option_locale` ( DROP TABLE IF EXISTS `graveyard_orientation`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `graveyard_orientation` ( - `Id` int(10) unsigned NOT NULL DEFAULT '0', + `Id` int unsigned NOT NULL DEFAULT '0', `Orientation` float NOT NULL DEFAULT '0', PRIMARY KEY (`Id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Orientations used by graveyards'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Orientations used by graveyards'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1563,14 +1563,14 @@ CREATE TABLE `graveyard_orientation` ( DROP TABLE IF EXISTS `graveyard_zone`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `graveyard_zone` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `GhostZone` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Faction` smallint(5) unsigned NOT NULL DEFAULT '0', - `Comment` text COLLATE utf8mb4_unicode_ci, + `ID` int unsigned NOT NULL DEFAULT '0', + `GhostZone` int unsigned NOT NULL DEFAULT '0', + `Faction` smallint unsigned NOT NULL DEFAULT '0', + `Comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`ID`,`GhostZone`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Trigger System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Trigger System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1579,13 +1579,13 @@ CREATE TABLE `graveyard_zone` ( DROP TABLE IF EXISTS `guild_challenges`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_challenges` ( - `ChallengeType` mediumint(1) unsigned NOT NULL DEFAULT '0', - `ChallengeCount` mediumint(5) unsigned DEFAULT '1', - `Experience` mediumint(10) unsigned DEFAULT '0', - `Gold` mediumint(10) unsigned DEFAULT '0', - `GoldMaxLevel` mediumint(10) unsigned DEFAULT '0', + `ChallengeType` int unsigned NOT NULL DEFAULT '0', + `ChallengeCount` int unsigned DEFAULT '1', + `Experience` int unsigned DEFAULT '0', + `Gold` int unsigned DEFAULT '0', + `GoldMaxLevel` int unsigned DEFAULT '0', PRIMARY KEY (`ChallengeType`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1596,15 +1596,15 @@ CREATE TABLE `guild_challenges` ( DROP TABLE IF EXISTS `guild_rewards`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_rewards` ( - `entry` int(10) unsigned NOT NULL DEFAULT '0', - `standing` tinyint(3) unsigned DEFAULT '0', - `racemask` int(11) DEFAULT '0', - `price` bigint(20) unsigned DEFAULT '0', - `achievement` int(10) unsigned DEFAULT '0', + `entry` int unsigned NOT NULL DEFAULT '0', + `standing` tinyint unsigned DEFAULT '0', + `racemask` int DEFAULT '0', + `price` bigint unsigned DEFAULT '0', + `achievement` int unsigned DEFAULT '0', PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1613,12 +1613,12 @@ CREATE TABLE `guild_rewards` ( DROP TABLE IF EXISTS `guild_xp_for_level`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_xp_for_level` ( - `lvl` tinyint(3) unsigned NOT NULL, - `xp_for_next_level` int(10) unsigned NOT NULL, + `lvl` tinyint unsigned NOT NULL, + `xp_for_next_level` int unsigned NOT NULL, PRIMARY KEY (`lvl`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1627,12 +1627,12 @@ CREATE TABLE `guild_xp_for_level` ( DROP TABLE IF EXISTS `holiday_dates`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `holiday_dates` ( - `id` int(10) unsigned NOT NULL, - `date_id` tinyint(3) unsigned NOT NULL, - `date_value` int(10) unsigned NOT NULL, - `holiday_duration` int(10) unsigned NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL, + `date_id` tinyint unsigned NOT NULL, + `date_value` int unsigned NOT NULL, + `holiday_duration` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`,`date_id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1643,15 +1643,15 @@ CREATE TABLE `holiday_dates` ( DROP TABLE IF EXISTS `instance_encounters`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `instance_encounters` ( - `entry` int(10) unsigned NOT NULL COMMENT 'Unique entry from DungeonEncounter.dbc', - `creditType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `creditEntry` int(10) unsigned NOT NULL DEFAULT '0', - `lastEncounterDungeon` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'If not 0, LfgDungeon.dbc entry for the instance it is last encounter in', - `comment` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, + `entry` int unsigned NOT NULL COMMENT 'Unique entry from DungeonEncounter.dbc', + `creditType` tinyint unsigned NOT NULL DEFAULT '0', + `creditEntry` int unsigned NOT NULL DEFAULT '0', + `lastEncounterDungeon` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'If not 0, LfgDungeon.dbc entry for the instance it is last encounter in', + `comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1660,15 +1660,15 @@ CREATE TABLE `instance_encounters` ( DROP TABLE IF EXISTS `instance_spawn_groups`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `instance_spawn_groups` ( - `instanceMapId` smallint(5) unsigned NOT NULL, - `bossStateId` tinyint(3) unsigned NOT NULL, - `bossStates` tinyint(3) unsigned NOT NULL, - `spawnGroupId` int(10) unsigned NOT NULL, - `flags` tinyint(3) unsigned NOT NULL, + `instanceMapId` smallint unsigned NOT NULL, + `bossStateId` tinyint unsigned NOT NULL, + `bossStates` tinyint unsigned NOT NULL, + `spawnGroupId` int unsigned NOT NULL, + `flags` tinyint unsigned NOT NULL, PRIMARY KEY (`instanceMapId`,`bossStateId`,`spawnGroupId`,`bossStates`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1677,14 +1677,14 @@ CREATE TABLE `instance_spawn_groups` ( DROP TABLE IF EXISTS `instance_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `instance_template` ( - `map` smallint(5) unsigned NOT NULL, - `parent` smallint(5) unsigned NOT NULL, - `script` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL, - `allowMount` tinyint(3) unsigned NOT NULL DEFAULT '0', + `map` smallint unsigned NOT NULL, + `parent` smallint unsigned NOT NULL, + `script` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `allowMount` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`map`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1693,14 +1693,14 @@ CREATE TABLE `instance_template` ( DROP TABLE IF EXISTS `item_enchantment_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_enchantment_template` ( - `entry` int(10) unsigned NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL, - `ench` int(10) unsigned NOT NULL DEFAULT '0', - `chance` float unsigned NOT NULL DEFAULT '0', + `entry` int unsigned NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL, + `ench` int unsigned NOT NULL DEFAULT '0', + `chance` float NOT NULL DEFAULT '0', PRIMARY KEY (`entry`,`type`,`ench`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item Random Enchantment System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Item Random Enchantment System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1709,21 +1709,21 @@ CREATE TABLE `item_enchantment_template` ( DROP TABLE IF EXISTS `item_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_loot_template` ( - `Entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Reference` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Entry` int unsigned NOT NULL DEFAULT '0', + `Item` int unsigned NOT NULL DEFAULT '0', + `Reference` int unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` tinyint(1) NOT NULL DEFAULT '0', `IsCurrency` tinyint(1) NOT NULL DEFAULT '0', - `LootMode` smallint(5) unsigned NOT NULL DEFAULT '1', - `GroupId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `LootMode` smallint unsigned NOT NULL DEFAULT '1', + `GroupId` tinyint unsigned NOT NULL DEFAULT '0', + `MinCount` tinyint unsigned NOT NULL DEFAULT '1', + `MaxCount` tinyint unsigned NOT NULL DEFAULT '1', + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1732,12 +1732,12 @@ CREATE TABLE `item_loot_template` ( DROP TABLE IF EXISTS `item_script_names`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_script_names` ( - `Id` int(10) unsigned NOT NULL, - `ScriptName` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `Id` int unsigned NOT NULL, + `ScriptName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`Id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1746,16 +1746,16 @@ CREATE TABLE `item_script_names` ( DROP TABLE IF EXISTS `item_template_addon`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_template_addon` ( - `Id` int(10) unsigned NOT NULL, - `FlagsCu` int(10) unsigned NOT NULL DEFAULT '0', - `FoodType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinMoneyLoot` int(10) unsigned NOT NULL DEFAULT '0', - `MaxMoneyLoot` int(10) unsigned NOT NULL DEFAULT '0', - `SpellPPMChance` float unsigned NOT NULL DEFAULT '0', + `Id` int unsigned NOT NULL, + `FlagsCu` int unsigned NOT NULL DEFAULT '0', + `FoodType` tinyint unsigned NOT NULL DEFAULT '0', + `MinMoneyLoot` int unsigned NOT NULL DEFAULT '0', + `MaxMoneyLoot` int unsigned NOT NULL DEFAULT '0', + `SpellPPMChance` float NOT NULL DEFAULT '0', PRIMARY KEY (`Id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1764,17 +1764,17 @@ CREATE TABLE `item_template_addon` ( DROP TABLE IF EXISTS `lfg_dungeon_rewards`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `lfg_dungeon_rewards` ( - `dungeonId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Dungeon entry from dbc', - `maxLevel` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Max level at which this reward is rewarded', - `firstQuestId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest id with rewards for first dungeon this day', - `otherQuestId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Quest id with rewards for Nth dungeon this day', - `shortageQuestId` int(10) unsigned DEFAULT '0' COMMENT 'Quest ID with rewards for joining a random dungeon queue while the role is short on supply', - `completionsPerPeriod` tinyint(3) unsigned DEFAULT '0' COMMENT 'Maximum amount that the first quest may be rewarded', - `dailyReset` tinyint(1) unsigned DEFAULT '0' COMMENT 'Indicator for resetting rewards daily or weekly', + `dungeonId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Dungeon entry from dbc', + `maxLevel` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Max level at which this reward is rewarded', + `firstQuestId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest id with rewards for first dungeon this day', + `otherQuestId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest id with rewards for Nth dungeon this day', + `shortageQuestId` int unsigned DEFAULT '0' COMMENT 'Quest ID with rewards for joining a random dungeon queue while the role is short on supply', + `completionsPerPeriod` tinyint unsigned DEFAULT '0' COMMENT 'Maximum amount that the first quest may be rewarded', + `dailyReset` tinyint unsigned DEFAULT '0' COMMENT 'Indicator for resetting rewards daily or weekly', PRIMARY KEY (`dungeonId`,`maxLevel`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1783,18 +1783,18 @@ CREATE TABLE `lfg_dungeon_rewards` ( DROP TABLE IF EXISTS `lfg_dungeon_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `lfg_dungeon_template` ( - `dungeonId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Unique id from LFGDungeons.dbc', - `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `dungeonId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Unique id from LFGDungeons.dbc', + `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', `orientation` float NOT NULL DEFAULT '0', - `requiredItemLevel` smallint(5) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `requiredItemLevel` smallint NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`dungeonId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1803,13 +1803,13 @@ CREATE TABLE `lfg_dungeon_template` ( DROP TABLE IF EXISTS `linked_respawn`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `linked_respawn` ( - `guid` int(10) unsigned NOT NULL COMMENT 'dependent creature', - `linkedGuid` int(10) unsigned NOT NULL COMMENT 'master creature', - `linkType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL COMMENT 'dependent creature', + `linkedGuid` int unsigned NOT NULL COMMENT 'master creature', + `linkType` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`linkType`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='Creature Respawn Link System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Creature Respawn Link System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1818,14 +1818,14 @@ CREATE TABLE `linked_respawn` ( DROP TABLE IF EXISTS `mail_level_reward`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `mail_level_reward` ( - `level` tinyint(3) unsigned NOT NULL DEFAULT '0', - `raceMask` mediumint(8) unsigned NOT NULL DEFAULT '0', - `mailTemplateId` mediumint(8) unsigned NOT NULL DEFAULT '0', - `senderEntry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `level` tinyint unsigned NOT NULL DEFAULT '0', + `raceMask` int unsigned NOT NULL DEFAULT '0', + `mailTemplateId` int unsigned NOT NULL DEFAULT '0', + `senderEntry` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`level`,`raceMask`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Mail System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Mail System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1834,21 +1834,21 @@ CREATE TABLE `mail_level_reward` ( DROP TABLE IF EXISTS `mail_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `mail_loot_template` ( - `Entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Reference` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Entry` int unsigned NOT NULL DEFAULT '0', + `Item` int unsigned NOT NULL DEFAULT '0', + `Reference` int unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` tinyint(1) NOT NULL DEFAULT '0', `IsCurrency` tinyint(1) NOT NULL DEFAULT '0', - `LootMode` smallint(5) unsigned NOT NULL DEFAULT '1', - `GroupId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `LootMode` smallint unsigned NOT NULL DEFAULT '1', + `GroupId` tinyint unsigned NOT NULL DEFAULT '0', + `MinCount` tinyint unsigned NOT NULL DEFAULT '1', + `MaxCount` tinyint unsigned NOT NULL DEFAULT '1', + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1857,21 +1857,21 @@ CREATE TABLE `mail_loot_template` ( DROP TABLE IF EXISTS `milling_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `milling_loot_template` ( - `Entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Reference` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Entry` int unsigned NOT NULL DEFAULT '0', + `Item` int unsigned NOT NULL DEFAULT '0', + `Reference` int unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` tinyint(1) NOT NULL DEFAULT '0', `IsCurrency` tinyint(1) NOT NULL DEFAULT '0', - `LootMode` smallint(5) unsigned NOT NULL DEFAULT '1', - `GroupId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `LootMode` smallint unsigned NOT NULL DEFAULT '1', + `GroupId` tinyint unsigned NOT NULL DEFAULT '0', + `MinCount` tinyint unsigned NOT NULL DEFAULT '1', + `MaxCount` tinyint unsigned NOT NULL DEFAULT '1', + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1880,14 +1880,14 @@ CREATE TABLE `milling_loot_template` ( DROP TABLE IF EXISTS `npc_spellclick_spells`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `npc_spellclick_spells` ( - `npc_entry` int(10) unsigned NOT NULL COMMENT 'reference to creature_template', - `spell_id` int(10) unsigned NOT NULL COMMENT 'spell which should be casted ', - `cast_flags` tinyint(3) unsigned NOT NULL COMMENT 'first bit defines caster: 1=player, 0=creature; second bit defines target, same mapping as caster bit', - `user_type` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'relation with summoner: 0-no 1-friendly 2-raid 3-party player can click', + `npc_entry` int unsigned NOT NULL COMMENT 'reference to creature_template', + `spell_id` int unsigned NOT NULL COMMENT 'spell which should be casted ', + `cast_flags` tinyint unsigned NOT NULL COMMENT 'first bit defines caster: 1=player, 0=creature; second bit defines target, same mapping as caster bit', + `user_type` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'relation with summoner: 0-no 1-friendly 2-raid 3-party player can click', PRIMARY KEY (`npc_entry`,`spell_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1896,100 +1896,100 @@ CREATE TABLE `npc_spellclick_spells` ( DROP TABLE IF EXISTS `npc_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `npc_text` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `text0_0` longtext COLLATE utf8mb4_unicode_ci, - `text0_1` longtext COLLATE utf8mb4_unicode_ci, - `BroadcastTextID0` mediumint(6) NOT NULL DEFAULT '0', - `lang0` tinyint(3) unsigned NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `text0_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `text0_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `BroadcastTextID0` int NOT NULL DEFAULT '0', + `lang0` tinyint unsigned NOT NULL DEFAULT '0', `Probability0` float NOT NULL DEFAULT '0', - `EmoteDelay0_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote0_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay0_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote0_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay0_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote0_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `text1_0` longtext COLLATE utf8mb4_unicode_ci, - `text1_1` longtext COLLATE utf8mb4_unicode_ci, - `BroadcastTextID1` mediumint(6) NOT NULL DEFAULT '0', - `lang1` tinyint(3) unsigned NOT NULL DEFAULT '0', + `EmoteDelay0_0` smallint unsigned NOT NULL DEFAULT '0', + `Emote0_0` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay0_1` smallint unsigned NOT NULL DEFAULT '0', + `Emote0_1` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay0_2` smallint unsigned NOT NULL DEFAULT '0', + `Emote0_2` smallint unsigned NOT NULL DEFAULT '0', + `text1_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `text1_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `BroadcastTextID1` int NOT NULL DEFAULT '0', + `lang1` tinyint unsigned NOT NULL DEFAULT '0', `Probability1` float NOT NULL DEFAULT '0', - `EmoteDelay1_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote1_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay1_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote1_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay1_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote1_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `text2_0` longtext COLLATE utf8mb4_unicode_ci, - `text2_1` longtext COLLATE utf8mb4_unicode_ci, - `BroadcastTextID2` mediumint(6) NOT NULL DEFAULT '0', - `lang2` tinyint(3) unsigned NOT NULL DEFAULT '0', + `EmoteDelay1_0` smallint unsigned NOT NULL DEFAULT '0', + `Emote1_0` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay1_1` smallint unsigned NOT NULL DEFAULT '0', + `Emote1_1` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay1_2` smallint unsigned NOT NULL DEFAULT '0', + `Emote1_2` smallint unsigned NOT NULL DEFAULT '0', + `text2_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `text2_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `BroadcastTextID2` int NOT NULL DEFAULT '0', + `lang2` tinyint unsigned NOT NULL DEFAULT '0', `Probability2` float NOT NULL DEFAULT '0', - `EmoteDelay2_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote2_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay2_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote2_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay2_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote2_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `text3_0` longtext COLLATE utf8mb4_unicode_ci, - `text3_1` longtext COLLATE utf8mb4_unicode_ci, - `BroadcastTextID3` mediumint(6) NOT NULL DEFAULT '0', - `lang3` tinyint(3) unsigned NOT NULL DEFAULT '0', + `EmoteDelay2_0` smallint unsigned NOT NULL DEFAULT '0', + `Emote2_0` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay2_1` smallint unsigned NOT NULL DEFAULT '0', + `Emote2_1` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay2_2` smallint unsigned NOT NULL DEFAULT '0', + `Emote2_2` smallint unsigned NOT NULL DEFAULT '0', + `text3_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `text3_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `BroadcastTextID3` int NOT NULL DEFAULT '0', + `lang3` tinyint unsigned NOT NULL DEFAULT '0', `Probability3` float NOT NULL DEFAULT '0', - `EmoteDelay3_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote3_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay3_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote3_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay3_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote3_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `text4_0` longtext COLLATE utf8mb4_unicode_ci, - `text4_1` longtext COLLATE utf8mb4_unicode_ci, - `BroadcastTextID4` mediumint(6) NOT NULL DEFAULT '0', - `lang4` tinyint(3) unsigned NOT NULL DEFAULT '0', + `EmoteDelay3_0` smallint unsigned NOT NULL DEFAULT '0', + `Emote3_0` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay3_1` smallint unsigned NOT NULL DEFAULT '0', + `Emote3_1` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay3_2` smallint unsigned NOT NULL DEFAULT '0', + `Emote3_2` smallint unsigned NOT NULL DEFAULT '0', + `text4_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `text4_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `BroadcastTextID4` int NOT NULL DEFAULT '0', + `lang4` tinyint unsigned NOT NULL DEFAULT '0', `Probability4` float NOT NULL DEFAULT '0', - `EmoteDelay4_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote4_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay4_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote4_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay4_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote4_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `text5_0` longtext COLLATE utf8mb4_unicode_ci, - `text5_1` longtext COLLATE utf8mb4_unicode_ci, - `BroadcastTextID5` mediumint(6) NOT NULL DEFAULT '0', - `lang5` tinyint(3) unsigned NOT NULL DEFAULT '0', + `EmoteDelay4_0` smallint unsigned NOT NULL DEFAULT '0', + `Emote4_0` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay4_1` smallint unsigned NOT NULL DEFAULT '0', + `Emote4_1` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay4_2` smallint unsigned NOT NULL DEFAULT '0', + `Emote4_2` smallint unsigned NOT NULL DEFAULT '0', + `text5_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `text5_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `BroadcastTextID5` int NOT NULL DEFAULT '0', + `lang5` tinyint unsigned NOT NULL DEFAULT '0', `Probability5` float NOT NULL DEFAULT '0', - `EmoteDelay5_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote5_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay5_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote5_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay5_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote5_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `text6_0` longtext COLLATE utf8mb4_unicode_ci, - `text6_1` longtext COLLATE utf8mb4_unicode_ci, - `BroadcastTextID6` mediumint(6) NOT NULL DEFAULT '0', - `lang6` tinyint(3) unsigned NOT NULL DEFAULT '0', + `EmoteDelay5_0` smallint unsigned NOT NULL DEFAULT '0', + `Emote5_0` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay5_1` smallint unsigned NOT NULL DEFAULT '0', + `Emote5_1` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay5_2` smallint unsigned NOT NULL DEFAULT '0', + `Emote5_2` smallint unsigned NOT NULL DEFAULT '0', + `text6_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `text6_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `BroadcastTextID6` int NOT NULL DEFAULT '0', + `lang6` tinyint unsigned NOT NULL DEFAULT '0', `Probability6` float NOT NULL DEFAULT '0', - `EmoteDelay6_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote6_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay6_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote6_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay6_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote6_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `text7_0` longtext COLLATE utf8mb4_unicode_ci, - `text7_1` longtext COLLATE utf8mb4_unicode_ci, - `BroadcastTextID7` mediumint(6) NOT NULL DEFAULT '0', - `lang7` tinyint(3) unsigned NOT NULL DEFAULT '0', + `EmoteDelay6_0` smallint unsigned NOT NULL DEFAULT '0', + `Emote6_0` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay6_1` smallint unsigned NOT NULL DEFAULT '0', + `Emote6_1` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay6_2` smallint unsigned NOT NULL DEFAULT '0', + `Emote6_2` smallint unsigned NOT NULL DEFAULT '0', + `text7_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `text7_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `BroadcastTextID7` int NOT NULL DEFAULT '0', + `lang7` tinyint unsigned NOT NULL DEFAULT '0', `Probability7` float NOT NULL DEFAULT '0', - `EmoteDelay7_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote7_0` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay7_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote7_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay7_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote7_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `EmoteDelay7_0` smallint unsigned NOT NULL DEFAULT '0', + `Emote7_0` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay7_1` smallint unsigned NOT NULL DEFAULT '0', + `Emote7_1` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay7_2` smallint unsigned NOT NULL DEFAULT '0', + `Emote7_2` smallint unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1998,28 +1998,28 @@ CREATE TABLE `npc_text` ( DROP TABLE IF EXISTS `npc_text_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `npc_text_locale` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, - `Text0_0` longtext COLLATE utf8mb4_unicode_ci, - `Text0_1` longtext COLLATE utf8mb4_unicode_ci, - `Text1_0` longtext COLLATE utf8mb4_unicode_ci, - `Text1_1` longtext COLLATE utf8mb4_unicode_ci, - `Text2_0` longtext COLLATE utf8mb4_unicode_ci, - `Text2_1` longtext COLLATE utf8mb4_unicode_ci, - `Text3_0` longtext COLLATE utf8mb4_unicode_ci, - `Text3_1` longtext COLLATE utf8mb4_unicode_ci, - `Text4_0` longtext COLLATE utf8mb4_unicode_ci, - `Text4_1` longtext COLLATE utf8mb4_unicode_ci, - `Text5_0` longtext COLLATE utf8mb4_unicode_ci, - `Text5_1` longtext COLLATE utf8mb4_unicode_ci, - `Text6_0` longtext COLLATE utf8mb4_unicode_ci, - `Text6_1` longtext COLLATE utf8mb4_unicode_ci, - `Text7_0` longtext COLLATE utf8mb4_unicode_ci, - `Text7_1` longtext COLLATE utf8mb4_unicode_ci, + `ID` int unsigned NOT NULL DEFAULT '0', + `Locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `Text0_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text0_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text1_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text1_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text2_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text2_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text3_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text3_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text4_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text4_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text5_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text5_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text6_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text6_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text7_0` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Text7_1` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`ID`,`Locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2028,20 +2028,20 @@ CREATE TABLE `npc_text_locale` ( DROP TABLE IF EXISTS `npc_vendor`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `npc_vendor` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `slot` smallint(6) NOT NULL DEFAULT '0', - `item` mediumint(8) NOT NULL DEFAULT '0', - `maxcount` mediumint(8) unsigned NOT NULL DEFAULT '0', - `incrtime` int(10) unsigned NOT NULL DEFAULT '0', - `ExtendedCost` mediumint(8) unsigned NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL DEFAULT '1', - `PlayerConditionID` int(10) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `entry` int unsigned NOT NULL DEFAULT '0', + `slot` smallint NOT NULL DEFAULT '0', + `item` int NOT NULL DEFAULT '0', + `maxcount` int unsigned NOT NULL DEFAULT '0', + `incrtime` int unsigned NOT NULL DEFAULT '0', + `ExtendedCost` int unsigned NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL DEFAULT '1', + `PlayerConditionID` int NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`entry`,`item`,`ExtendedCost`,`type`), KEY `slot` (`slot`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Npc System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Npc System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2050,13 +2050,13 @@ CREATE TABLE `npc_vendor` ( DROP TABLE IF EXISTS `outdoorpvp_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `outdoorpvp_template` ( - `TypeId` tinyint(3) unsigned NOT NULL, - `ScriptName` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, - `comment` text COLLATE utf8mb4_unicode_ci, + `TypeId` tinyint unsigned NOT NULL, + `ScriptName` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`TypeId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='OutdoorPvP Templates'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='OutdoorPvP Templates'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2065,14 +2065,14 @@ CREATE TABLE `outdoorpvp_template` ( DROP TABLE IF EXISTS `page_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `page_text` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Text` longtext COLLATE utf8mb4_unicode_ci, - `NextPageID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `Text` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL, + `NextPageID` int unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Item System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Item System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2081,14 +2081,14 @@ CREATE TABLE `page_text` ( DROP TABLE IF EXISTS `page_text_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `page_text_locale` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, - `Text` text COLLATE utf8mb4_unicode_ci, - `VerifiedBuild` smallint(5) DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `Text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2097,20 +2097,20 @@ CREATE TABLE `page_text_locale` ( DROP TABLE IF EXISTS `pet_levelstats`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `pet_levelstats` ( - `creature_entry` mediumint(8) unsigned NOT NULL, - `level` tinyint(3) unsigned NOT NULL, - `hp` smallint(5) unsigned NOT NULL, - `mana` smallint(5) unsigned NOT NULL, - `armor` int(10) unsigned NOT NULL DEFAULT '0', - `str` smallint(5) unsigned NOT NULL, - `agi` smallint(5) unsigned NOT NULL, - `sta` smallint(5) unsigned NOT NULL, - `inte` smallint(5) unsigned NOT NULL, - `spi` smallint(5) unsigned NOT NULL, + `creature_entry` int unsigned NOT NULL, + `level` tinyint unsigned NOT NULL, + `hp` smallint unsigned NOT NULL, + `mana` smallint unsigned NOT NULL, + `armor` int unsigned NOT NULL DEFAULT '0', + `str` smallint unsigned NOT NULL, + `agi` smallint unsigned NOT NULL, + `sta` smallint unsigned NOT NULL, + `inte` smallint unsigned NOT NULL, + `spi` smallint unsigned NOT NULL, PRIMARY KEY (`creature_entry`,`level`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci PACK_KEYS=0 COMMENT='Stores pet levels stats.'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci PACK_KEYS=0 COMMENT='Stores pet levels stats.'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2119,14 +2119,14 @@ CREATE TABLE `pet_levelstats` ( DROP TABLE IF EXISTS `pet_name_generation`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `pet_name_generation` ( - `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, - `word` tinytext COLLATE utf8mb4_unicode_ci NOT NULL, - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `half` tinyint(3) unsigned NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL AUTO_INCREMENT, + `word` tinytext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `entry` int unsigned NOT NULL DEFAULT '0', + `half` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=314 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=314 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2135,11 +2135,11 @@ CREATE TABLE `pet_name_generation` ( DROP TABLE IF EXISTS `phase_area`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `phase_area` ( - `AreaId` int(10) unsigned NOT NULL, - `PhaseId` int(10) unsigned NOT NULL, - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `AreaId` int unsigned NOT NULL, + `PhaseId` int unsigned NOT NULL, + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`AreaId`,`PhaseId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2150,21 +2150,21 @@ CREATE TABLE `phase_area` ( DROP TABLE IF EXISTS `pickpocketing_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `pickpocketing_loot_template` ( - `Entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Reference` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Entry` int unsigned NOT NULL DEFAULT '0', + `Item` int unsigned NOT NULL DEFAULT '0', + `Reference` int unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` tinyint(1) NOT NULL DEFAULT '0', `IsCurrency` tinyint(1) NOT NULL DEFAULT '0', - `LootMode` smallint(5) unsigned NOT NULL DEFAULT '1', - `GroupId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `LootMode` smallint unsigned NOT NULL DEFAULT '1', + `GroupId` tinyint unsigned NOT NULL DEFAULT '0', + `MinCount` tinyint unsigned NOT NULL DEFAULT '1', + `MaxCount` tinyint unsigned NOT NULL DEFAULT '1', + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2173,12 +2173,12 @@ CREATE TABLE `pickpocketing_loot_template` ( DROP TABLE IF EXISTS `player_factionchange_achievement`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `player_factionchange_achievement` ( - `alliance_id` int(10) unsigned NOT NULL, - `horde_id` int(10) unsigned NOT NULL, + `alliance_id` int unsigned NOT NULL, + `horde_id` int unsigned NOT NULL, PRIMARY KEY (`alliance_id`,`horde_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2187,16 +2187,16 @@ CREATE TABLE `player_factionchange_achievement` ( DROP TABLE IF EXISTS `player_factionchange_items`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `player_factionchange_items` ( - `race_A` int(10) unsigned NOT NULL, - `alliance_id` int(10) unsigned NOT NULL, - `commentA` text COLLATE utf8mb4_unicode_ci, - `race_H` int(10) unsigned NOT NULL, - `horde_id` int(10) unsigned NOT NULL, - `commentH` text COLLATE utf8mb4_unicode_ci, + `race_A` int unsigned NOT NULL, + `alliance_id` int unsigned NOT NULL, + `commentA` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `race_H` int unsigned NOT NULL, + `horde_id` int unsigned NOT NULL, + `commentH` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`alliance_id`,`horde_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2205,14 +2205,14 @@ CREATE TABLE `player_factionchange_items` ( DROP TABLE IF EXISTS `player_factionchange_quests`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `player_factionchange_quests` ( - `alliance_id` int(10) unsigned NOT NULL, - `horde_id` int(10) unsigned NOT NULL, + `alliance_id` int unsigned NOT NULL, + `horde_id` int unsigned NOT NULL, PRIMARY KEY (`alliance_id`,`horde_id`), UNIQUE KEY `alliance_uniq` (`alliance_id`), UNIQUE KEY `horde_uniq` (`horde_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2221,12 +2221,12 @@ CREATE TABLE `player_factionchange_quests` ( DROP TABLE IF EXISTS `player_factionchange_reputations`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `player_factionchange_reputations` ( - `alliance_id` int(10) unsigned NOT NULL, - `horde_id` int(10) unsigned NOT NULL, + `alliance_id` int unsigned NOT NULL, + `horde_id` int unsigned NOT NULL, PRIMARY KEY (`alliance_id`,`horde_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2235,12 +2235,12 @@ CREATE TABLE `player_factionchange_reputations` ( DROP TABLE IF EXISTS `player_factionchange_spells`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `player_factionchange_spells` ( - `alliance_id` int(10) unsigned NOT NULL, - `horde_id` int(10) unsigned NOT NULL, + `alliance_id` int unsigned NOT NULL, + `horde_id` int unsigned NOT NULL, PRIMARY KEY (`alliance_id`,`horde_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2249,12 +2249,12 @@ CREATE TABLE `player_factionchange_spells` ( DROP TABLE IF EXISTS `player_factionchange_titles`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `player_factionchange_titles` ( - `alliance_id` int(8) NOT NULL, - `horde_id` int(8) NOT NULL, + `alliance_id` int NOT NULL, + `horde_id` int NOT NULL, PRIMARY KEY (`alliance_id`,`horde_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2263,18 +2263,18 @@ CREATE TABLE `player_factionchange_titles` ( DROP TABLE IF EXISTS `player_levelstats`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `player_levelstats` ( - `race` tinyint(3) unsigned NOT NULL, - `class` tinyint(3) unsigned NOT NULL, - `level` tinyint(3) unsigned NOT NULL, - `str` tinyint(3) unsigned NOT NULL, - `agi` tinyint(3) unsigned NOT NULL, - `sta` tinyint(3) unsigned NOT NULL, - `inte` tinyint(3) unsigned NOT NULL, - `spi` tinyint(3) unsigned NOT NULL, + `race` tinyint unsigned NOT NULL, + `class` tinyint unsigned NOT NULL, + `level` tinyint unsigned NOT NULL, + `str` tinyint unsigned NOT NULL, + `agi` tinyint unsigned NOT NULL, + `sta` tinyint unsigned NOT NULL, + `inte` tinyint unsigned NOT NULL, + `spi` tinyint unsigned NOT NULL, PRIMARY KEY (`race`,`class`,`level`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci PACK_KEYS=0 COMMENT='Stores levels stats.'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci PACK_KEYS=0 COMMENT='Stores levels stats.'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2283,12 +2283,12 @@ CREATE TABLE `player_levelstats` ( DROP TABLE IF EXISTS `player_xp_for_level`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `player_xp_for_level` ( - `Level` tinyint(3) unsigned NOT NULL, - `Experience` int(10) unsigned NOT NULL, + `Level` tinyint unsigned NOT NULL, + `Experience` int unsigned NOT NULL, PRIMARY KEY (`Level`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2297,18 +2297,18 @@ CREATE TABLE `player_xp_for_level` ( DROP TABLE IF EXISTS `playercreateinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `playercreateinfo` ( - `race` tinyint(3) unsigned NOT NULL DEFAULT '0', - `class` tinyint(3) unsigned NOT NULL DEFAULT '0', - `map` smallint(5) unsigned NOT NULL DEFAULT '0', - `zone` mediumint(8) unsigned NOT NULL DEFAULT '0', + `race` tinyint unsigned NOT NULL DEFAULT '0', + `class` tinyint unsigned NOT NULL DEFAULT '0', + `map` smallint unsigned NOT NULL DEFAULT '0', + `zone` int unsigned NOT NULL DEFAULT '0', `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', `orientation` float NOT NULL DEFAULT '0', PRIMARY KEY (`race`,`class`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2317,16 +2317,16 @@ CREATE TABLE `playercreateinfo` ( DROP TABLE IF EXISTS `playercreateinfo_action`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `playercreateinfo_action` ( - `race` tinyint(3) unsigned NOT NULL DEFAULT '0', - `class` tinyint(3) unsigned NOT NULL DEFAULT '0', - `button` smallint(5) unsigned NOT NULL DEFAULT '0', - `action` int(10) unsigned NOT NULL DEFAULT '0', - `type` smallint(5) unsigned NOT NULL DEFAULT '0', + `race` tinyint unsigned NOT NULL DEFAULT '0', + `class` tinyint unsigned NOT NULL DEFAULT '0', + `button` smallint unsigned NOT NULL DEFAULT '0', + `action` int unsigned NOT NULL DEFAULT '0', + `type` smallint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`race`,`class`,`button`), KEY `playercreateinfo_race_class_index` (`race`,`class`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2335,13 +2335,13 @@ CREATE TABLE `playercreateinfo_action` ( DROP TABLE IF EXISTS `playercreateinfo_cast_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `playercreateinfo_cast_spell` ( - `raceMask` int(10) unsigned NOT NULL DEFAULT '0', - `classMask` int(10) unsigned NOT NULL DEFAULT '0', - `spell` mediumint(8) unsigned NOT NULL DEFAULT '0', - `note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + `raceMask` int unsigned NOT NULL DEFAULT '0', + `classMask` int unsigned NOT NULL DEFAULT '0', + `spell` int unsigned NOT NULL DEFAULT '0', + `note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2350,15 +2350,15 @@ CREATE TABLE `playercreateinfo_cast_spell` ( DROP TABLE IF EXISTS `playercreateinfo_item`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `playercreateinfo_item` ( - `race` tinyint(3) unsigned NOT NULL DEFAULT '0', - `class` tinyint(3) unsigned NOT NULL DEFAULT '0', - `itemid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `amount` tinyint(4) NOT NULL DEFAULT '1', + `race` tinyint unsigned NOT NULL DEFAULT '0', + `class` tinyint unsigned NOT NULL DEFAULT '0', + `itemid` int unsigned NOT NULL DEFAULT '0', + `amount` tinyint NOT NULL DEFAULT '1', PRIMARY KEY (`race`,`class`,`itemid`), KEY `playercreateinfo_race_class_index` (`race`,`class`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2367,15 +2367,15 @@ CREATE TABLE `playercreateinfo_item` ( DROP TABLE IF EXISTS `playercreateinfo_skills`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `playercreateinfo_skills` ( - `raceMask` int(10) unsigned NOT NULL, - `classMask` int(10) unsigned NOT NULL, - `skill` smallint(5) unsigned NOT NULL, - `rank` smallint(5) unsigned NOT NULL DEFAULT '0', - `comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `raceMask` int unsigned NOT NULL, + `classMask` int unsigned NOT NULL, + `skill` smallint unsigned NOT NULL, + `rank` smallint unsigned NOT NULL DEFAULT '0', + `comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`raceMask`,`classMask`,`skill`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2384,14 +2384,14 @@ CREATE TABLE `playercreateinfo_skills` ( DROP TABLE IF EXISTS `playercreateinfo_spell_custom`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `playercreateinfo_spell_custom` ( - `racemask` int(10) unsigned NOT NULL DEFAULT '0', - `classmask` int(10) unsigned NOT NULL DEFAULT '0', - `Spell` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Note` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `racemask` int unsigned NOT NULL DEFAULT '0', + `classmask` int unsigned NOT NULL DEFAULT '0', + `Spell` int unsigned NOT NULL DEFAULT '0', + `Note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`racemask`,`classmask`,`Spell`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2400,18 +2400,18 @@ CREATE TABLE `playercreateinfo_spell_custom` ( DROP TABLE IF EXISTS `points_of_interest`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `points_of_interest` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', `PositionX` float NOT NULL DEFAULT '0', `PositionY` float NOT NULL DEFAULT '0', - `Icon` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Flags` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Importance` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Name` text COLLATE utf8mb4_unicode_ci NOT NULL, - `VerifiedBuild` smallint(5) DEFAULT '0', + `Icon` int unsigned NOT NULL DEFAULT '0', + `Flags` int unsigned NOT NULL DEFAULT '0', + `Importance` int unsigned NOT NULL DEFAULT '0', + `Name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2420,14 +2420,14 @@ CREATE TABLE `points_of_interest` ( DROP TABLE IF EXISTS `points_of_interest_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `points_of_interest_locale` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, - `Name` text COLLATE utf8mb4_unicode_ci, - `VerifiedBuild` smallint(5) DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `Name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2436,15 +2436,15 @@ CREATE TABLE `points_of_interest_locale` ( DROP TABLE IF EXISTS `pool_members`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `pool_members` ( - `type` smallint(10) unsigned NOT NULL, - `spawnId` int(10) unsigned NOT NULL, - `poolSpawnId` int(10) unsigned NOT NULL, + `type` smallint unsigned NOT NULL, + `spawnId` int unsigned NOT NULL, + `poolSpawnId` int unsigned NOT NULL, `chance` float NOT NULL, - `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`type`,`spawnId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2453,13 +2453,13 @@ CREATE TABLE `pool_members` ( DROP TABLE IF EXISTS `pool_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `pool_template` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Pool entry', - `max_limit` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Max number of objects (0) is no limit', - `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `entry` int unsigned NOT NULL DEFAULT '0' COMMENT 'Pool entry', + `max_limit` int unsigned NOT NULL DEFAULT '0' COMMENT 'Max number of objects (0) is no limit', + `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2468,21 +2468,21 @@ CREATE TABLE `pool_template` ( DROP TABLE IF EXISTS `prospecting_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `prospecting_loot_template` ( - `Entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Reference` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Entry` int unsigned NOT NULL DEFAULT '0', + `Item` int unsigned NOT NULL DEFAULT '0', + `Reference` int unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` tinyint(1) NOT NULL DEFAULT '0', `IsCurrency` tinyint(1) NOT NULL DEFAULT '0', - `LootMode` smallint(5) unsigned NOT NULL DEFAULT '1', - `GroupId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `LootMode` smallint unsigned NOT NULL DEFAULT '1', + `GroupId` tinyint unsigned NOT NULL DEFAULT '0', + `MinCount` tinyint unsigned NOT NULL DEFAULT '1', + `MaxCount` tinyint unsigned NOT NULL DEFAULT '1', + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2491,20 +2491,20 @@ CREATE TABLE `prospecting_loot_template` ( DROP TABLE IF EXISTS `quest_details`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_details` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Emote1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote3` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote4` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay1` int(10) unsigned NOT NULL DEFAULT '0', - `EmoteDelay2` int(10) unsigned NOT NULL DEFAULT '0', - `EmoteDelay3` int(10) unsigned NOT NULL DEFAULT '0', - `EmoteDelay4` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `Emote1` smallint unsigned NOT NULL DEFAULT '0', + `Emote2` smallint unsigned NOT NULL DEFAULT '0', + `Emote3` smallint unsigned NOT NULL DEFAULT '0', + `Emote4` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay1` int unsigned NOT NULL DEFAULT '0', + `EmoteDelay2` int unsigned NOT NULL DEFAULT '0', + `EmoteDelay3` int unsigned NOT NULL DEFAULT '0', + `EmoteDelay4` int unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2513,16 +2513,16 @@ CREATE TABLE `quest_details` ( DROP TABLE IF EXISTS `quest_greeting`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_greeting` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `GreetEmoteType` smallint(5) unsigned NOT NULL DEFAULT '0', - `GreetEmoteDelay` int(10) unsigned NOT NULL DEFAULT '0', - `Greeting` text COLLATE utf8mb4_unicode_ci, - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `Type` tinyint unsigned NOT NULL DEFAULT '0', + `GreetEmoteType` smallint unsigned NOT NULL DEFAULT '0', + `GreetEmoteDelay` int unsigned NOT NULL DEFAULT '0', + `Greeting` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`ID`,`Type`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2531,15 +2531,15 @@ CREATE TABLE `quest_greeting` ( DROP TABLE IF EXISTS `quest_greeting_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_greeting_locale` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, - `Greeting` text COLLATE utf8mb4_unicode_ci, - `VerifiedBuild` smallint(5) DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `Type` tinyint unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `Greeting` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`,`Type`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2548,10 +2548,10 @@ CREATE TABLE `quest_greeting_locale` ( DROP TABLE IF EXISTS `quest_mail_sender`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_mail_sender` ( - `QuestId` int(5) unsigned NOT NULL DEFAULT '0', - `RewardMailSenderEntry` int(5) unsigned NOT NULL DEFAULT '0', + `QuestId` int unsigned NOT NULL DEFAULT '0', + `RewardMailSenderEntry` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`QuestId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2562,21 +2562,21 @@ CREATE TABLE `quest_mail_sender` ( DROP TABLE IF EXISTS `quest_offer_reward`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_offer_reward` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Emote1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote3` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote4` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay1` int(10) unsigned NOT NULL DEFAULT '0', - `EmoteDelay2` int(10) unsigned NOT NULL DEFAULT '0', - `EmoteDelay3` int(10) unsigned NOT NULL DEFAULT '0', - `EmoteDelay4` int(10) unsigned NOT NULL DEFAULT '0', - `RewardText` text COLLATE utf8mb4_unicode_ci, - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `Emote1` smallint unsigned NOT NULL DEFAULT '0', + `Emote2` smallint unsigned NOT NULL DEFAULT '0', + `Emote3` smallint unsigned NOT NULL DEFAULT '0', + `Emote4` smallint unsigned NOT NULL DEFAULT '0', + `EmoteDelay1` int unsigned NOT NULL DEFAULT '0', + `EmoteDelay2` int unsigned NOT NULL DEFAULT '0', + `EmoteDelay3` int unsigned NOT NULL DEFAULT '0', + `EmoteDelay4` int unsigned NOT NULL DEFAULT '0', + `RewardText` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2585,19 +2585,19 @@ CREATE TABLE `quest_offer_reward` ( DROP TABLE IF EXISTS `quest_poi`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_poi` ( - `QuestID` int(10) unsigned NOT NULL DEFAULT '0', - `id` int(10) unsigned NOT NULL DEFAULT '0', - `ObjectiveIndex` int(11) NOT NULL DEFAULT '0', - `MapID` int(10) unsigned NOT NULL DEFAULT '0', - `WorldMapAreaId` int(10) unsigned NOT NULL DEFAULT '0', - `Floor` int(10) unsigned NOT NULL DEFAULT '0', - `Priority` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `QuestID` int unsigned NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL DEFAULT '0', + `ObjectiveIndex` int NOT NULL DEFAULT '0', + `MapID` int unsigned NOT NULL DEFAULT '0', + `WorldMapAreaId` int unsigned NOT NULL DEFAULT '0', + `Floor` int unsigned NOT NULL DEFAULT '0', + `Priority` int unsigned NOT NULL DEFAULT '0', + `Flags` int unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`QuestID`,`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2606,18 +2606,18 @@ CREATE TABLE `quest_poi` ( DROP TABLE IF EXISTS `quest_poi_points`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_poi_points` ( - `QuestID` int(11) NOT NULL DEFAULT '0', - `BlobIndex` int(11) NOT NULL DEFAULT '0', - `Idx1` int(11) NOT NULL DEFAULT '0', - `Idx2` int(11) NOT NULL DEFAULT '0', - `X` int(11) NOT NULL DEFAULT '0', - `Y` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `QuestID` int NOT NULL DEFAULT '0', + `BlobIndex` int NOT NULL DEFAULT '0', + `Idx1` int NOT NULL DEFAULT '0', + `Idx2` int NOT NULL DEFAULT '0', + `X` int NOT NULL DEFAULT '0', + `Y` int NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`QuestID`,`BlobIndex`,`Idx1`,`Idx2`), KEY `questId_id` (`QuestID`,`BlobIndex`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2626,14 +2626,14 @@ CREATE TABLE `quest_poi_points` ( DROP TABLE IF EXISTS `quest_pool_members`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_pool_members` ( - `questId` int(10) unsigned NOT NULL, - `poolId` int(10) unsigned NOT NULL, - `poolIndex` tinyint(2) unsigned NOT NULL COMMENT 'Multiple quests with the same index will always spawn together!', - `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `questId` int unsigned NOT NULL, + `poolId` int unsigned NOT NULL, + `poolIndex` tinyint unsigned NOT NULL COMMENT 'Multiple quests with the same index will always spawn together!', + `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`questId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2642,13 +2642,13 @@ CREATE TABLE `quest_pool_members` ( DROP TABLE IF EXISTS `quest_pool_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_pool_template` ( - `poolId` mediumint(8) unsigned NOT NULL, - `numActive` int(10) unsigned NOT NULL COMMENT 'Number of indices to have active at any time', - `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `poolId` int unsigned NOT NULL, + `numActive` int unsigned NOT NULL COMMENT 'Number of indices to have active at any time', + `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`poolId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2657,15 +2657,15 @@ CREATE TABLE `quest_pool_template` ( DROP TABLE IF EXISTS `quest_request_items`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_request_items` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `EmoteOnComplete` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteOnIncomplete` smallint(5) unsigned NOT NULL DEFAULT '0', - `CompletionText` text COLLATE utf8mb4_unicode_ci, - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `EmoteOnComplete` smallint unsigned NOT NULL DEFAULT '0', + `EmoteOnIncomplete` smallint unsigned NOT NULL DEFAULT '0', + `CompletionText` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2674,141 +2674,141 @@ CREATE TABLE `quest_request_items` ( DROP TABLE IF EXISTS `quest_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_template` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `QuestType` tinyint(3) unsigned NOT NULL DEFAULT '2', - `QuestLevel` smallint(3) NOT NULL DEFAULT '1', - `MinLevel` smallint(6) NOT NULL DEFAULT '0', - `QuestSortID` smallint(6) NOT NULL DEFAULT '0', - `QuestInfoID` smallint(5) unsigned NOT NULL DEFAULT '0', - `SuggestedGroupNum` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredFactionId1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredFactionId2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredFactionValue1` mediumint(8) NOT NULL DEFAULT '0', - `RequiredFactionValue2` mediumint(8) NOT NULL DEFAULT '0', - `RewardNextQuest` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardXPDifficulty` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RewardMoney` int(11) NOT NULL DEFAULT '0', - `RewardBonusMoney` int(10) unsigned NOT NULL DEFAULT '0', - `RewardDisplaySpell` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardSpell` int(11) NOT NULL DEFAULT '0', - `RewardHonor` int(11) NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `QuestType` tinyint unsigned NOT NULL DEFAULT '2', + `QuestLevel` smallint NOT NULL DEFAULT '1', + `MinLevel` smallint NOT NULL DEFAULT '0', + `QuestSortID` smallint NOT NULL DEFAULT '0', + `QuestInfoID` smallint unsigned NOT NULL DEFAULT '0', + `SuggestedGroupNum` tinyint unsigned NOT NULL DEFAULT '0', + `RequiredFactionId1` smallint unsigned NOT NULL DEFAULT '0', + `RequiredFactionId2` smallint unsigned NOT NULL DEFAULT '0', + `RequiredFactionValue1` int NOT NULL DEFAULT '0', + `RequiredFactionValue2` int NOT NULL DEFAULT '0', + `RewardNextQuest` int unsigned NOT NULL DEFAULT '0', + `RewardXPDifficulty` tinyint unsigned NOT NULL DEFAULT '0', + `RewardMoney` int NOT NULL DEFAULT '0', + `RewardBonusMoney` int unsigned NOT NULL DEFAULT '0', + `RewardDisplaySpell` int unsigned NOT NULL DEFAULT '0', + `RewardSpell` int NOT NULL DEFAULT '0', + `RewardHonor` int NOT NULL DEFAULT '0', `RewardKillHonor` float NOT NULL DEFAULT '0', - `StartItem` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `MinimapTargetMark` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredPlayerKills` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RewardSkillId` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardSkillPoints` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RewardReputationMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `QuestGiverPortrait` mediumint(8) unsigned NOT NULL DEFAULT '0', - `QuestTurnInPortrait` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardItem1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardAmount1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardItem2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardAmount2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardItem3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardAmount3` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardItem4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardAmount4` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemDrop1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ItemDropQuantity1` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemDrop2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ItemDropQuantity2` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemDrop3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ItemDropQuantity3` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemDrop4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ItemDropQuantity4` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemID1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemQuantity1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemID2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemQuantity2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemID3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemQuantity3` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemID4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemQuantity4` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemID5` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemQuantity5` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemID6` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemQuantity6` smallint(5) unsigned NOT NULL DEFAULT '0', - `POIContinent` smallint(5) unsigned NOT NULL DEFAULT '0', + `StartItem` int unsigned NOT NULL DEFAULT '0', + `Flags` int unsigned NOT NULL DEFAULT '0', + `MinimapTargetMark` tinyint unsigned NOT NULL DEFAULT '0', + `RequiredPlayerKills` tinyint unsigned NOT NULL DEFAULT '0', + `RewardSkillId` smallint unsigned NOT NULL DEFAULT '0', + `RewardSkillPoints` tinyint unsigned NOT NULL DEFAULT '0', + `RewardReputationMask` tinyint unsigned NOT NULL DEFAULT '0', + `QuestGiverPortrait` int unsigned NOT NULL DEFAULT '0', + `QuestTurnInPortrait` int unsigned NOT NULL DEFAULT '0', + `RewardItem1` int unsigned NOT NULL DEFAULT '0', + `RewardAmount1` smallint unsigned NOT NULL DEFAULT '0', + `RewardItem2` int unsigned NOT NULL DEFAULT '0', + `RewardAmount2` smallint unsigned NOT NULL DEFAULT '0', + `RewardItem3` int unsigned NOT NULL DEFAULT '0', + `RewardAmount3` smallint unsigned NOT NULL DEFAULT '0', + `RewardItem4` int unsigned NOT NULL DEFAULT '0', + `RewardAmount4` smallint unsigned NOT NULL DEFAULT '0', + `ItemDrop1` int unsigned NOT NULL DEFAULT '0', + `ItemDropQuantity1` smallint unsigned NOT NULL DEFAULT '0', + `ItemDrop2` int unsigned NOT NULL DEFAULT '0', + `ItemDropQuantity2` smallint unsigned NOT NULL DEFAULT '0', + `ItemDrop3` int unsigned NOT NULL DEFAULT '0', + `ItemDropQuantity3` smallint unsigned NOT NULL DEFAULT '0', + `ItemDrop4` int unsigned NOT NULL DEFAULT '0', + `ItemDropQuantity4` smallint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID1` int unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity1` smallint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID2` int unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity2` smallint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID3` int unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity3` smallint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID4` int unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity4` smallint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID5` int unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity5` smallint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID6` int unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity6` smallint unsigned NOT NULL DEFAULT '0', + `POIContinent` smallint unsigned NOT NULL DEFAULT '0', `POIx` float NOT NULL DEFAULT '0', `POIy` float NOT NULL DEFAULT '0', - `POIPriority` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardTitle` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RewardTalents` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RewardArenaPoints` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardFactionID1` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', - `RewardFactionValue1` mediumint(8) NOT NULL DEFAULT '0', - `RewardFactionOverride1` mediumint(8) NOT NULL DEFAULT '0', - `RewardFactionID2` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', - `RewardFactionValue2` mediumint(8) NOT NULL DEFAULT '0', - `RewardFactionOverride2` mediumint(8) NOT NULL DEFAULT '0', - `RewardFactionID3` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', - `RewardFactionValue3` mediumint(8) NOT NULL DEFAULT '0', - `RewardFactionOverride3` mediumint(8) NOT NULL DEFAULT '0', - `RewardFactionID4` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', - `RewardFactionValue4` mediumint(8) NOT NULL DEFAULT '0', - `RewardFactionOverride4` mediumint(8) NOT NULL DEFAULT '0', - `RewardFactionID5` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', - `RewardFactionValue5` mediumint(8) NOT NULL DEFAULT '0', - `RewardFactionOverride5` mediumint(8) NOT NULL DEFAULT '0', - `LogTitle` text COLLATE utf8mb4_unicode_ci, - `LogDescription` text COLLATE utf8mb4_unicode_ci, - `QuestDescription` text COLLATE utf8mb4_unicode_ci, - `AreaDescription` text COLLATE utf8mb4_unicode_ci, - `QuestCompletionLog` text COLLATE utf8mb4_unicode_ci, - `RequiredNpcOrGo1` mediumint(8) NOT NULL DEFAULT '0', - `RequiredNpcOrGo2` mediumint(8) NOT NULL DEFAULT '0', - `RequiredNpcOrGo3` mediumint(8) NOT NULL DEFAULT '0', - `RequiredNpcOrGo4` mediumint(8) NOT NULL DEFAULT '0', - `RequiredNpcOrGoCount1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredNpcOrGoCount2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredNpcOrGoCount3` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredNpcOrGoCount4` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredItemId1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredItemId2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredItemId3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredItemId4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredItemId5` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredItemId6` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount3` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount4` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount5` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredItemCount6` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSpell` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ObjectiveText1` text COLLATE utf8mb4_unicode_ci, - `ObjectiveText2` text COLLATE utf8mb4_unicode_ci, - `ObjectiveText3` text COLLATE utf8mb4_unicode_ci, - `ObjectiveText4` text COLLATE utf8mb4_unicode_ci, - `RewardCurrencyId1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyId2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyId3` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyId4` smallint(5) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyCount1` int(10) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyCount2` int(10) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyCount3` int(10) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyCount4` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyId1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyId2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyId3` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyId4` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount4` int(10) unsigned NOT NULL DEFAULT '0', - `QuestGiverTextWindow` text COLLATE utf8mb4_unicode_ci, - `QuestGiverTargetName` text COLLATE utf8mb4_unicode_ci, - `QuestTurnTextWindow` text COLLATE utf8mb4_unicode_ci, - `QuestTurnTargetName` text COLLATE utf8mb4_unicode_ci, - `SoundAccept` smallint(5) unsigned NOT NULL DEFAULT '890', - `SoundTurnIn` smallint(5) unsigned NOT NULL DEFAULT '878', - `VerifiedBuild` smallint(5) DEFAULT '0', + `POIPriority` int unsigned NOT NULL DEFAULT '0', + `RewardTitle` tinyint unsigned NOT NULL DEFAULT '0', + `RewardTalents` tinyint unsigned NOT NULL DEFAULT '0', + `RewardArenaPoints` smallint unsigned NOT NULL DEFAULT '0', + `RewardFactionID1` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', + `RewardFactionValue1` int NOT NULL DEFAULT '0', + `RewardFactionOverride1` int NOT NULL DEFAULT '0', + `RewardFactionID2` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', + `RewardFactionValue2` int NOT NULL DEFAULT '0', + `RewardFactionOverride2` int NOT NULL DEFAULT '0', + `RewardFactionID3` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', + `RewardFactionValue3` int NOT NULL DEFAULT '0', + `RewardFactionOverride3` int NOT NULL DEFAULT '0', + `RewardFactionID4` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', + `RewardFactionValue4` int NOT NULL DEFAULT '0', + `RewardFactionOverride4` int NOT NULL DEFAULT '0', + `RewardFactionID5` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', + `RewardFactionValue5` int NOT NULL DEFAULT '0', + `RewardFactionOverride5` int NOT NULL DEFAULT '0', + `LogTitle` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `LogDescription` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `QuestDescription` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `AreaDescription` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `QuestCompletionLog` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `RequiredNpcOrGo1` int NOT NULL DEFAULT '0', + `RequiredNpcOrGo2` int NOT NULL DEFAULT '0', + `RequiredNpcOrGo3` int NOT NULL DEFAULT '0', + `RequiredNpcOrGo4` int NOT NULL DEFAULT '0', + `RequiredNpcOrGoCount1` smallint unsigned NOT NULL DEFAULT '0', + `RequiredNpcOrGoCount2` smallint unsigned NOT NULL DEFAULT '0', + `RequiredNpcOrGoCount3` smallint unsigned NOT NULL DEFAULT '0', + `RequiredNpcOrGoCount4` smallint unsigned NOT NULL DEFAULT '0', + `RequiredItemId1` int unsigned NOT NULL DEFAULT '0', + `RequiredItemId2` int unsigned NOT NULL DEFAULT '0', + `RequiredItemId3` int unsigned NOT NULL DEFAULT '0', + `RequiredItemId4` int unsigned NOT NULL DEFAULT '0', + `RequiredItemId5` int unsigned NOT NULL DEFAULT '0', + `RequiredItemId6` int unsigned NOT NULL DEFAULT '0', + `RequiredItemCount1` smallint unsigned NOT NULL DEFAULT '0', + `RequiredItemCount2` smallint unsigned NOT NULL DEFAULT '0', + `RequiredItemCount3` smallint unsigned NOT NULL DEFAULT '0', + `RequiredItemCount4` smallint unsigned NOT NULL DEFAULT '0', + `RequiredItemCount5` smallint unsigned NOT NULL DEFAULT '0', + `RequiredItemCount6` smallint unsigned NOT NULL DEFAULT '0', + `RequiredSpell` int unsigned NOT NULL DEFAULT '0', + `ObjectiveText1` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `ObjectiveText2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `ObjectiveText3` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `ObjectiveText4` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `RewardCurrencyId1` smallint unsigned NOT NULL DEFAULT '0', + `RewardCurrencyId2` smallint unsigned NOT NULL DEFAULT '0', + `RewardCurrencyId3` smallint unsigned NOT NULL DEFAULT '0', + `RewardCurrencyId4` smallint unsigned NOT NULL DEFAULT '0', + `RewardCurrencyCount1` int unsigned NOT NULL DEFAULT '0', + `RewardCurrencyCount2` int unsigned NOT NULL DEFAULT '0', + `RewardCurrencyCount3` int unsigned NOT NULL DEFAULT '0', + `RewardCurrencyCount4` int unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyId1` smallint unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyId2` smallint unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyId3` smallint unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyId4` smallint unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyCount1` tinyint unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyCount2` tinyint unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyCount3` tinyint unsigned NOT NULL DEFAULT '0', + `RequiredCurrencyCount4` int unsigned NOT NULL DEFAULT '0', + `QuestGiverTextWindow` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `QuestGiverTargetName` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `QuestTurnTextWindow` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `QuestTurnTargetName` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `SoundAccept` smallint unsigned NOT NULL DEFAULT '890', + `SoundTurnIn` smallint unsigned NOT NULL DEFAULT '878', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Quest System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Quest System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2817,30 +2817,30 @@ CREATE TABLE `quest_template` ( DROP TABLE IF EXISTS `quest_template_addon`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_template_addon` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `MaxLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AllowableClasses` int(10) unsigned NOT NULL DEFAULT '0', - `SourceSpellID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `PrevQuestID` mediumint(8) NOT NULL DEFAULT '0', - `NextQuestID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ExclusiveGroup` mediumint(8) NOT NULL DEFAULT '0', - `BreadcrumbForQuestId` mediumint(8) NOT NULL DEFAULT '0', - `RewardMailTemplateID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RewardMailDelay` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredSkillID` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSkillPoints` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredMinRepFaction` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredMaxRepFaction` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredMinRepValue` mediumint(8) NOT NULL DEFAULT '0', - `RequiredMaxRepValue` mediumint(8) NOT NULL DEFAULT '0', - `ProvidedItemCount` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SpecialFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AllowableRaces` mediumint(8) unsigned NOT NULL DEFAULT '0', - `TimeAllowed` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `MaxLevel` tinyint unsigned NOT NULL DEFAULT '0', + `AllowableClasses` int unsigned NOT NULL DEFAULT '0', + `SourceSpellID` int unsigned NOT NULL DEFAULT '0', + `PrevQuestID` int NOT NULL DEFAULT '0', + `NextQuestID` int unsigned NOT NULL DEFAULT '0', + `ExclusiveGroup` int NOT NULL DEFAULT '0', + `BreadcrumbForQuestId` int NOT NULL DEFAULT '0', + `RewardMailTemplateID` int unsigned NOT NULL DEFAULT '0', + `RewardMailDelay` int unsigned NOT NULL DEFAULT '0', + `RequiredSkillID` smallint unsigned NOT NULL DEFAULT '0', + `RequiredSkillPoints` smallint unsigned NOT NULL DEFAULT '0', + `RequiredMinRepFaction` smallint unsigned NOT NULL DEFAULT '0', + `RequiredMaxRepFaction` smallint unsigned NOT NULL DEFAULT '0', + `RequiredMinRepValue` int NOT NULL DEFAULT '0', + `RequiredMaxRepValue` int NOT NULL DEFAULT '0', + `ProvidedItemCount` tinyint unsigned NOT NULL DEFAULT '0', + `SpecialFlags` tinyint unsigned NOT NULL DEFAULT '0', + `AllowableRaces` int unsigned NOT NULL DEFAULT '0', + `TimeAllowed` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2849,28 +2849,28 @@ CREATE TABLE `quest_template_addon` ( DROP TABLE IF EXISTS `quest_template_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_template_locale` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, - `Title` text COLLATE utf8mb4_unicode_ci, - `Details` text COLLATE utf8mb4_unicode_ci, - `Objectives` text COLLATE utf8mb4_unicode_ci, - `OfferRewardText` text COLLATE utf8mb4_unicode_ci, - `RequestItemsText` text COLLATE utf8mb4_unicode_ci, - `EndText` text COLLATE utf8mb4_unicode_ci, - `CompletedText` text COLLATE utf8mb4_unicode_ci, - `ObjectiveText1` text COLLATE utf8mb4_unicode_ci, - `ObjectiveText2` text COLLATE utf8mb4_unicode_ci, - `ObjectiveText3` text COLLATE utf8mb4_unicode_ci, - `ObjectiveText4` text COLLATE utf8mb4_unicode_ci, - `QuestGiverTextWindow` text COLLATE utf8mb4_unicode_ci, - `QuestGiverTargetName` text COLLATE utf8mb4_unicode_ci, - `QuestTurnTextWindow` text COLLATE utf8mb4_unicode_ci, - `QuestTurnTargetName` text COLLATE utf8mb4_unicode_ci, - `VerifiedBuild` smallint(5) DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `Title` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Details` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `Objectives` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `OfferRewardText` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `RequestItemsText` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `EndText` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `CompletedText` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `ObjectiveText1` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `ObjectiveText2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `ObjectiveText3` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `ObjectiveText4` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `QuestGiverTextWindow` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `QuestGiverTargetName` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `QuestTurnTextWindow` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `QuestTurnTargetName` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2879,21 +2879,21 @@ CREATE TABLE `quest_template_locale` ( DROP TABLE IF EXISTS `reference_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `reference_loot_template` ( - `Entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Reference` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Entry` int unsigned NOT NULL DEFAULT '0', + `Item` int unsigned NOT NULL DEFAULT '0', + `Reference` int unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` tinyint(1) NOT NULL DEFAULT '0', `IsCurrency` tinyint(1) NOT NULL DEFAULT '0', - `LootMode` smallint(5) unsigned NOT NULL DEFAULT '1', - `GroupId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `LootMode` smallint unsigned NOT NULL DEFAULT '1', + `GroupId` tinyint unsigned NOT NULL DEFAULT '0', + `MinCount` tinyint unsigned NOT NULL DEFAULT '1', + `MaxCount` tinyint unsigned NOT NULL DEFAULT '1', + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2902,9 +2902,9 @@ CREATE TABLE `reference_loot_template` ( DROP TABLE IF EXISTS `reputation_reward_rate`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `reputation_reward_rate` ( - `faction` mediumint(8) unsigned NOT NULL DEFAULT '0', + `faction` int unsigned NOT NULL DEFAULT '0', `quest_rate` float NOT NULL DEFAULT '1', `quest_daily_rate` float NOT NULL DEFAULT '1', `quest_weekly_rate` float NOT NULL DEFAULT '1', @@ -2913,7 +2913,7 @@ CREATE TABLE `reputation_reward_rate` ( `creature_rate` float NOT NULL DEFAULT '1', `spell_rate` float NOT NULL DEFAULT '1', PRIMARY KEY (`faction`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2922,26 +2922,26 @@ CREATE TABLE `reputation_reward_rate` ( DROP TABLE IF EXISTS `reputation_spillover_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `reputation_spillover_template` ( - `faction` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction entry', - `faction1` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'faction to give spillover for', + `faction` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'faction entry', + `faction1` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'faction to give spillover for', `rate_1` float NOT NULL DEFAULT '0' COMMENT 'the given rep points * rate', - `rank_1` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'max rank,above this will not give any spillover', - `faction2` smallint(5) unsigned NOT NULL DEFAULT '0', + `rank_1` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'max rank,above this will not give any spillover', + `faction2` smallint unsigned NOT NULL DEFAULT '0', `rate_2` float NOT NULL DEFAULT '0', - `rank_2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `faction3` smallint(5) unsigned NOT NULL DEFAULT '0', + `rank_2` tinyint unsigned NOT NULL DEFAULT '0', + `faction3` smallint unsigned NOT NULL DEFAULT '0', `rate_3` float NOT NULL DEFAULT '0', - `rank_3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `faction4` smallint(5) unsigned NOT NULL DEFAULT '0', + `rank_3` tinyint unsigned NOT NULL DEFAULT '0', + `faction4` smallint unsigned NOT NULL DEFAULT '0', `rate_4` float NOT NULL DEFAULT '0', - `rank_4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `faction5` smallint(5) unsigned NOT NULL DEFAULT '0', + `rank_4` tinyint unsigned NOT NULL DEFAULT '0', + `faction5` smallint unsigned NOT NULL DEFAULT '0', `rate_5` float NOT NULL DEFAULT '0', - `rank_5` tinyint(3) unsigned NOT NULL DEFAULT '0', + `rank_5` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`faction`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='Reputation spillover reputation gain'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Reputation spillover reputation gain'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2950,14 +2950,14 @@ CREATE TABLE `reputation_spillover_template` ( DROP TABLE IF EXISTS `script_spline_chain_meta`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `script_spline_chain_meta` ( - `entry` int(10) unsigned NOT NULL, - `chainId` smallint(5) unsigned NOT NULL, - `splineId` tinyint(3) unsigned NOT NULL, - `expectedDuration` int(10) unsigned NOT NULL, - `msUntilNext` int(10) unsigned NOT NULL, - `velocity` float unsigned DEFAULT '0', + `entry` int unsigned NOT NULL, + `chainId` smallint unsigned NOT NULL, + `splineId` tinyint unsigned NOT NULL, + `expectedDuration` int unsigned NOT NULL, + `msUntilNext` int unsigned NOT NULL, + `velocity` float DEFAULT '0', PRIMARY KEY (`entry`,`chainId`,`splineId`) USING BTREE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2968,12 +2968,12 @@ CREATE TABLE `script_spline_chain_meta` ( DROP TABLE IF EXISTS `script_spline_chain_waypoints`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `script_spline_chain_waypoints` ( - `entry` int(10) unsigned NOT NULL, - `chainId` smallint(5) unsigned NOT NULL, - `splineId` tinyint(3) unsigned NOT NULL, - `wpId` tinyint(3) unsigned NOT NULL, + `entry` int unsigned NOT NULL, + `chainId` smallint unsigned NOT NULL, + `splineId` tinyint unsigned NOT NULL, + `wpId` tinyint unsigned NOT NULL, `x` float NOT NULL, `y` float NOT NULL, `z` float NOT NULL, @@ -2987,17 +2987,17 @@ CREATE TABLE `script_spline_chain_waypoints` ( DROP TABLE IF EXISTS `script_waypoint`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `script_waypoint` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'creature_template entry', - `pointid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `entry` int unsigned NOT NULL DEFAULT '0' COMMENT 'creature_template entry', + `pointid` int unsigned NOT NULL DEFAULT '0', `location_x` float NOT NULL DEFAULT '0', `location_y` float NOT NULL DEFAULT '0', `location_z` float NOT NULL DEFAULT '0', - `waittime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'waittime in millisecs', - `point_comment` text COLLATE utf8mb4_unicode_ci, + `waittime` int unsigned NOT NULL DEFAULT '0' COMMENT 'waittime in millisecs', + `point_comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`entry`,`pointid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Script Creature waypoints'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Script Creature waypoints'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3006,14 +3006,14 @@ CREATE TABLE `script_waypoint` ( DROP TABLE IF EXISTS `skill_discovery_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `skill_discovery_template` ( - `spellId` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'SpellId of the discoverable spell', - `reqSpell` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'spell requirement', - `reqSkillValue` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'skill points requirement', + `spellId` int unsigned NOT NULL DEFAULT '0' COMMENT 'SpellId of the discoverable spell', + `reqSpell` int unsigned NOT NULL DEFAULT '0' COMMENT 'spell requirement', + `reqSkillValue` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'skill points requirement', `chance` float NOT NULL DEFAULT '0' COMMENT 'chance to discover', PRIMARY KEY (`spellId`,`reqSpell`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Skill Discovery System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Skill Discovery System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3022,14 +3022,14 @@ CREATE TABLE `skill_discovery_template` ( DROP TABLE IF EXISTS `skill_extra_item_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `skill_extra_item_template` ( - `spellId` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'SpellId of the item creation spell', - `requiredSpecialization` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Specialization spell id', + `spellId` int unsigned NOT NULL DEFAULT '0' COMMENT 'SpellId of the item creation spell', + `requiredSpecialization` int unsigned NOT NULL DEFAULT '0' COMMENT 'Specialization spell id', `additionalCreateChance` float NOT NULL DEFAULT '0' COMMENT 'chance to create add', - `additionalMaxNum` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'max num of adds', + `additionalMaxNum` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'max num of adds', PRIMARY KEY (`spellId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Skill Specialization System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Skill Specialization System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3038,12 +3038,12 @@ CREATE TABLE `skill_extra_item_template` ( DROP TABLE IF EXISTS `skill_fishing_base_level`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `skill_fishing_base_level` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Area identifier', - `skill` smallint(6) NOT NULL DEFAULT '0' COMMENT 'Base skill level requirement', + `entry` int unsigned NOT NULL DEFAULT '0' COMMENT 'Area identifier', + `skill` smallint NOT NULL DEFAULT '0' COMMENT 'Base skill level requirement', PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Fishing system'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Fishing system'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3052,14 +3052,14 @@ CREATE TABLE `skill_fishing_base_level` ( DROP TABLE IF EXISTS `skill_perfect_item_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `skill_perfect_item_template` ( - `spellId` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'SpellId of the item creation spell', - `requiredSpecialization` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Specialization spell id', + `spellId` int unsigned NOT NULL DEFAULT '0' COMMENT 'SpellId of the item creation spell', + `requiredSpecialization` int unsigned NOT NULL DEFAULT '0' COMMENT 'Specialization spell id', `perfectCreateChance` float NOT NULL DEFAULT '0' COMMENT 'chance to create the perfect item instead', - `perfectItemType` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'perfect item type to create instead', + `perfectItemType` int unsigned NOT NULL DEFAULT '0' COMMENT 'perfect item type to create instead', PRIMARY KEY (`spellId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Crafting Perfection System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Crafting Perfection System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3068,21 +3068,21 @@ CREATE TABLE `skill_perfect_item_template` ( DROP TABLE IF EXISTS `skinning_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `skinning_loot_template` ( - `Entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Reference` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Entry` int unsigned NOT NULL DEFAULT '0', + `Item` int unsigned NOT NULL DEFAULT '0', + `Reference` int unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` tinyint(1) NOT NULL DEFAULT '0', `IsCurrency` tinyint(1) NOT NULL DEFAULT '0', - `LootMode` smallint(5) unsigned NOT NULL DEFAULT '1', - `GroupId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `LootMode` smallint unsigned NOT NULL DEFAULT '1', + `GroupId` tinyint unsigned NOT NULL DEFAULT '0', + `MinCount` tinyint unsigned NOT NULL DEFAULT '1', + `MaxCount` tinyint unsigned NOT NULL DEFAULT '1', + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3091,39 +3091,39 @@ CREATE TABLE `skinning_loot_template` ( DROP TABLE IF EXISTS `smart_scripts`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `smart_scripts` ( - `entryorguid` int(11) NOT NULL, - `source_type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `id` smallint(5) unsigned NOT NULL DEFAULT '0', - `link` smallint(5) unsigned NOT NULL DEFAULT '0', - `event_type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `event_phase_mask` smallint(5) unsigned NOT NULL DEFAULT '0', - `event_chance` tinyint(3) unsigned NOT NULL DEFAULT '100', - `event_flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `event_param1` int(10) unsigned NOT NULL DEFAULT '0', - `event_param2` int(10) unsigned NOT NULL DEFAULT '0', - `event_param3` int(10) unsigned NOT NULL DEFAULT '0', - `event_param4` int(10) unsigned NOT NULL DEFAULT '0', - `event_param5` int(10) unsigned NOT NULL DEFAULT '0', - `action_type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `action_param1` int(10) unsigned NOT NULL DEFAULT '0', - `action_param2` int(10) unsigned NOT NULL DEFAULT '0', - `action_param3` int(10) unsigned NOT NULL DEFAULT '0', - `action_param4` int(10) unsigned NOT NULL DEFAULT '0', - `action_param5` int(10) unsigned NOT NULL DEFAULT '0', - `action_param6` int(10) unsigned NOT NULL DEFAULT '0', - `target_type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `target_param1` int(10) unsigned NOT NULL DEFAULT '0', - `target_param2` int(10) unsigned NOT NULL DEFAULT '0', - `target_param3` int(10) unsigned NOT NULL DEFAULT '0', + `entryorguid` int NOT NULL, + `source_type` tinyint unsigned NOT NULL DEFAULT '0', + `id` smallint unsigned NOT NULL DEFAULT '0', + `link` smallint unsigned NOT NULL DEFAULT '0', + `event_type` tinyint unsigned NOT NULL DEFAULT '0', + `event_phase_mask` smallint unsigned NOT NULL DEFAULT '0', + `event_chance` tinyint unsigned NOT NULL DEFAULT '100', + `event_flags` smallint unsigned NOT NULL DEFAULT '0', + `event_param1` int unsigned NOT NULL DEFAULT '0', + `event_param2` int unsigned NOT NULL DEFAULT '0', + `event_param3` int unsigned NOT NULL DEFAULT '0', + `event_param4` int unsigned NOT NULL DEFAULT '0', + `event_param5` int unsigned NOT NULL DEFAULT '0', + `action_type` tinyint unsigned NOT NULL DEFAULT '0', + `action_param1` int unsigned NOT NULL DEFAULT '0', + `action_param2` int unsigned NOT NULL DEFAULT '0', + `action_param3` int unsigned NOT NULL DEFAULT '0', + `action_param4` int unsigned NOT NULL DEFAULT '0', + `action_param5` int unsigned NOT NULL DEFAULT '0', + `action_param6` int unsigned NOT NULL DEFAULT '0', + `target_type` tinyint unsigned NOT NULL DEFAULT '0', + `target_param1` int unsigned NOT NULL DEFAULT '0', + `target_param2` int unsigned NOT NULL DEFAULT '0', + `target_param3` int unsigned NOT NULL DEFAULT '0', `target_x` float NOT NULL DEFAULT '0', `target_y` float NOT NULL DEFAULT '0', `target_z` float NOT NULL DEFAULT '0', `target_o` float NOT NULL DEFAULT '0', - `comment` text COLLATE utf8mb4_unicode_ci NOT NULL, + `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`entryorguid`,`source_type`,`id`,`link`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3132,13 +3132,13 @@ CREATE TABLE `smart_scripts` ( DROP TABLE IF EXISTS `spawn_group`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spawn_group` ( - `groupId` int(10) unsigned NOT NULL, - `spawnType` tinyint(10) unsigned NOT NULL, - `spawnId` int(10) unsigned NOT NULL, + `groupId` int unsigned NOT NULL, + `spawnType` tinyint unsigned NOT NULL, + `spawnId` int unsigned NOT NULL, PRIMARY KEY (`groupId`,`spawnType`,`spawnId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3147,13 +3147,13 @@ CREATE TABLE `spawn_group` ( DROP TABLE IF EXISTS `spawn_group_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spawn_group_template` ( - `groupId` int(10) unsigned NOT NULL, - `groupName` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL, - `groupFlags` int(10) unsigned NOT NULL DEFAULT '0', + `groupId` int unsigned NOT NULL, + `groupName` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `groupFlags` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`groupId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3162,20 +3162,20 @@ CREATE TABLE `spawn_group_template` ( DROP TABLE IF EXISTS `spell_area`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_area` ( - `spell` mediumint(8) unsigned NOT NULL DEFAULT '0', - `area` mediumint(8) unsigned NOT NULL DEFAULT '0', - `quest_start` mediumint(8) unsigned NOT NULL DEFAULT '0', - `quest_end` mediumint(8) unsigned NOT NULL DEFAULT '0', - `aura_spell` mediumint(8) NOT NULL DEFAULT '0', - `racemask` mediumint(8) unsigned NOT NULL DEFAULT '0', - `gender` tinyint(3) unsigned NOT NULL DEFAULT '2', - `flags` tinyint(3) unsigned NOT NULL DEFAULT '3', - `quest_start_status` int(11) NOT NULL DEFAULT '64', - `quest_end_status` int(11) NOT NULL DEFAULT '11', + `spell` int unsigned NOT NULL DEFAULT '0', + `area` int unsigned NOT NULL DEFAULT '0', + `quest_start` int unsigned NOT NULL DEFAULT '0', + `quest_end` int unsigned NOT NULL DEFAULT '0', + `aura_spell` int NOT NULL DEFAULT '0', + `racemask` int unsigned NOT NULL DEFAULT '0', + `gender` tinyint unsigned NOT NULL DEFAULT '2', + `flags` tinyint unsigned NOT NULL DEFAULT '3', + `quest_start_status` int NOT NULL DEFAULT '64', + `quest_end_status` int NOT NULL DEFAULT '11', PRIMARY KEY (`spell`,`area`,`quest_start`,`aura_spell`,`racemask`,`gender`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3184,16 +3184,16 @@ CREATE TABLE `spell_area` ( DROP TABLE IF EXISTS `spell_bonus_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_bonus_data` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `entry` int unsigned NOT NULL DEFAULT '0', `direct_bonus` float NOT NULL DEFAULT '0', `dot_bonus` float NOT NULL DEFAULT '0', `ap_bonus` float NOT NULL DEFAULT '0', `ap_dot_bonus` float NOT NULL DEFAULT '0', - `comments` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `comments` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3202,12 +3202,12 @@ CREATE TABLE `spell_bonus_data` ( DROP TABLE IF EXISTS `spell_custom_attr`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_custom_attr` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'spell id', - `attributes` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'SpellCustomAttributes', + `entry` int unsigned NOT NULL DEFAULT '0' COMMENT 'spell id', + `attributes` int unsigned NOT NULL DEFAULT '0' COMMENT 'SpellCustomAttributes', PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='SpellInfo custom attributes'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='SpellInfo custom attributes'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3216,35 +3216,35 @@ CREATE TABLE `spell_custom_attr` ( DROP TABLE IF EXISTS `spell_dbc`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_dbc` ( - `Id` int(10) unsigned NOT NULL, - `Attributes` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx2` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx3` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx4` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx5` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx6` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx7` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx8` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx9` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx10` int(10) unsigned NOT NULL DEFAULT '0', - `CastingTimeIndex` int(10) unsigned NOT NULL DEFAULT '1', - `DurationIndex` int(10) unsigned NOT NULL DEFAULT '0', - `RangeIndex` int(10) unsigned NOT NULL DEFAULT '1', - `SchoolMask` int(10) unsigned NOT NULL DEFAULT '0', - `SpellAuraOptionsId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellCastingRequirementsId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellCategoriesId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellClassOptionsId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellEquippedItemsId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellInterruptsId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellLevelsId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellTargetRestrictionsId` int(10) unsigned NOT NULL DEFAULT '0', - `Comment` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL, + `Id` int unsigned NOT NULL, + `Attributes` int unsigned NOT NULL DEFAULT '0', + `AttributesEx` int unsigned NOT NULL DEFAULT '0', + `AttributesEx2` int unsigned NOT NULL DEFAULT '0', + `AttributesEx3` int unsigned NOT NULL DEFAULT '0', + `AttributesEx4` int unsigned NOT NULL DEFAULT '0', + `AttributesEx5` int unsigned NOT NULL DEFAULT '0', + `AttributesEx6` int unsigned NOT NULL DEFAULT '0', + `AttributesEx7` int unsigned NOT NULL DEFAULT '0', + `AttributesEx8` int unsigned NOT NULL DEFAULT '0', + `AttributesEx9` int unsigned NOT NULL DEFAULT '0', + `AttributesEx10` int unsigned NOT NULL DEFAULT '0', + `CastingTimeIndex` int unsigned NOT NULL DEFAULT '1', + `DurationIndex` int unsigned NOT NULL DEFAULT '0', + `RangeIndex` int unsigned NOT NULL DEFAULT '1', + `SchoolMask` int unsigned NOT NULL DEFAULT '0', + `SpellAuraOptionsId` int unsigned NOT NULL DEFAULT '0', + `SpellCastingRequirementsId` int unsigned NOT NULL DEFAULT '0', + `SpellCategoriesId` int unsigned NOT NULL DEFAULT '0', + `SpellClassOptionsId` int unsigned NOT NULL DEFAULT '0', + `SpellEquippedItemsId` int unsigned NOT NULL DEFAULT '0', + `SpellInterruptsId` int unsigned NOT NULL DEFAULT '0', + `SpellLevelsId` int unsigned NOT NULL DEFAULT '0', + `SpellTargetRestrictionsId` int unsigned NOT NULL DEFAULT '0', + `SpellName` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`Id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Custom spell.dbc entries'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Custom spell.dbc entries'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3253,14 +3253,14 @@ CREATE TABLE `spell_dbc` ( DROP TABLE IF EXISTS `spell_enchant_proc_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_enchant_proc_data` ( - `entry` int(10) unsigned NOT NULL, - `customChance` int(10) unsigned NOT NULL DEFAULT '0', - `PPMChance` float unsigned NOT NULL DEFAULT '0', - `procEx` int(10) unsigned NOT NULL DEFAULT '0', + `entry` int unsigned NOT NULL, + `customChance` int unsigned NOT NULL DEFAULT '0', + `PPMChance` float NOT NULL DEFAULT '0', + `procEx` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC COMMENT='Spell enchant proc data'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Spell enchant proc data'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3269,12 +3269,12 @@ CREATE TABLE `spell_enchant_proc_data` ( DROP TABLE IF EXISTS `spell_group`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_group` ( - `id` int(10) unsigned NOT NULL DEFAULT '0', - `spell_id` int(11) NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL DEFAULT '0', + `spell_id` int NOT NULL DEFAULT '0', PRIMARY KEY (`id`,`spell_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Spell System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Spell System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3283,12 +3283,12 @@ CREATE TABLE `spell_group` ( DROP TABLE IF EXISTS `spell_group_stack_rules`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_group_stack_rules` ( - `group_id` int(11) unsigned NOT NULL DEFAULT '0', - `stack_rule` tinyint(3) NOT NULL DEFAULT '0', + `group_id` int unsigned NOT NULL DEFAULT '0', + `stack_rule` tinyint NOT NULL DEFAULT '0', PRIMARY KEY (`group_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3297,13 +3297,13 @@ CREATE TABLE `spell_group_stack_rules` ( DROP TABLE IF EXISTS `spell_learn_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_learn_spell` ( - `entry` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `Active` tinyint(3) unsigned NOT NULL DEFAULT '1', + `entry` int unsigned NOT NULL DEFAULT '0', + `SpellID` int unsigned NOT NULL DEFAULT '0', + `Active` tinyint unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`entry`,`SpellID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Item System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Item System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3312,14 +3312,14 @@ CREATE TABLE `spell_learn_spell` ( DROP TABLE IF EXISTS `spell_linked_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_linked_spell` ( - `spell_trigger` mediumint(8) NOT NULL, - `spell_effect` mediumint(8) NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `comment` text COLLATE utf8mb4_unicode_ci NOT NULL, + `spell_trigger` int NOT NULL, + `spell_effect` int NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL DEFAULT '0', + `comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, UNIQUE KEY `trigger_effect_type` (`spell_trigger`,`spell_effect`,`type`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Spell System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Spell System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3328,21 +3328,21 @@ CREATE TABLE `spell_linked_spell` ( DROP TABLE IF EXISTS `spell_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_loot_template` ( - `Entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Reference` mediumint(8) unsigned NOT NULL DEFAULT '0', + `Entry` int unsigned NOT NULL DEFAULT '0', + `Item` int unsigned NOT NULL DEFAULT '0', + `Reference` int unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` tinyint(1) NOT NULL DEFAULT '0', `IsCurrency` tinyint(1) NOT NULL DEFAULT '0', - `LootMode` smallint(5) unsigned NOT NULL DEFAULT '1', - `GroupId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `MaxCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `LootMode` smallint unsigned NOT NULL DEFAULT '1', + `GroupId` tinyint unsigned NOT NULL DEFAULT '0', + `MinCount` tinyint unsigned NOT NULL DEFAULT '1', + `MaxCount` tinyint unsigned NOT NULL DEFAULT '1', + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3351,14 +3351,14 @@ CREATE TABLE `spell_loot_template` ( DROP TABLE IF EXISTS `spell_pet_auras`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_pet_auras` ( - `spell` mediumint(8) unsigned NOT NULL COMMENT 'dummy spell id', - `effectId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `pet` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'pet id; 0 = all', - `aura` mediumint(8) unsigned NOT NULL COMMENT 'pet aura id', + `spell` int unsigned NOT NULL COMMENT 'dummy spell id', + `effectId` tinyint unsigned NOT NULL DEFAULT '0', + `pet` int unsigned NOT NULL DEFAULT '0' COMMENT 'pet id; 0 = all', + `aura` int unsigned NOT NULL COMMENT 'pet aura id', PRIMARY KEY (`spell`,`effectId`,`pet`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3367,26 +3367,26 @@ CREATE TABLE `spell_pet_auras` ( DROP TABLE IF EXISTS `spell_proc`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_proc` ( - `SpellId` int(11) NOT NULL DEFAULT '0', - `SchoolMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SpellFamilyName` smallint(5) unsigned NOT NULL DEFAULT '0', - `SpellFamilyMask0` int(10) unsigned NOT NULL DEFAULT '0', - `SpellFamilyMask1` int(10) unsigned NOT NULL DEFAULT '0', - `SpellFamilyMask2` int(10) unsigned NOT NULL DEFAULT '0', - `ProcFlags` int(10) unsigned NOT NULL DEFAULT '0', - `SpellTypeMask` int(10) unsigned NOT NULL DEFAULT '0', - `SpellPhaseMask` int(10) unsigned NOT NULL DEFAULT '0', - `HitMask` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesMask` int(10) unsigned NOT NULL DEFAULT '0', - `DisableEffectsMask` int(10) unsigned NOT NULL DEFAULT '0', + `SpellId` int NOT NULL DEFAULT '0', + `SchoolMask` tinyint unsigned NOT NULL DEFAULT '0', + `SpellFamilyName` smallint unsigned NOT NULL DEFAULT '0', + `SpellFamilyMask0` int unsigned NOT NULL DEFAULT '0', + `SpellFamilyMask1` int unsigned NOT NULL DEFAULT '0', + `SpellFamilyMask2` int unsigned NOT NULL DEFAULT '0', + `ProcFlags` int unsigned NOT NULL DEFAULT '0', + `SpellTypeMask` int unsigned NOT NULL DEFAULT '0', + `SpellPhaseMask` int unsigned NOT NULL DEFAULT '0', + `HitMask` int unsigned NOT NULL DEFAULT '0', + `AttributesMask` int unsigned NOT NULL DEFAULT '0', + `DisableEffectsMask` int unsigned NOT NULL DEFAULT '0', `ProcsPerMinute` float NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '0', - `Cooldown` int(10) unsigned NOT NULL DEFAULT '0', - `Charges` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Cooldown` int unsigned NOT NULL DEFAULT '0', + `Charges` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`SpellId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3395,21 +3395,21 @@ CREATE TABLE `spell_proc` ( DROP TABLE IF EXISTS `spell_proc_event`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_proc_event` ( - `entry` mediumint(8) NOT NULL DEFAULT '0', - `SchoolMask` tinyint(4) NOT NULL DEFAULT '0', - `SpellFamilyName` smallint(5) unsigned NOT NULL DEFAULT '0', - `SpellFamilyMask0` int(10) unsigned NOT NULL DEFAULT '0', - `SpellFamilyMask1` int(10) unsigned NOT NULL DEFAULT '0', - `SpellFamilyMask2` int(10) unsigned NOT NULL DEFAULT '0', - `procFlags` int(10) unsigned NOT NULL DEFAULT '0', - `procEx` int(10) unsigned NOT NULL DEFAULT '0', + `entry` int NOT NULL DEFAULT '0', + `SchoolMask` tinyint NOT NULL DEFAULT '0', + `SpellFamilyName` smallint unsigned NOT NULL DEFAULT '0', + `SpellFamilyMask0` int unsigned NOT NULL DEFAULT '0', + `SpellFamilyMask1` int unsigned NOT NULL DEFAULT '0', + `SpellFamilyMask2` int unsigned NOT NULL DEFAULT '0', + `procFlags` int unsigned NOT NULL DEFAULT '0', + `procEx` int unsigned NOT NULL DEFAULT '0', `ppmRate` float NOT NULL DEFAULT '0', `CustomChance` float NOT NULL DEFAULT '0', - `Cooldown` int(10) unsigned NOT NULL DEFAULT '0', + `Cooldown` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3418,14 +3418,14 @@ CREATE TABLE `spell_proc_event` ( DROP TABLE IF EXISTS `spell_ranks`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_ranks` ( - `first_spell_id` int(10) unsigned NOT NULL DEFAULT '0', - `spell_id` int(10) unsigned NOT NULL DEFAULT '0', - `rank` tinyint(3) unsigned NOT NULL DEFAULT '0', + `first_spell_id` int unsigned NOT NULL DEFAULT '0', + `spell_id` int unsigned NOT NULL DEFAULT '0', + `rank` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`first_spell_id`,`rank`), UNIQUE KEY `spell_id` (`spell_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Spell Rank Data'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Spell Rank Data'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3434,12 +3434,12 @@ CREATE TABLE `spell_ranks` ( DROP TABLE IF EXISTS `spell_required`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_required` ( - `spell_id` mediumint(8) NOT NULL DEFAULT '0', - `req_spell` mediumint(8) NOT NULL DEFAULT '0', + `spell_id` int NOT NULL DEFAULT '0', + `req_spell` int NOT NULL DEFAULT '0', PRIMARY KEY (`spell_id`,`req_spell`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Spell Additinal Data'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Spell Additinal Data'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3448,12 +3448,12 @@ CREATE TABLE `spell_required` ( DROP TABLE IF EXISTS `spell_script_names`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_script_names` ( - `spell_id` int(11) NOT NULL, - `ScriptName` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `spell_id` int NOT NULL, + `ScriptName` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, UNIQUE KEY `spell_id` (`spell_id`,`ScriptName`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3462,20 +3462,20 @@ CREATE TABLE `spell_script_names` ( DROP TABLE IF EXISTS `spell_scripts`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_scripts` ( - `id` mediumint(8) unsigned NOT NULL DEFAULT '0', - `effIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `delay` int(10) unsigned NOT NULL DEFAULT '0', - `command` mediumint(8) unsigned NOT NULL DEFAULT '0', - `datalong` mediumint(8) unsigned NOT NULL DEFAULT '0', - `datalong2` int(10) unsigned NOT NULL DEFAULT '0', - `dataint` int(11) NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL DEFAULT '0', + `effIndex` tinyint unsigned NOT NULL DEFAULT '0', + `delay` int unsigned NOT NULL DEFAULT '0', + `command` int unsigned NOT NULL DEFAULT '0', + `datalong` int unsigned NOT NULL DEFAULT '0', + `datalong2` int unsigned NOT NULL DEFAULT '0', + `dataint` int NOT NULL DEFAULT '0', `x` float NOT NULL DEFAULT '0', `y` float NOT NULL DEFAULT '0', `z` float NOT NULL DEFAULT '0', `o` float NOT NULL DEFAULT '0' -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3484,18 +3484,18 @@ CREATE TABLE `spell_scripts` ( DROP TABLE IF EXISTS `spell_target_position`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_target_position` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', - `EffectIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MapID` smallint(5) unsigned NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `EffectIndex` tinyint unsigned NOT NULL DEFAULT '0', + `MapID` smallint unsigned NOT NULL DEFAULT '0', `PositionX` float NOT NULL DEFAULT '0', `PositionY` float NOT NULL DEFAULT '0', `PositionZ` float NOT NULL DEFAULT '0', `Orientation` float NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`,`EffectIndex`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Spell System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Spell System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3504,14 +3504,14 @@ CREATE TABLE `spell_target_position` ( DROP TABLE IF EXISTS `spell_threat`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spell_threat` ( - `entry` mediumint(8) unsigned NOT NULL, - `flatMod` int(11) DEFAULT NULL, + `entry` int unsigned NOT NULL, + `flatMod` int DEFAULT NULL, `pctMod` float NOT NULL DEFAULT '1' COMMENT 'threat multiplier for damage/healing', `apPctMod` float NOT NULL DEFAULT '0' COMMENT 'additional threat bonus from attack power', PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3520,15 +3520,15 @@ CREATE TABLE `spell_threat` ( DROP TABLE IF EXISTS `spelldifficulty_dbc`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spelldifficulty_dbc` ( - `id` int(11) unsigned NOT NULL DEFAULT '0', - `spellid0` int(11) unsigned NOT NULL DEFAULT '0', - `spellid1` int(11) unsigned NOT NULL DEFAULT '0', - `spellid2` int(11) unsigned NOT NULL DEFAULT '0', - `spellid3` int(11) unsigned NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL DEFAULT '0', + `spellid0` int unsigned NOT NULL DEFAULT '0', + `spellid1` int unsigned NOT NULL DEFAULT '0', + `spellid2` int unsigned NOT NULL DEFAULT '0', + `spellid3` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3537,37 +3537,51 @@ CREATE TABLE `spelldifficulty_dbc` ( DROP TABLE IF EXISTS `spelleffect_dbc`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `spelleffect_dbc` ( - `Id` int(10) unsigned NOT NULL, - `Effect` int(10) unsigned NOT NULL DEFAULT '0', - `EffectAmplitude` float unsigned NOT NULL DEFAULT '0', - `EffectAura` int(10) unsigned NOT NULL DEFAULT '0', - `EffectAuraPeriod` int(10) unsigned NOT NULL DEFAULT '0', - `EffectBasePoints` int(10) NOT NULL DEFAULT '0', - `EffectBonusCoefficient` float unsigned NOT NULL DEFAULT '0', - `EffectChainAmplitude` float unsigned NOT NULL DEFAULT '0', - `EffectChainTargets` int(10) unsigned NOT NULL DEFAULT '0', - `EffectDieSides` int(10) NOT NULL DEFAULT '0', - `EffectItemType` int(10) unsigned NOT NULL DEFAULT '0', - `EffectMechanic` int(10) unsigned NOT NULL DEFAULT '0', - `EffectMiscValue` int(10) NOT NULL DEFAULT '0', - `EffectMiscValueB` int(10) NOT NULL DEFAULT '0', - `EffectPointsPerResource` float unsigned NOT NULL DEFAULT '0', - `EffectRadiusIndex` int(10) unsigned NOT NULL DEFAULT '0', - `EffectRadiusMaxIndex` int(10) unsigned NOT NULL DEFAULT '0', - `EffectRealPointsPerLevel` float unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskA` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskB` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskC` int(10) unsigned NOT NULL DEFAULT '0', - `EffectTriggerSpell` int(10) unsigned NOT NULL DEFAULT '0', - `EffectImplicitTargetA` int(10) unsigned NOT NULL DEFAULT '0', - `EffectImplicitTargetB` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL, - `EffectIndex` int(10) unsigned NOT NULL DEFAULT '0', - `Comment` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL, + `Id` int unsigned NOT NULL, + `Effect` int unsigned NOT NULL DEFAULT '0', + `EffectAmplitude` float NOT NULL DEFAULT '0', + `EffectAura` int unsigned NOT NULL DEFAULT '0', + `EffectAuraPeriod` int unsigned NOT NULL DEFAULT '0', + `EffectBasePoints` int NOT NULL DEFAULT '0', + `EffectBonusCoefficient` float NOT NULL DEFAULT '0', + `EffectChainAmplitude` float NOT NULL DEFAULT '0', + `EffectChainTargets` int unsigned NOT NULL DEFAULT '0', + `EffectDieSides` int NOT NULL DEFAULT '0', + `EffectItemType` int unsigned NOT NULL DEFAULT '0', + `EffectMechanic` int unsigned NOT NULL DEFAULT '0', + `EffectMiscValue` int NOT NULL DEFAULT '0', + `EffectMiscValueB` int NOT NULL DEFAULT '0', + `EffectPointsPerResource` float NOT NULL DEFAULT '0', + `EffectRadiusIndex` int unsigned NOT NULL DEFAULT '0', + `EffectRadiusMaxIndex` int unsigned NOT NULL DEFAULT '0', + `EffectRealPointsPerLevel` float NOT NULL DEFAULT '0', + `EffectSpellClassMaskA` int unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskB` int unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskC` int unsigned NOT NULL DEFAULT '0', + `EffectTriggerSpell` int unsigned NOT NULL DEFAULT '0', + `EffectImplicitTargetA` int unsigned NOT NULL DEFAULT '0', + `EffectImplicitTargetB` int unsigned NOT NULL DEFAULT '0', + `SpellID` int unsigned NOT NULL, + `EffectIndex` int unsigned NOT NULL DEFAULT '0', + `Comment` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`Id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `summon_properties_parameters` +-- + +DROP TABLE IF EXISTS `summon_properties_parameters`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `summon_properties_parameters` ( + `RecID` int unsigned NOT NULL COMMENT 'SummonProperties.dbc Identifier', + `ParamType` tinyint unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`RecID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3576,10 +3590,10 @@ CREATE TABLE `spelleffect_dbc` ( DROP TABLE IF EXISTS `taxi_level_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `taxi_level_data` ( - `TaxiNodeId` smallint(4) NOT NULL, - `Level` tinyint(3) DEFAULT '0', + `TaxiNodeId` smallint NOT NULL, + `Level` tinyint DEFAULT '0', PRIMARY KEY (`TaxiNodeId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3590,11 +3604,11 @@ CREATE TABLE `taxi_level_data` ( DROP TABLE IF EXISTS `terrain_swap_defaults`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `terrain_swap_defaults` ( - `MapId` int(10) unsigned NOT NULL, - `TerrainSwapMap` int(10) unsigned NOT NULL, - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `MapId` int unsigned NOT NULL, + `TerrainSwapMap` int unsigned NOT NULL, + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`MapId`,`TerrainSwapMap`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3605,11 +3619,11 @@ CREATE TABLE `terrain_swap_defaults` ( DROP TABLE IF EXISTS `terrain_worldmap`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `terrain_worldmap` ( - `TerrainSwapMap` int(10) unsigned NOT NULL, - `WorldMapArea` int(10) unsigned NOT NULL, - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `TerrainSwapMap` int unsigned NOT NULL, + `WorldMapArea` int unsigned NOT NULL, + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`TerrainSwapMap`,`WorldMapArea`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3620,15 +3634,15 @@ CREATE TABLE `terrain_worldmap` ( DROP TABLE IF EXISTS `trainer`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `trainer` ( - `Id` int(10) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(2) unsigned NOT NULL DEFAULT '2', - `Requirement` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Greeting` text COLLATE utf8mb4_unicode_ci, - `VerifiedBuild` smallint(5) DEFAULT '0', + `Id` int unsigned NOT NULL DEFAULT '0', + `Type` tinyint unsigned NOT NULL DEFAULT '2', + `Requirement` int unsigned NOT NULL DEFAULT '0', + `Greeting` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`Id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3637,14 +3651,14 @@ CREATE TABLE `trainer` ( DROP TABLE IF EXISTS `trainer_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `trainer_locale` ( - `Id` int(10) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL, - `Greeting_lang` text COLLATE utf8mb4_unicode_ci, - `VerifiedBuild` smallint(5) DEFAULT '0', + `Id` int unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `Greeting_lang` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`Id`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3653,20 +3667,20 @@ CREATE TABLE `trainer_locale` ( DROP TABLE IF EXISTS `trainer_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `trainer_spell` ( - `TrainerId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellId` int(10) unsigned NOT NULL DEFAULT '0', - `MoneyCost` int(10) unsigned NOT NULL DEFAULT '0', - `ReqSkillLine` int(10) unsigned NOT NULL DEFAULT '0', - `ReqSkillRank` int(10) unsigned NOT NULL DEFAULT '0', - `ReqAbility1` int(10) unsigned NOT NULL DEFAULT '0', - `ReqAbility2` int(10) unsigned NOT NULL DEFAULT '0', - `ReqAbility3` int(10) unsigned NOT NULL DEFAULT '0', - `ReqLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `TrainerId` int unsigned NOT NULL DEFAULT '0', + `SpellId` int unsigned NOT NULL DEFAULT '0', + `MoneyCost` int unsigned NOT NULL DEFAULT '0', + `ReqSkillLine` int unsigned NOT NULL DEFAULT '0', + `ReqSkillRank` int unsigned NOT NULL DEFAULT '0', + `ReqAbility1` int unsigned NOT NULL DEFAULT '0', + `ReqAbility2` int unsigned NOT NULL DEFAULT '0', + `ReqAbility3` int unsigned NOT NULL DEFAULT '0', + `ReqLevel` tinyint unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`TrainerId`,`SpellId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3675,18 +3689,18 @@ CREATE TABLE `trainer_spell` ( DROP TABLE IF EXISTS `transports`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `transports` ( - `guid` int(10) unsigned NOT NULL AUTO_INCREMENT, - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `name` text COLLATE utf8mb4_unicode_ci, - `phaseUseFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `phaseid` int(10) NOT NULL DEFAULT '0', - `phasegroup` int(10) NOT NULL DEFAULT '0', - `ScriptName` char(64) COLLATE utf8mb4_unicode_ci NOT NULL, + `guid` int unsigned NOT NULL AUTO_INCREMENT, + `entry` int unsigned NOT NULL DEFAULT '0', + `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `phaseUseFlags` tinyint unsigned NOT NULL DEFAULT '0', + `phaseid` int NOT NULL DEFAULT '0', + `phasegroup` int NOT NULL DEFAULT '0', + `ScriptName` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`guid`), UNIQUE KEY `idx_entry` (`entry`) -) ENGINE=MyISAM AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Transports'; +) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Transports'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3695,20 +3709,20 @@ CREATE TABLE `transports` ( DROP TABLE IF EXISTS `trinity_string`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `trinity_string` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `content_default` text COLLATE utf8mb4_unicode_ci NOT NULL, - `content_loc1` text COLLATE utf8mb4_unicode_ci, - `content_loc2` text COLLATE utf8mb4_unicode_ci, - `content_loc3` text COLLATE utf8mb4_unicode_ci, - `content_loc4` text COLLATE utf8mb4_unicode_ci, - `content_loc5` text COLLATE utf8mb4_unicode_ci, - `content_loc6` text COLLATE utf8mb4_unicode_ci, - `content_loc7` text COLLATE utf8mb4_unicode_ci, - `content_loc8` text COLLATE utf8mb4_unicode_ci, + `entry` int unsigned NOT NULL DEFAULT '0', + `content_default` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `content_loc1` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `content_loc2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `content_loc3` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `content_loc4` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `content_loc5` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `content_loc6` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `content_loc7` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, + `content_loc8` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3717,15 +3731,15 @@ CREATE TABLE `trinity_string` ( DROP TABLE IF EXISTS `updates`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `updates` ( - `name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL, - `hash` char(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `state` enum('RELEASED','ARCHIVED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', + `name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `hash` varchar(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `state` enum('RELEASED','ARCHIVED') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', - `speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', + `speed` int unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', PRIMARY KEY (`name`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of all applied updates in this database.'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of all applied updates in this database.'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3734,12 +3748,12 @@ CREATE TABLE `updates` ( DROP TABLE IF EXISTS `updates_include`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `updates_include` ( - `path` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL, - `state` enum('RELEASED','ARCHIVED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', + `path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `state` enum('RELEASED','ARCHIVED') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', PRIMARY KEY (`path`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of directories where we want to include sql updates.'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of directories where we want to include sql updates.'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3748,17 +3762,17 @@ CREATE TABLE `updates_include` ( DROP TABLE IF EXISTS `vehicle_accessory`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `vehicle_accessory` ( - `guid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `accessory_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `seat_id` tinyint(4) NOT NULL DEFAULT '0', - `minion` tinyint(3) unsigned NOT NULL DEFAULT '0', - `description` text COLLATE utf8mb4_unicode_ci NOT NULL, - `summontype` tinyint(3) unsigned NOT NULL DEFAULT '6' COMMENT 'see enum TempSummonType', - `summontimer` int(10) unsigned NOT NULL DEFAULT '30000' COMMENT 'timer, only relevant for certain summontypes', + `guid` int unsigned NOT NULL DEFAULT '0', + `accessory_entry` int unsigned NOT NULL DEFAULT '0', + `seat_id` tinyint NOT NULL DEFAULT '0', + `minion` tinyint unsigned NOT NULL DEFAULT '0', + `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `summontype` tinyint unsigned NOT NULL DEFAULT '6' COMMENT 'see enum TempSummonType', + `summontimer` int unsigned NOT NULL DEFAULT '30000' COMMENT 'timer, only relevant for certain summontypes', PRIMARY KEY (`guid`,`seat_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3767,9 +3781,9 @@ CREATE TABLE `vehicle_accessory` ( DROP TABLE IF EXISTS `vehicle_seat_addon`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `vehicle_seat_addon` ( - `SeatEntry` int(4) unsigned NOT NULL COMMENT 'VehicleSeatEntry.dbc identifier', + `SeatEntry` int unsigned NOT NULL COMMENT 'VehicleSeatEntry.dbc identifier', `SeatOffsetX` float DEFAULT '0', `SeatOffsetY` float DEFAULT '0', `SeatOffsetZ` float DEFAULT '0', @@ -3789,17 +3803,17 @@ CREATE TABLE `vehicle_seat_addon` ( DROP TABLE IF EXISTS `vehicle_template_accessory`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `vehicle_template_accessory` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `accessory_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `seat_id` tinyint(4) NOT NULL DEFAULT '0', - `minion` tinyint(3) unsigned NOT NULL DEFAULT '0', - `description` text COLLATE utf8mb4_unicode_ci NOT NULL, - `summontype` tinyint(3) unsigned NOT NULL DEFAULT '6' COMMENT 'see enum TempSummonType', - `summontimer` int(10) unsigned NOT NULL DEFAULT '30000' COMMENT 'timer, only relevant for certain summontypes', + `entry` int unsigned NOT NULL DEFAULT '0', + `accessory_entry` int unsigned NOT NULL DEFAULT '0', + `seat_id` tinyint NOT NULL DEFAULT '0', + `minion` tinyint unsigned NOT NULL DEFAULT '0', + `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `summontype` tinyint unsigned NOT NULL DEFAULT '6' COMMENT 'see enum TempSummonType', + `summontimer` int unsigned NOT NULL DEFAULT '30000' COMMENT 'timer, only relevant for certain summontypes', PRIMARY KEY (`entry`,`seat_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3808,13 +3822,13 @@ CREATE TABLE `vehicle_template_accessory` ( DROP TABLE IF EXISTS `version`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `version` ( - `core_version` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, - `core_revision` varchar(120) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `db_version` varchar(120) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `cache_id` int(11) DEFAULT '0' -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Version Notes'; + `core_version` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL, + `core_revision` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `db_version` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `cache_id` int DEFAULT '0' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Version Notes'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3823,18 +3837,18 @@ CREATE TABLE `version` ( DROP TABLE IF EXISTS `warden_checks`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `warden_checks` ( - `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, - `type` tinyint(3) unsigned DEFAULT NULL, - `data` varchar(48) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `str` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `address` int(10) unsigned DEFAULT NULL, - `length` tinyint(3) unsigned DEFAULT NULL, - `result` varchar(24) COLLATE utf8mb4_unicode_ci DEFAULT NULL, - `comment` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `id` smallint unsigned NOT NULL AUTO_INCREMENT, + `type` tinyint unsigned DEFAULT NULL, + `data` varchar(48) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `str` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `address` int unsigned DEFAULT NULL, + `length` tinyint unsigned DEFAULT NULL, + `result` varchar(24) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `comment` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=787 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB AUTO_INCREMENT=787 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3843,22 +3857,23 @@ CREATE TABLE `warden_checks` ( DROP TABLE IF EXISTS `waypoint_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `waypoint_data` ( - `id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Creature GUID', - `point` mediumint(8) unsigned NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Creature GUID', + `point` int unsigned NOT NULL DEFAULT '0', `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', `orientation` float DEFAULT NULL, `velocity` float NOT NULL DEFAULT '0', - `delay` int(10) NOT NULL DEFAULT '0', - `move_type` int(11) NOT NULL DEFAULT '0', - `action` int(11) NOT NULL DEFAULT '0', - `action_chance` smallint(6) NOT NULL DEFAULT '100', - `wpguid` int(11) unsigned NOT NULL DEFAULT '0', + `delay` int unsigned NOT NULL DEFAULT '0', + `smoothTransition` tinyint unsigned NOT NULL DEFAULT '0', + `move_type` int NOT NULL DEFAULT '0', + `action` int NOT NULL DEFAULT '0', + `action_chance` smallint NOT NULL DEFAULT '100', + `wpguid` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`,`point`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3867,11 +3882,11 @@ CREATE TABLE `waypoint_data` ( DROP TABLE IF EXISTS `waypoint_data_addon`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `waypoint_data_addon` ( - `PathID` int(10) unsigned NOT NULL DEFAULT '0', - `PointID` int(10) unsigned NOT NULL DEFAULT '0', - `SplinePointIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', + `PathID` int unsigned NOT NULL DEFAULT '0', + `PointID` int unsigned NOT NULL DEFAULT '0', + `SplinePointIndex` tinyint unsigned NOT NULL DEFAULT '0', `PositionX` float NOT NULL DEFAULT '0', `PositionY` float NOT NULL DEFAULT '0', `PositionZ` float NOT NULL DEFAULT '0' @@ -3884,21 +3899,21 @@ CREATE TABLE `waypoint_data_addon` ( DROP TABLE IF EXISTS `waypoint_scripts`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `waypoint_scripts` ( - `id` int(11) unsigned NOT NULL DEFAULT '0', - `delay` int(11) unsigned NOT NULL DEFAULT '0', - `command` int(11) unsigned NOT NULL DEFAULT '0', - `datalong` int(11) unsigned NOT NULL DEFAULT '0', - `datalong2` int(11) unsigned NOT NULL DEFAULT '0', - `dataint` int(11) unsigned NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL DEFAULT '0', + `delay` int unsigned NOT NULL DEFAULT '0', + `command` int unsigned NOT NULL DEFAULT '0', + `datalong` int unsigned NOT NULL DEFAULT '0', + `datalong2` int unsigned NOT NULL DEFAULT '0', + `dataint` int unsigned NOT NULL DEFAULT '0', `x` float NOT NULL DEFAULT '0', `y` float NOT NULL DEFAULT '0', `z` float NOT NULL DEFAULT '0', `o` float NOT NULL DEFAULT '0', - `guid` int(11) NOT NULL DEFAULT '0', + `guid` int NOT NULL DEFAULT '0', PRIMARY KEY (`guid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3907,19 +3922,20 @@ CREATE TABLE `waypoint_scripts` ( DROP TABLE IF EXISTS `waypoints`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `waypoints` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `pointid` mediumint(8) unsigned NOT NULL DEFAULT '0', + `entry` int unsigned NOT NULL DEFAULT '0', + `pointid` int unsigned NOT NULL DEFAULT '0', `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', `orientation` float DEFAULT NULL, `velocity` float NOT NULL DEFAULT '0', - `delay` int(10) NOT NULL DEFAULT '0', - `point_comment` text COLLATE utf8mb4_unicode_ci, + `delay` int unsigned NOT NULL DEFAULT '0', + `smoothTransition` tinyint unsigned NOT NULL DEFAULT '0', + `point_comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`entry`,`pointid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=FIXED COMMENT='Creature waypoints'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Creature waypoints'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3928,10 +3944,10 @@ CREATE TABLE `waypoints` ( DROP TABLE IF EXISTS `world_map_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `world_map_template` ( - `mapID` int(11) unsigned NOT NULL DEFAULT '0', - `ScriptName` text COLLATE utf8mb4_unicode_ci, + `mapID` int unsigned NOT NULL DEFAULT '0', + `ScriptName` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci, PRIMARY KEY (`mapID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3942,12 +3958,12 @@ CREATE TABLE `world_map_template` ( DROP TABLE IF EXISTS `world_states`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `world_states` ( - `ID` int(5) unsigned NOT NULL, - `DefaultValue` int(8) NOT NULL DEFAULT '0', - `MapID` int(4) unsigned DEFAULT NULL, - `Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `ID` int unsigned NOT NULL, + `DefaultValue` int NOT NULL DEFAULT '0', + `MapID` int unsigned DEFAULT NULL, + `Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL, PRIMARY KEY (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3965,4 +3981,4 @@ CREATE TABLE `world_states` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2021-07-06 5:02:50 +-- Dump completed on 2022-01-09 0:15:09 diff --git a/sql/updates/auth/4.3.4/2021_07_06_00_auth.sql b/sql/old/4.3.4/auth/21071_2022_01_09/2021_07_06_00_auth.sql similarity index 100% rename from sql/updates/auth/4.3.4/2021_07_06_00_auth.sql rename to sql/old/4.3.4/auth/21071_2022_01_09/2021_07_06_00_auth.sql diff --git a/sql/updates/auth/4.3.4/2021_12_31_00_auth.sql b/sql/old/4.3.4/auth/21071_2022_01_09/2021_12_31_00_auth.sql similarity index 100% rename from sql/updates/auth/4.3.4/2021_12_31_00_auth.sql rename to sql/old/4.3.4/auth/21071_2022_01_09/2021_12_31_00_auth.sql diff --git a/sql/updates/auth/4.3.4/2022_01_01_00_auth.sql b/sql/old/4.3.4/auth/21071_2022_01_09/2022_01_01_00_auth.sql similarity index 100% rename from sql/updates/auth/4.3.4/2022_01_01_00_auth.sql rename to sql/old/4.3.4/auth/21071_2022_01_09/2022_01_01_00_auth.sql diff --git a/sql/updates/characters/4.3.4/2021_07_06_00_characters.sql b/sql/old/4.3.4/characters/21071_2022_01_09/2021_07_06_00_characters.sql similarity index 100% rename from sql/updates/characters/4.3.4/2021_07_06_00_characters.sql rename to sql/old/4.3.4/characters/21071_2022_01_09/2021_07_06_00_characters.sql diff --git a/sql/updates/characters/4.3.4/2021_07_29_00_characters.sql b/sql/old/4.3.4/characters/21071_2022_01_09/2021_07_29_00_characters.sql similarity index 100% rename from sql/updates/characters/4.3.4/2021_07_29_00_characters.sql rename to sql/old/4.3.4/characters/21071_2022_01_09/2021_07_29_00_characters.sql diff --git a/sql/updates/characters/4.3.4/2021_12_31_00_characters.sql b/sql/old/4.3.4/characters/21071_2022_01_09/2021_12_31_00_characters.sql similarity index 100% rename from sql/updates/characters/4.3.4/2021_12_31_00_characters.sql rename to sql/old/4.3.4/characters/21071_2022_01_09/2021_12_31_00_characters.sql diff --git a/sql/updates/characters/4.3.4/2021_12_31_01_characters.sql b/sql/old/4.3.4/characters/21071_2022_01_09/2021_12_31_01_characters.sql similarity index 100% rename from sql/updates/characters/4.3.4/2021_12_31_01_characters.sql rename to sql/old/4.3.4/characters/21071_2022_01_09/2021_12_31_01_characters.sql diff --git a/sql/updates/characters/4.3.4/2022_01_01_00_characters.sql b/sql/old/4.3.4/characters/21071_2022_01_09/2022_01_01_00_characters.sql similarity index 100% rename from sql/updates/characters/4.3.4/2022_01_01_00_characters.sql rename to sql/old/4.3.4/characters/21071_2022_01_09/2022_01_01_00_characters.sql diff --git a/sql/updates/hotfixes/4.3.4/2021_07_06_00_hotfixes.sql b/sql/old/4.3.4/hotfixes/21071_2022_01_09/2021_07_06_00_hotfixes.sql similarity index 100% rename from sql/updates/hotfixes/4.3.4/2021_07_06_00_hotfixes.sql rename to sql/old/4.3.4/hotfixes/21071_2022_01_09/2021_07_06_00_hotfixes.sql diff --git a/sql/updates/world/4.3.4/2021_07_06_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_07_06_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_07_06_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_07_06_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_07_07_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_07_07_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_07_07_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_07_07_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_07_07_01_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_07_07_01_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_07_07_01_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_07_07_01_world.sql diff --git a/sql/updates/world/4.3.4/2021_07_08_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_07_08_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_07_08_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_07_08_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_07_11_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_07_11_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_07_11_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_07_11_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_07_16_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_07_16_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_07_16_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_07_16_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_07_21_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_07_21_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_07_21_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_07_21_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_07_29_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_07_29_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_07_29_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_07_29_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_07_31_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_07_31_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_07_31_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_07_31_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_08_01_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_08_01_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_08_01_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_08_01_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_08_02_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_08_02_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_08_02_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_08_02_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_08_15_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_08_15_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_08_15_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_08_15_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_08_17_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_08_17_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_08_17_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_08_17_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_08_18_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_08_18_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_08_18_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_08_18_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_08_28_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_08_28_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_08_28_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_08_28_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_08_28_01_word.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_08_28_01_word.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_08_28_01_word.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_08_28_01_word.sql diff --git a/sql/updates/world/4.3.4/2021_08_28_02_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_08_28_02_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_08_28_02_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_08_28_02_world.sql diff --git a/sql/updates/world/4.3.4/2021_08_28_03_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_08_28_03_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_08_28_03_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_08_28_03_world.sql diff --git a/sql/updates/world/4.3.4/2021_08_29_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_08_29_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_08_29_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_08_29_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_08_30_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_08_30_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_08_30_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_08_30_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_09_12_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_09_12_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_09_12_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_09_12_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_09_13_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_09_13_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_09_13_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_09_13_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_10_30_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_10_30_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_10_30_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_10_30_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_10_30_01_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_10_30_01_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_10_30_01_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_10_30_01_world.sql diff --git a/sql/updates/world/4.3.4/2021_10_30_02_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_10_30_02_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_10_30_02_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_10_30_02_world.sql diff --git a/sql/updates/world/4.3.4/2021_12_02_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_12_02_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_12_02_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_12_02_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_12_27_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_12_27_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_12_27_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_12_27_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_12_27_01_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_12_27_01_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_12_27_01_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_12_27_01_world.sql diff --git a/sql/updates/world/4.3.4/2021_12_27_02_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_12_27_02_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_12_27_02_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_12_27_02_world.sql diff --git a/sql/updates/world/4.3.4/2021_12_28_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_12_28_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_12_28_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_12_28_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_12_31_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_12_31_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_12_31_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_12_31_00_world.sql diff --git a/sql/updates/world/4.3.4/2021_12_31_01_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_12_31_01_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_12_31_01_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_12_31_01_world.sql diff --git a/sql/updates/world/4.3.4/2021_12_31_02_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2021_12_31_02_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2021_12_31_02_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2021_12_31_02_world.sql diff --git a/sql/updates/world/4.3.4/2022_01_01_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2022_01_01_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2022_01_01_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2022_01_01_00_world.sql diff --git a/sql/updates/world/4.3.4/2022_01_01_01_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2022_01_01_01_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2022_01_01_01_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2022_01_01_01_world.sql diff --git a/sql/updates/world/4.3.4/2022_01_01_02_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2022_01_01_02_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2022_01_01_02_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2022_01_01_02_world.sql diff --git a/sql/updates/world/4.3.4/2022_01_05_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2022_01_05_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2022_01_05_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2022_01_05_00_world.sql diff --git a/sql/updates/world/4.3.4/2022_01_05_01_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2022_01_05_01_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2022_01_05_01_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2022_01_05_01_world.sql diff --git a/sql/updates/world/4.3.4/2022_01_05_02_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2022_01_05_02_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2022_01_05_02_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2022_01_05_02_world.sql diff --git a/sql/updates/world/4.3.4/2022_01_06_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2022_01_06_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2022_01_06_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2022_01_06_00_world.sql diff --git a/sql/updates/world/4.3.4/2022_01_08_00_world.sql b/sql/old/4.3.4/world/21071_2022_01_09/2022_01_08_00_world.sql similarity index 100% rename from sql/updates/world/4.3.4/2022_01_08_00_world.sql rename to sql/old/4.3.4/world/21071_2022_01_09/2022_01_08_00_world.sql diff --git a/sql/updates/auth/4.3.4/2022_01_09_00_auth.sql b/sql/updates/auth/4.3.4/2022_01_09_00_auth.sql new file mode 100644 index 00000000000..6368cc77ab0 --- /dev/null +++ b/sql/updates/auth/4.3.4/2022_01_09_00_auth.sql @@ -0,0 +1,2 @@ +-- TDB 434.22011 auth +UPDATE `updates` SET `state`='ARCHIVED'; diff --git a/sql/updates/characters/4.3.4/2022_01_09_00_characters.sql b/sql/updates/characters/4.3.4/2022_01_09_00_characters.sql new file mode 100644 index 00000000000..641489b6211 --- /dev/null +++ b/sql/updates/characters/4.3.4/2022_01_09_00_characters.sql @@ -0,0 +1,2 @@ +-- TDB 434.22011 characters +UPDATE `updates` SET `state`='ARCHIVED'; diff --git a/sql/updates/hotfixes/4.3.4/2022_01_09_00_hotfixes.sql b/sql/updates/hotfixes/4.3.4/2022_01_09_00_hotfixes.sql new file mode 100644 index 00000000000..2a02330f0da --- /dev/null +++ b/sql/updates/hotfixes/4.3.4/2022_01_09_00_hotfixes.sql @@ -0,0 +1,2 @@ +-- TDB 434.22011 hotfixes +UPDATE `updates` SET `state`='ARCHIVED'; diff --git a/sql/updates/world/4.3.4/2022_01_09_00_world.sql b/sql/updates/world/4.3.4/2022_01_09_00_world.sql new file mode 100644 index 00000000000..25d786bf62c --- /dev/null +++ b/sql/updates/world/4.3.4/2022_01_09_00_world.sql @@ -0,0 +1,3 @@ +-- TDB 434.22011 world +UPDATE `version` SET `db_version`='TDB 434.22011', `cache_id`=22011 LIMIT 1; +UPDATE `updates` SET `state`='ARCHIVED';