diff options
-rw-r--r-- | revision_data.h.in.cmake | 2 | ||||
-rw-r--r-- | sql/base/auth_database.sql | 223 | ||||
-rw-r--r-- | sql/base/characters_database.sql | 1473 | ||||
-rw-r--r-- | sql/base/dev/world_database.sql | 3278 | ||||
-rw-r--r-- | sql/old/3.3.5a/auth/21111_2021_12_16/2021_11_15_00_auth.sql (renamed from sql/updates/auth/3.3.5/2021_11_15_00_auth.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/characters/21111_2021_12_16/2021_11_15_00_characters.sql (renamed from sql/updates/characters/3.3.5/2021_11_15_00_characters.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_15_00_world.sql (renamed from sql/updates/world/3.3.5/2021_11_15_00_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_17_00_world.sql (renamed from sql/updates/world/3.3.5/2021_11_17_00_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_17_01_world.sql (renamed from sql/updates/world/3.3.5/2021_11_17_01_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_17_02_world.sql (renamed from sql/updates/world/3.3.5/2021_11_17_02_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_00_world.sql (renamed from sql/updates/world/3.3.5/2021_11_20_00_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_01_world.sql (renamed from sql/updates/world/3.3.5/2021_11_20_01_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_02_world.sql (renamed from sql/updates/world/3.3.5/2021_11_20_02_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_03_world.sql (renamed from sql/updates/world/3.3.5/2021_11_20_03_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_04_world.sql (renamed from sql/updates/world/3.3.5/2021_11_20_04_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_05_world.sql (renamed from sql/updates/world/3.3.5/2021_11_20_05_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_06_world.sql (renamed from sql/updates/world/3.3.5/2021_11_20_06_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_24_00_world.sql (renamed from sql/updates/world/3.3.5/2021_11_24_00_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_28_00_world.sql (renamed from sql/updates/world/3.3.5/2021_11_28_00_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_28_01_world.sql (renamed from sql/updates/world/3.3.5/2021_11_28_01_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_28_02_world.sql (renamed from sql/updates/world/3.3.5/2021_11_28_02_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_28_03_world_335.sql (renamed from sql/updates/world/3.3.5/2021_11_28_03_world_335.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_30_00_world_335.sql (renamed from sql/updates/world/3.3.5/2021_11_30_00_world_335.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_30_01_world_335.sql (renamed from sql/updates/world/3.3.5/2021_11_30_01_world_335.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_30_02_world.sql (renamed from sql/updates/world/3.3.5/2021_11_30_02_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_11_30_03_world.sql (renamed from sql/updates/world/3.3.5/2021_11_30_03_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_00_world.sql (renamed from sql/updates/world/3.3.5/2021_12_01_00_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_01_world.sql (renamed from sql/updates/world/3.3.5/2021_12_01_01_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_02_world.sql (renamed from sql/updates/world/3.3.5/2021_12_01_02_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_03_world.sql (renamed from sql/updates/world/3.3.5/2021_12_01_03_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_04_world.sql (renamed from sql/updates/world/3.3.5/2021_12_01_04_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_05_world.sql (renamed from sql/updates/world/3.3.5/2021_12_01_05_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_06_00_world.sql (renamed from sql/updates/world/3.3.5/2021_12_06_00_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_06_01_world_335.sql (renamed from sql/updates/world/3.3.5/2021_12_06_01_world_335.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_06_02_world_335.sql (renamed from sql/updates/world/3.3.5/2021_12_06_02_world_335.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_06_03_world_335.sql (renamed from sql/updates/world/3.3.5/2021_12_06_03_world_335.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_00_world_335.sql (renamed from sql/updates/world/3.3.5/2021_12_09_00_world_335.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_01_world.sql (renamed from sql/updates/world/3.3.5/2021_12_09_01_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_02_world_335.sql (renamed from sql/updates/world/3.3.5/2021_12_09_02_world_335.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_03_world.sql (renamed from sql/updates/world/3.3.5/2021_12_09_03_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_04_world.sql (renamed from sql/updates/world/3.3.5/2021_12_09_04_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_05_world.sql (renamed from sql/updates/world/3.3.5/2021_12_09_05_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_11_00_world.sql (renamed from sql/updates/world/3.3.5/2021_12_11_00_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_11_01_world_335.sql (renamed from sql/updates/world/3.3.5/2021_12_11_01_world_335.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_11_02_world_335.sql (renamed from sql/updates/world/3.3.5/2021_12_11_02_world_335.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_11_03_world.sql (renamed from sql/updates/world/3.3.5/2021_12_11_03_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_13_00_world.sql (renamed from sql/updates/world/3.3.5/2021_12_13_00_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_13_01_world.sql (renamed from sql/updates/world/3.3.5/2021_12_13_01_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_13_02_world.sql (renamed from sql/updates/world/3.3.5/2021_12_13_02_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_13_03_world.sql (renamed from sql/updates/world/3.3.5/2021_12_13_03_world.sql) | 0 | ||||
-rw-r--r-- | sql/old/3.3.5a/world/21111_2021_12_16/2021_12_16_00_world.sql (renamed from sql/updates/world/3.3.5/2021_12_16_00_world.sql) | 0 | ||||
-rw-r--r-- | sql/updates/auth/3.3.5/2021_12_16_00_auth.sql | 2 | ||||
-rw-r--r-- | sql/updates/characters/3.3.5/2021_12_16_00_characters.sql | 2 | ||||
-rw-r--r-- | sql/updates/world/3.3.5/2021_12_16_01_world.sql | 3 |
54 files changed, 2496 insertions, 2487 deletions
diff --git a/revision_data.h.in.cmake b/revision_data.h.in.cmake index 7df2c587eca..d897f58d6c9 100644 --- a/revision_data.h.in.cmake +++ b/revision_data.h.in.cmake @@ -9,7 +9,7 @@ #define _SOURCE_DIRECTORY R"(@CMAKE_SOURCE_DIR@)" #define _BUILD_DIRECTORY R"(@BUILDDIR@)" #define _MYSQL_EXECUTABLE R"(@MYSQL_EXECUTABLE@)" - #define _FULL_DATABASE "TDB_full_world_335.21111_2021_11_15.sql" + #define _FULL_DATABASE "TDB_full_world_335.21121_2021_12_16.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 e3e671ccb65..0b7a5e69f96 100644 --- a/sql/base/auth_database.sql +++ b/sql/base/auth_database.sql @@ -1,13 +1,13 @@ --- MySQL dump 10.13 Distrib 5.7.36, for Linux (x86_64) +-- MySQL dump 10.13 Distrib 8.0.26, for Linux (x86_64) -- -- Host: localhost Database: auth -- ------------------------------------------------------ --- Server version 5.7.36 +-- 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 utf8 */; +/*!50503 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; @@ -21,9 +21,9 @@ DROP TABLE IF EXISTS `account`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `account` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier', + `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier', `username` varchar(32) NOT NULL DEFAULT '', `salt` binary(32) NOT NULL, `verifier` binary(32) NOT NULL, @@ -35,21 +35,21 @@ CREATE TABLE `account` ( `joindate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `last_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1', `last_attempt_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1', - `failed_logins` int(10) unsigned NOT NULL DEFAULT '0', - `locked` tinyint(3) unsigned NOT NULL DEFAULT '0', + `failed_logins` int unsigned NOT NULL DEFAULT '0', + `locked` tinyint unsigned NOT NULL DEFAULT '0', `lock_country` varchar(2) NOT NULL DEFAULT '00', `last_login` timestamp NULL DEFAULT NULL, - `online` tinyint(3) unsigned NOT NULL DEFAULT '0', - `expansion` tinyint(3) unsigned NOT NULL DEFAULT '2', - `mutetime` bigint(20) NOT NULL DEFAULT '0', + `online` tinyint unsigned NOT NULL DEFAULT '0', + `expansion` tinyint unsigned NOT NULL DEFAULT '2', + `mutetime` bigint NOT NULL DEFAULT '0', `mutereason` varchar(255) NOT NULL DEFAULT '', `muteby` varchar(50) NOT NULL DEFAULT '', - `locale` tinyint(3) unsigned NOT NULL DEFAULT '0', + `locale` tinyint unsigned NOT NULL DEFAULT '0', `os` varchar(3) NOT NULL DEFAULT '', - `recruiter` int(10) unsigned NOT NULL DEFAULT '0', + `recruiter` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `idx_username` (`username`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Account System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Account System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -67,14 +67,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `account_access`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `account_access` ( - `AccountID` int(10) unsigned NOT NULL, - `SecurityLevel` tinyint(3) unsigned NOT NULL, - `RealmID` int(11) NOT NULL DEFAULT '-1', + `AccountID` int unsigned NOT NULL, + `SecurityLevel` tinyint unsigned NOT NULL, + `RealmID` int NOT NULL DEFAULT '-1', `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`AccountID`,`RealmID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -92,16 +92,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `account_banned`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account id', + `bandate` int unsigned NOT NULL DEFAULT '0', + `unbandate` int unsigned NOT NULL DEFAULT '0', `bannedby` varchar(50) NOT NULL, `banreason` varchar(255) NOT NULL, - `active` tinyint(3) unsigned NOT NULL DEFAULT '1', + `active` tinyint unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`,`bandate`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Ban List'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Ban List'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -119,15 +119,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `account_muted`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `mutedate` int unsigned NOT NULL DEFAULT '0', + `mutetime` int unsigned NOT NULL DEFAULT '0', `mutedby` varchar(50) NOT NULL, `mutereason` varchar(255) NOT NULL, PRIMARY KEY (`guid`,`mutedate`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='mute List'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='mute List'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -145,14 +145,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `autobroadcast`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `realmid` int NOT NULL DEFAULT '-1', + `id` tinyint unsigned NOT NULL AUTO_INCREMENT, + `weight` tinyint unsigned DEFAULT '1', `text` longtext NOT NULL, PRIMARY KEY (`id`,`realmid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -170,12 +170,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `build_info`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `build_info` ( - `build` int(11) NOT NULL, - `majorVersion` int(11) DEFAULT NULL, - `minorVersion` int(11) DEFAULT NULL, - `bugfixVersion` int(11) DEFAULT NULL, + `build` int NOT NULL, + `majorVersion` int DEFAULT NULL, + `minorVersion` int DEFAULT NULL, + `bugfixVersion` int DEFAULT NULL, `hotfixVersion` char(3) DEFAULT NULL, `winAuthSeed` varchar(32) DEFAULT NULL, `win64AuthSeed` varchar(32) DEFAULT NULL, @@ -183,7 +183,7 @@ CREATE TABLE `build_info` ( `winChecksumSeed` varchar(40) DEFAULT NULL, `macChecksumSeed` varchar(40) DEFAULT NULL, PRIMARY KEY (`build`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -286,15 +286,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `ip_banned`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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, + `bandate` int unsigned NOT NULL, + `unbandate` int unsigned NOT NULL, `bannedby` varchar(50) NOT NULL DEFAULT '[Console]', `banreason` varchar(255) NOT NULL DEFAULT 'no reason', PRIMARY KEY (`ip`,`bandate`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Banned IPs'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Banned IPs'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -312,14 +312,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `logs`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `logs` ( - `time` int(10) unsigned NOT NULL, - `realm` int(10) unsigned NOT NULL, + `time` int unsigned NOT NULL, + `realm` int unsigned NOT NULL, `type` varchar(250) NOT NULL, - `level` tinyint(3) unsigned NOT NULL DEFAULT '0', - `string` text CHARACTER SET latin1 -) ENGINE=InnoDB DEFAULT CHARSET=utf8; + `level` tinyint unsigned NOT NULL DEFAULT '0', + `string` text CHARACTER SET latin1 COLLATE latin1_swedish_ci +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -337,20 +337,20 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `logs_ip_actions`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', - `realm_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Realm ID', - `type` tinyint(3) unsigned NOT NULL, + `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Identifier', + `account_id` int unsigned NOT NULL COMMENT 'Account ID', + `character_guid` int unsigned NOT NULL COMMENT 'Character Guid', + `realm_id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Realm ID', + `type` tinyint 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', + `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', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Used to log ips of individual actions'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Used to log ips of individual actions'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -368,17 +368,17 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `rbac_account_permissions`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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, CONSTRAINT `fk__rbac_account_roles__rbac_permissions` FOREIGN KEY (`permissionId`) REFERENCES `rbac_permissions` (`id`) ON DELETE CASCADE -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Account-Permission relation'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Account-Permission relation'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -396,15 +396,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `rbac_default_permissions`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Default permission to assign to different account security levels'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Default permission to assign to different account security levels'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -427,16 +427,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `rbac_linked_permissions`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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`), CONSTRAINT `fk__rbac_linked_permissions__rbac_permissions1` FOREIGN KEY (`id`) REFERENCES `rbac_permissions` (`id`) ON DELETE CASCADE, CONSTRAINT `fk__rbac_linked_permissions__rbac_permissions2` FOREIGN KEY (`linkedId`) REFERENCES `rbac_permissions` (`id`) ON DELETE CASCADE -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Permission - Linked Permission relation'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Permission - Linked Permission relation'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1106,12 +1106,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `rbac_permissions`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `rbac_permissions` ( - `id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Permission id', + `id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Permission id', `name` varchar(100) NOT NULL COMMENT 'Permission name', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Permission List'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Permission List'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1799,14 +1799,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `realmcharacters`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Realm Character Tracker'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Realm Character Tracker'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1824,23 +1824,23 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `realmlist`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `realmlist` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `id` int unsigned NOT NULL AUTO_INCREMENT, `name` varchar(32) NOT NULL DEFAULT '', `address` varchar(255) NOT NULL DEFAULT '127.0.0.1', `localAddress` varchar(255) NOT NULL DEFAULT '127.0.0.1', `localSubnetMask` varchar(255) NOT NULL DEFAULT '255.255.255.0', - `port` smallint(5) unsigned NOT NULL DEFAULT '8085', - `icon` tinyint(3) unsigned NOT NULL DEFAULT '0', - `flag` tinyint(3) unsigned NOT NULL DEFAULT '2', - `timezone` tinyint(3) unsigned NOT NULL DEFAULT '0', - `allowedSecurityLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', + `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 '12340', + `gamebuild` int unsigned NOT NULL DEFAULT '12340', PRIMARY KEY (`id`), UNIQUE KEY `idx_name` (`name`) -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='Realm System'; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COMMENT='Realm System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1860,12 +1860,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `secret_digest`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `secret_digest` ( - `id` int(10) unsigned NOT NULL, + `id` int unsigned NOT NULL, `digest` varchar(100) NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1883,15 +1883,15 @@ UNLOCK TABLES; 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) NOT NULL COMMENT 'filename with extension of the update.', `hash` char(40) DEFAULT '' COMMENT 'sha1 hash of the sql file.', `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', - `speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', + `speed` int unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', PRIMARY KEY (`name`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of all applied updates in this database.'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='List of all applied updates in this database.'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1995,7 +1995,8 @@ INSERT INTO `updates` VALUES ('2021_08_15_00_auth.sql','256E06BF052C246B92B61AD7DD6233D98EEA6E9E','ARCHIVED','2021-08-15 16:59:31',0), ('2021_09_28_00_auth.sql','07B3ECF2EBAF1F1C3692059CB3A05B1088A93E18','ARCHIVED','2021-09-28 20:48:10',0), ('2021_10_15_00_auth.sql','4FFD29A3ED1DB13874E755A84BFD7ABA2DF5C2DB','ARCHIVED','2021-10-15 08:43:41',0), -('2021_11_15_00_auth.sql','82D88B06301130C7149E21A991364F62279E219B','ARCHIVED','2021-11-15 16:22:37',0); +('2021_11_15_00_auth.sql','82D88B06301130C7149E21A991364F62279E219B','ARCHIVED','2021-11-15 16:22:37',0), +('2021_12_16_00_auth.sql','A0765C5337833E827B029A5E29F8B7601C81F89E','ARCHIVED','2021-12-16 21:17:10',0); /*!40000 ALTER TABLE `updates` ENABLE KEYS */; UNLOCK TABLES; @@ -2005,12 +2006,12 @@ UNLOCK TABLES; 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) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', PRIMARY KEY (`path`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of directories where we want to include sql updates.'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='List of directories where we want to include sql updates.'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2032,15 +2033,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `uptime`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `realmid` int unsigned NOT NULL, + `starttime` int unsigned NOT NULL DEFAULT '0', + `uptime` int unsigned NOT NULL DEFAULT '0', + `maxplayers` smallint unsigned NOT NULL DEFAULT '0', `revision` varchar(255) NOT NULL DEFAULT 'Trinitycore', PRIMARY KEY (`realmid`,`starttime`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Uptime system'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Uptime system'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2053,13 +2054,13 @@ LOCK TABLES `uptime` WRITE; UNLOCK TABLES; -- --- Temporary table structure for view `vw_log_history` +-- Temporary view structure for view `vw_log_history` -- DROP TABLE IF EXISTS `vw_log_history`; /*!50001 DROP VIEW IF EXISTS `vw_log_history`*/; SET @saved_cs_client = @@character_set_client; -SET character_set_client = utf8; +/*!50503 SET character_set_client = utf8mb4 */; /*!50001 CREATE VIEW `vw_log_history` AS SELECT 1 AS `First Logged`, 1 AS `Last Logged`, @@ -2071,13 +2072,13 @@ SET character_set_client = utf8; SET character_set_client = @saved_cs_client; -- --- Temporary table structure for view `vw_rbac` +-- Temporary view structure for view `vw_rbac` -- DROP TABLE IF EXISTS `vw_rbac`; /*!50001 DROP VIEW IF EXISTS `vw_rbac`*/; SET @saved_cs_client = @@character_set_client; -SET character_set_client = utf8; +/*!50503 SET character_set_client = utf8mb4 */; /*!50001 CREATE VIEW `vw_rbac` AS SELECT 1 AS `Permission ID`, 1 AS `Permission Group`, @@ -2102,7 +2103,7 @@ SET character_set_client = @saved_cs_client; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 */ -/*!50001 VIEW `vw_log_history` AS (select from_unixtime(min(`logs`.`time`)) AS `First Logged`,from_unixtime(max(`logs`.`time`)) AS `Last Logged`,count(0) AS `Occurrences`,`realmlist`.`name` AS `Realm`,`logs`.`type` AS `type`,`logs`.`level` AS `level`,`logs`.`string` AS `string` from (`logs` left join `realmlist` on((`logs`.`realm` = `realmlist`.`id`))) group by `logs`.`string`,`logs`.`type`,`logs`.`realm`) */; +/*!50001 VIEW `vw_log_history` AS select from_unixtime(min(`logs`.`time`)) AS `First Logged`,from_unixtime(max(`logs`.`time`)) AS `Last Logged`,count(0) AS `Occurrences`,`realmlist`.`name` AS `Realm`,`logs`.`type` AS `type`,`logs`.`level` AS `level`,`logs`.`string` AS `string` from (`logs` left join `realmlist` on((`logs`.`realm` = `realmlist`.`id`))) group by `logs`.`string`,`logs`.`type`,`logs`.`realm` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; @@ -2120,7 +2121,7 @@ SET character_set_client = @saved_cs_client; /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 */ -/*!50001 VIEW `vw_rbac` AS (select `t1`.`linkedId` AS `Permission ID`,`t1`.`id` AS `Permission Group`,ifnull(`t2`.`secId`,'linked') AS `Security Level`,`t3`.`name` AS `Permission` from ((`rbac_linked_permissions` `t1` left join `rbac_default_permissions` `t2` on((`t1`.`id` = `t2`.`permissionId`))) left join `rbac_permissions` `t3` on((`t1`.`linkedId` = `t3`.`id`)))) */; +/*!50001 VIEW `vw_rbac` AS select `t1`.`linkedId` AS `Permission ID`,`t1`.`id` AS `Permission Group`,ifnull(`t2`.`secId`,'linked') AS `Security Level`,`t3`.`name` AS `Permission` from ((`rbac_linked_permissions` `t1` left join `rbac_default_permissions` `t2` on((`t1`.`id` = `t2`.`permissionId`))) left join `rbac_permissions` `t3` on((`t1`.`linkedId` = `t3`.`id`))) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; @@ -2134,4 +2135,4 @@ SET character_set_client = @saved_cs_client; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2021-11-15 16:22:43 +-- Dump completed on 2021-12-16 21:17:13 diff --git a/sql/base/characters_database.sql b/sql/base/characters_database.sql index b82bf12edb2..e9b9f6336d0 100644 --- a/sql/base/characters_database.sql +++ b/sql/base/characters_database.sql @@ -1,13 +1,13 @@ --- MySQL dump 10.13 Distrib 5.7.36, for Linux (x86_64) +-- MySQL dump 10.13 Distrib 8.0.26, for Linux (x86_64) -- -- Host: localhost Database: characters -- ------------------------------------------------------ --- Server version 5.7.36 +-- 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 utf8 */; +/*!50503 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; @@ -21,14 +21,14 @@ DROP TABLE IF EXISTS `account_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -46,13 +46,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `account_instance_times`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -70,19 +70,19 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `account_tutorial`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -100,12 +100,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `addons`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `addons` ( `name` varchar(120) NOT NULL DEFAULT '', - `crc` int(10) unsigned NOT NULL DEFAULT '0', + `crc` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`name`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Addons'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Addons'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -147,25 +147,25 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `arena_team`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `arena_team` ( - `arenaTeamId` int(10) unsigned NOT NULL DEFAULT '0', + `arenaTeamId` int unsigned NOT NULL DEFAULT '0', `name` varchar(24) NOT NULL, - `captainGuid` int(10) unsigned NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `rating` smallint(5) unsigned NOT NULL DEFAULT '0', - `seasonGames` smallint(5) unsigned NOT NULL DEFAULT '0', - `seasonWins` smallint(5) unsigned NOT NULL DEFAULT '0', - `weekGames` smallint(5) unsigned NOT NULL DEFAULT '0', - `weekWins` smallint(5) unsigned NOT NULL DEFAULT '0', - `rank` int(10) unsigned NOT NULL DEFAULT '0', - `backgroundColor` int(10) unsigned NOT NULL DEFAULT '0', - `emblemStyle` tinyint(3) unsigned NOT NULL DEFAULT '0', - `emblemColor` int(10) unsigned NOT NULL DEFAULT '0', - `borderStyle` tinyint(3) unsigned NOT NULL DEFAULT '0', - `borderColor` int(10) unsigned NOT NULL DEFAULT '0', + `captainGuid` int unsigned NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL DEFAULT '0', + `rating` smallint unsigned NOT NULL DEFAULT '0', + `seasonGames` smallint unsigned NOT NULL DEFAULT '0', + `seasonWins` smallint unsigned NOT NULL DEFAULT '0', + `weekGames` smallint unsigned NOT NULL DEFAULT '0', + `weekWins` smallint unsigned NOT NULL DEFAULT '0', + `rank` int unsigned NOT NULL DEFAULT '0', + `backgroundColor` int unsigned NOT NULL DEFAULT '0', + `emblemStyle` tinyint unsigned NOT NULL DEFAULT '0', + `emblemColor` int unsigned NOT NULL DEFAULT '0', + `borderStyle` tinyint unsigned NOT NULL DEFAULT '0', + `borderColor` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`arenaTeamId`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -183,17 +183,17 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `arena_team_member`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -211,12 +211,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `auctionbidders`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -234,22 +234,22 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `auctionhouse`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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` int(10) unsigned NOT NULL DEFAULT '0', - `time` int(10) unsigned NOT NULL DEFAULT '0', - `buyguid` int(10) unsigned NOT NULL DEFAULT '0', - `lastbid` int(10) unsigned NOT NULL DEFAULT '0', - `startbid` int(10) unsigned NOT NULL DEFAULT '0', - `deposit` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) 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` int unsigned NOT NULL DEFAULT '0', + `time` int unsigned NOT NULL DEFAULT '0', + `buyguid` int unsigned NOT NULL DEFAULT '0', + `lastbid` int unsigned NOT NULL DEFAULT '0', + `startbid` int unsigned NOT NULL DEFAULT '0', + `deposit` int unsigned NOT NULL DEFAULT '0', + `Flags` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `item_guid` (`itemguid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -267,15 +267,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `banned_addons`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `banned_addons` ( - `Id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `Id` int unsigned NOT NULL AUTO_INCREMENT, `Name` varchar(255) NOT NULL, `Version` varchar(255) NOT NULL DEFAULT '', `Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`Id`), UNIQUE KEY `idx_name_ver` (`Name`,`Version`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -293,10 +293,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `battleground_deserters`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=latin1; /*!40101 SET character_set_client = @saved_cs_client */; @@ -316,13 +316,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `bugreport`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `bugreport` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier', + `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier', `type` longtext NOT NULL, `content` longtext NOT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Debug System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Debug System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -340,19 +340,19 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `calendar_events`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `id` bigint unsigned NOT NULL DEFAULT '0', + `creator` int unsigned NOT NULL DEFAULT '0', `title` varchar(255) NOT NULL DEFAULT '', `description` varchar(255) NOT NULL DEFAULT '', - `type` tinyint(1) unsigned NOT NULL DEFAULT '4', - `dungeon` int(10) NOT NULL DEFAULT '-1', - `eventtime` int(10) unsigned NOT NULL DEFAULT '0', - `flags` int(10) unsigned NOT NULL DEFAULT '0', - `time2` int(10) unsigned NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL DEFAULT '4', + `dungeon` int NOT NULL DEFAULT '-1', + `eventtime` int unsigned NOT NULL DEFAULT '0', + `flags` int unsigned NOT NULL DEFAULT '0', + `time2` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -370,18 +370,18 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `calendar_invites`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `id` bigint unsigned NOT NULL DEFAULT '0', + `event` bigint unsigned NOT NULL DEFAULT '0', + `invitee` int unsigned NOT NULL DEFAULT '0', + `sender` int unsigned NOT NULL DEFAULT '0', + `status` tinyint unsigned NOT NULL DEFAULT '0', + `statustime` int unsigned NOT NULL DEFAULT '0', + `rank` tinyint unsigned NOT NULL DEFAULT '0', `text` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -399,17 +399,17 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `channels`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `team` int unsigned NOT NULL, + `announce` tinyint unsigned NOT NULL DEFAULT '1', + `ownership` tinyint unsigned NOT NULL DEFAULT '1', `password` varchar(32) DEFAULT NULL, `bannedList` text, - `lastUsed` int(10) unsigned NOT NULL, + `lastUsed` int unsigned NOT NULL, PRIMARY KEY (`name`,`team`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Channel System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Channel System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -427,14 +427,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_account_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -452,13 +452,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_achievement`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -476,14 +476,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_achievement_progress`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_achievement_progress` ( - `guid` int(10) unsigned NOT NULL, - `criteria` smallint(5) unsigned NOT NULL, - `counter` int(10) unsigned NOT NULL, - `date` int(10) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL, + `criteria` smallint unsigned NOT NULL, + `counter` int unsigned NOT NULL, + `date` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`criteria`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -501,15 +501,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_action`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -527,13 +527,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_arena_stats`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -551,28 +551,28 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_aura`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', - `itemGuid` bigint(20) unsigned NOT NULL DEFAULT '0', - `spell` mediumint(8) unsigned NOT NULL DEFAULT '0', - `effectMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stackCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `amount0` int(11) NOT NULL DEFAULT '0', - `amount1` int(11) NOT NULL DEFAULT '0', - `amount2` int(11) NOT NULL DEFAULT '0', - `base_amount0` int(11) NOT NULL DEFAULT '0', - `base_amount1` int(11) NOT NULL DEFAULT '0', - `base_amount2` int(11) NOT NULL DEFAULT '0', - `maxDuration` int(11) NOT NULL DEFAULT '0', - `remainTime` int(11) NOT NULL DEFAULT '0', - `remainCharges` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `casterGuid` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier', + `itemGuid` bigint unsigned NOT NULL DEFAULT '0', + `spell` mediumint unsigned NOT NULL DEFAULT '0', + `effectMask` tinyint unsigned NOT NULL DEFAULT '0', + `recalculateMask` tinyint unsigned NOT NULL DEFAULT '0', + `stackCount` tinyint unsigned NOT NULL DEFAULT '1', + `amount0` int NOT NULL DEFAULT '0', + `amount1` int NOT NULL DEFAULT '0', + `amount2` int NOT NULL DEFAULT '0', + `base_amount0` int NOT NULL DEFAULT '0', + `base_amount1` int NOT NULL DEFAULT '0', + `base_amount2` int NOT NULL DEFAULT '0', + `maxDuration` int NOT NULL DEFAULT '0', + `remainTime` int NOT NULL DEFAULT '0', + `remainCharges` tinyint unsigned NOT NULL DEFAULT '0', `critChance` float NOT NULL DEFAULT '0', - `applyResilience` tinyint(3) NOT NULL DEFAULT '0', + `applyResilience` tinyint NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`casterGuid`,`itemGuid`,`spell`,`effectMask`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -590,16 +590,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_banned`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `bandate` int unsigned NOT NULL DEFAULT '0', + `unbandate` int unsigned NOT NULL DEFAULT '0', `bannedby` varchar(50) NOT NULL, `banreason` varchar(255) NOT NULL, - `active` tinyint(3) unsigned NOT NULL DEFAULT '1', + `active` tinyint unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`guid`,`bandate`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Ban List'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Ban List'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -617,21 +617,21 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_battleground_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -649,11 +649,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_battleground_random`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -671,16 +671,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_declinedname`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_declinedname` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', `genitive` varchar(15) NOT NULL DEFAULT '', `dative` varchar(15) NOT NULL DEFAULT '', `accusative` varchar(15) NOT NULL DEFAULT '', `instrumental` varchar(15) NOT NULL DEFAULT '', `prepositional` varchar(15) NOT NULL DEFAULT '', PRIMARY KEY (`guid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -698,37 +698,37 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_equipmentsets`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `guid` int unsigned NOT NULL DEFAULT '0', + `setguid` bigint unsigned NOT NULL AUTO_INCREMENT, + `setindex` tinyint unsigned NOT NULL DEFAULT '0', `name` varchar(31) NOT NULL, `iconname` varchar(100) NOT NULL, - `ignore_mask` int(11) unsigned NOT NULL DEFAULT '0', - `item0` int(11) unsigned NOT NULL DEFAULT '0', - `item1` int(11) unsigned NOT NULL DEFAULT '0', - `item2` int(11) unsigned NOT NULL DEFAULT '0', - `item3` int(11) unsigned NOT NULL DEFAULT '0', - `item4` int(11) unsigned NOT NULL DEFAULT '0', - `item5` int(11) unsigned NOT NULL DEFAULT '0', - `item6` int(11) unsigned NOT NULL DEFAULT '0', - `item7` int(11) unsigned NOT NULL DEFAULT '0', - `item8` int(11) unsigned NOT NULL DEFAULT '0', - `item9` int(11) unsigned NOT NULL DEFAULT '0', - `item10` int(11) unsigned NOT NULL DEFAULT '0', - `item11` int(11) unsigned NOT NULL DEFAULT '0', - `item12` int(11) unsigned NOT NULL DEFAULT '0', - `item13` int(11) unsigned NOT NULL DEFAULT '0', - `item14` int(11) unsigned NOT NULL DEFAULT '0', - `item15` int(11) unsigned NOT NULL DEFAULT '0', - `item16` int(11) unsigned NOT NULL DEFAULT '0', - `item17` int(11) unsigned NOT NULL DEFAULT '0', - `item18` int(11) unsigned NOT NULL DEFAULT '0', + `ignore_mask` int unsigned NOT NULL DEFAULT '0', + `item0` int unsigned NOT NULL DEFAULT '0', + `item1` int unsigned NOT NULL DEFAULT '0', + `item2` int unsigned NOT NULL DEFAULT '0', + `item3` int unsigned NOT NULL DEFAULT '0', + `item4` int unsigned NOT NULL DEFAULT '0', + `item5` int unsigned NOT NULL DEFAULT '0', + `item6` int unsigned NOT NULL DEFAULT '0', + `item7` int unsigned NOT NULL DEFAULT '0', + `item8` int unsigned NOT NULL DEFAULT '0', + `item9` int unsigned NOT NULL DEFAULT '0', + `item10` int unsigned NOT NULL DEFAULT '0', + `item11` int unsigned NOT NULL DEFAULT '0', + `item12` int unsigned NOT NULL DEFAULT '0', + `item13` int unsigned NOT NULL DEFAULT '0', + `item14` int unsigned NOT NULL DEFAULT '0', + `item15` int unsigned NOT NULL DEFAULT '0', + `item16` int unsigned NOT NULL DEFAULT '0', + `item17` int unsigned NOT NULL DEFAULT '0', + `item18` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`setguid`), UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`), KEY `Idx_setindex` (`setindex`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -746,12 +746,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_fishingsteps`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -769,15 +769,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_gifts`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -795,18 +795,18 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_glyphs`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `guid` int unsigned NOT NULL, + `talentGroup` tinyint unsigned NOT NULL DEFAULT '0', + `glyph1` smallint unsigned DEFAULT '0', + `glyph2` smallint unsigned DEFAULT '0', + `glyph3` smallint unsigned DEFAULT '0', + `glyph4` smallint unsigned DEFAULT '0', + `glyph5` smallint unsigned DEFAULT '0', + `glyph6` smallint unsigned DEFAULT '0', PRIMARY KEY (`guid`,`talentGroup`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -824,16 +824,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_homebind`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', PRIMARY KEY (`guid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -851,15 +851,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_instance`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -877,16 +877,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_inventory`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -904,29 +904,29 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_pet`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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` mediumint(8) unsigned NOT NULL DEFAULT '0', - `PetType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `level` smallint(5) unsigned NOT NULL DEFAULT '1', - `exp` int(10) unsigned NOT NULL DEFAULT '0', - `Reactstate` tinyint(3) unsigned NOT NULL DEFAULT '0', + `id` int unsigned NOT NULL DEFAULT '0', + `entry` int unsigned NOT NULL DEFAULT '0', + `owner` int unsigned NOT NULL DEFAULT '0', + `modelid` int unsigned DEFAULT '0', + `CreatedBySpell` mediumint unsigned NOT NULL DEFAULT '0', + `PetType` tinyint unsigned NOT NULL DEFAULT '0', + `level` smallint unsigned NOT NULL DEFAULT '1', + `exp` int unsigned NOT NULL DEFAULT '0', + `Reactstate` tinyint unsigned NOT NULL DEFAULT '0', `name` varchar(21) NOT NULL DEFAULT 'Pet', - `renamed` tinyint(3) unsigned NOT NULL DEFAULT '0', - `slot` tinyint(3) unsigned NOT NULL DEFAULT '0', - `curhealth` int(10) unsigned NOT NULL DEFAULT '1', - `curmana` int(10) unsigned NOT NULL DEFAULT '0', - `curhappiness` int(10) unsigned NOT NULL DEFAULT '0', - `savetime` int(10) unsigned NOT NULL DEFAULT '0', + `renamed` tinyint unsigned NOT NULL DEFAULT '0', + `slot` tinyint unsigned NOT NULL DEFAULT '0', + `curhealth` int unsigned NOT NULL DEFAULT '1', + `curmana` int unsigned NOT NULL DEFAULT '0', + `curhappiness` int unsigned NOT NULL DEFAULT '0', + `savetime` int unsigned NOT NULL DEFAULT '0', `abdata` text, PRIMARY KEY (`id`), KEY `owner` (`owner`), KEY `idx_slot` (`slot`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Pet System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -944,10 +944,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_pet_declinedname`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `id` int unsigned NOT NULL DEFAULT '0', + `owner` int unsigned NOT NULL DEFAULT '0', `genitive` varchar(12) NOT NULL DEFAULT '', `dative` varchar(12) NOT NULL DEFAULT '', `accusative` varchar(12) NOT NULL DEFAULT '', @@ -955,7 +955,7 @@ CREATE TABLE `character_pet_declinedname` ( `prepositional` varchar(12) NOT NULL DEFAULT '', PRIMARY KEY (`id`), KEY `owner_key` (`owner`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -973,26 +973,26 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_queststatus`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1010,14 +1010,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_queststatus_daily`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1035,13 +1035,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_queststatus_monthly`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1059,13 +1059,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_queststatus_rewarded`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1083,14 +1083,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_queststatus_seasonal`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1108,13 +1108,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_queststatus_weekly`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1132,14 +1132,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_reputation`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1157,14 +1157,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_skills`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1182,15 +1182,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_social`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier', + `friend` int unsigned NOT NULL DEFAULT '0' COMMENT 'Friend Global Unique Identifier', + `flags` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Friend Flags', `note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note', PRIMARY KEY (`guid`,`friend`,`flags`), KEY `friend` (`friend`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1208,14 +1208,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_spell` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `spell` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier', - `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` mediumint 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=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1233,16 +1233,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_spell_cooldown`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier', - `item` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Identifier', - `time` int(10) unsigned NOT NULL DEFAULT '0', - `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` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier', + `item` int unsigned NOT NULL DEFAULT '0' COMMENT 'Item Identifier', + `time` int unsigned NOT NULL DEFAULT '0', + `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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1260,41 +1260,41 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_stats`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', - `maxpower6` int(10) unsigned NOT NULL DEFAULT '0', - `maxpower7` int(10) unsigned NOT NULL DEFAULT '0', - `strength` int(10) unsigned NOT NULL DEFAULT '0', - `agility` int(10) unsigned NOT NULL DEFAULT '0', - `stamina` int(10) unsigned NOT NULL DEFAULT '0', - `intellect` int(10) unsigned NOT NULL DEFAULT '0', - `spirit` int(10) unsigned NOT NULL DEFAULT '0', - `armor` int(10) unsigned NOT NULL DEFAULT '0', - `resHoly` int(10) unsigned NOT NULL DEFAULT '0', - `resFire` int(10) unsigned NOT NULL DEFAULT '0', - `resNature` int(10) unsigned NOT NULL DEFAULT '0', - `resFrost` int(10) unsigned NOT NULL DEFAULT '0', - `resShadow` int(10) unsigned NOT NULL DEFAULT '0', - `resArcane` int(10) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part', + `maxhealth` int unsigned NOT NULL DEFAULT '0', + `maxpower1` int unsigned NOT NULL DEFAULT '0', + `maxpower2` int unsigned NOT NULL DEFAULT '0', + `maxpower3` int unsigned NOT NULL DEFAULT '0', + `maxpower4` int unsigned NOT NULL DEFAULT '0', + `maxpower5` int unsigned NOT NULL DEFAULT '0', + `maxpower6` int unsigned NOT NULL DEFAULT '0', + `maxpower7` int unsigned NOT NULL DEFAULT '0', + `strength` int unsigned NOT NULL DEFAULT '0', + `agility` int unsigned NOT NULL DEFAULT '0', + `stamina` int unsigned NOT NULL DEFAULT '0', + `intellect` int unsigned NOT NULL DEFAULT '0', + `spirit` int unsigned NOT NULL DEFAULT '0', + `armor` int unsigned NOT NULL DEFAULT '0', + `resHoly` int unsigned NOT NULL DEFAULT '0', + `resFire` int unsigned NOT NULL DEFAULT '0', + `resNature` int unsigned NOT NULL DEFAULT '0', + `resFrost` int unsigned NOT NULL DEFAULT '0', + `resShadow` int unsigned NOT NULL DEFAULT '0', + `resArcane` int unsigned NOT NULL DEFAULT '0', `blockPct` float 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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1312,13 +1312,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `character_talent`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `character_talent` ( - `guid` int(10) unsigned NOT NULL, - `spell` mediumint(8) unsigned NOT NULL, - `talentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL, + `spell` mediumint unsigned NOT NULL, + `talentGroup` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`spell`,`talentGroup`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1336,89 +1336,89 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `characters`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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, - `race` tinyint(3) unsigned NOT NULL DEFAULT '0', - `class` tinyint(3) unsigned NOT NULL DEFAULT '0', - `gender` tinyint(3) unsigned NOT NULL DEFAULT '0', - `level` tinyint(3) unsigned NOT NULL DEFAULT '0', - `xp` int(10) unsigned NOT NULL DEFAULT '0', - `money` int(10) unsigned NOT NULL DEFAULT '0', - `skin` tinyint(3) unsigned NOT NULL DEFAULT '0', - `face` tinyint(3) unsigned NOT NULL DEFAULT '0', - `hairStyle` tinyint(3) unsigned NOT NULL DEFAULT '0', - `hairColor` tinyint(3) unsigned NOT NULL DEFAULT '0', - `facialStyle` tinyint(3) unsigned NOT NULL DEFAULT '0', - `bankSlots` tinyint(3) unsigned NOT NULL DEFAULT '0', - `restState` tinyint(3) unsigned NOT NULL DEFAULT '0', - `playerFlags` int(10) unsigned NOT NULL DEFAULT '0', + `race` tinyint unsigned NOT NULL DEFAULT '0', + `class` tinyint unsigned NOT NULL DEFAULT '0', + `gender` tinyint unsigned NOT NULL DEFAULT '0', + `level` tinyint unsigned NOT NULL DEFAULT '0', + `xp` int unsigned NOT NULL DEFAULT '0', + `money` int unsigned NOT NULL DEFAULT '0', + `skin` tinyint unsigned NOT NULL DEFAULT '0', + `face` tinyint unsigned NOT NULL DEFAULT '0', + `hairStyle` tinyint unsigned NOT NULL DEFAULT '0', + `hairColor` tinyint unsigned NOT NULL DEFAULT '0', + `facialStyle` tinyint unsigned NOT NULL DEFAULT '0', + `bankSlots` tinyint unsigned NOT NULL DEFAULT '0', + `restState` tinyint unsigned NOT NULL DEFAULT '0', + `playerFlags` int unsigned NOT NULL DEFAULT '0', `position_x` float NOT NULL DEFAULT '0', `position_y` float NOT NULL DEFAULT '0', `position_z` float NOT NULL DEFAULT '0', - `map` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', - `instance_id` int(10) unsigned NOT NULL DEFAULT '0', - `instance_mode_mask` tinyint(3) unsigned NOT NULL DEFAULT '0', + `map` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', + `instance_id` int unsigned NOT NULL DEFAULT '0', + `instance_mode_mask` tinyint unsigned NOT NULL DEFAULT '0', `orientation` float NOT NULL DEFAULT '0', `taximask` text NOT NULL, - `online` tinyint(3) unsigned NOT NULL DEFAULT '0', - `cinematic` tinyint(3) unsigned NOT NULL DEFAULT '0', - `totaltime` int(10) unsigned NOT NULL DEFAULT '0', - `leveltime` int(10) unsigned NOT NULL DEFAULT '0', - `logout_time` int(10) unsigned NOT NULL DEFAULT '0', - `is_logout_resting` tinyint(3) unsigned NOT NULL DEFAULT '0', + `online` tinyint unsigned NOT NULL DEFAULT '0', + `cinematic` tinyint unsigned NOT NULL DEFAULT '0', + `totaltime` int unsigned NOT NULL DEFAULT '0', + `leveltime` int unsigned NOT NULL DEFAULT '0', + `logout_time` int unsigned NOT NULL DEFAULT '0', + `is_logout_resting` tinyint unsigned NOT NULL DEFAULT '0', `rest_bonus` float NOT NULL DEFAULT '0', - `resettalents_cost` int(10) unsigned NOT NULL DEFAULT '0', - `resettalents_time` int(10) unsigned NOT NULL DEFAULT '0', + `resettalents_cost` int unsigned NOT NULL DEFAULT '0', + `resettalents_time` int unsigned NOT NULL DEFAULT '0', `trans_x` float NOT NULL DEFAULT '0', `trans_y` float NOT NULL DEFAULT '0', `trans_z` float NOT NULL DEFAULT '0', `trans_o` float NOT NULL DEFAULT '0', - `transguid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `extra_flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `stable_slots` tinyint(3) unsigned NOT NULL DEFAULT '0', - `at_login` smallint(5) unsigned NOT NULL DEFAULT '0', - `zone` smallint(5) unsigned NOT NULL DEFAULT '0', - `death_expire_time` int(10) unsigned NOT NULL DEFAULT '0', + `transguid` mediumint unsigned NOT NULL DEFAULT '0', + `extra_flags` smallint unsigned NOT NULL DEFAULT '0', + `stable_slots` tinyint unsigned NOT NULL DEFAULT '0', + `at_login` smallint unsigned NOT NULL DEFAULT '0', + `zone` smallint unsigned NOT NULL DEFAULT '0', + `death_expire_time` int unsigned NOT NULL DEFAULT '0', `taxi_path` text, - `arenaPoints` int(10) unsigned NOT NULL DEFAULT '0', - `totalHonorPoints` int(10) unsigned NOT NULL DEFAULT '0', - `todayHonorPoints` int(10) unsigned NOT NULL DEFAULT '0', - `yesterdayHonorPoints` int(10) unsigned NOT NULL DEFAULT '0', - `totalKills` int(10) unsigned NOT NULL DEFAULT '0', - `todayKills` smallint(5) unsigned NOT NULL DEFAULT '0', - `yesterdayKills` smallint(5) unsigned NOT NULL DEFAULT '0', - `chosenTitle` int(10) unsigned NOT NULL DEFAULT '0', - `knownCurrencies` bigint(20) unsigned NOT NULL DEFAULT '0', - `watchedFaction` int(10) unsigned NOT NULL DEFAULT '0', - `drunk` tinyint(3) unsigned NOT NULL DEFAULT '0', - `health` int(10) unsigned NOT NULL DEFAULT '0', - `power1` int(10) unsigned NOT NULL DEFAULT '0', - `power2` int(10) unsigned NOT NULL DEFAULT '0', - `power3` int(10) unsigned NOT NULL DEFAULT '0', - `power4` int(10) unsigned NOT NULL DEFAULT '0', - `power5` int(10) unsigned NOT NULL DEFAULT '0', - `power6` int(10) unsigned NOT NULL DEFAULT '0', - `power7` int(10) unsigned NOT NULL DEFAULT '0', - `latency` mediumint(8) unsigned NOT NULL DEFAULT '0', - `talentGroupsCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `activeTalentGroup` tinyint(3) unsigned NOT NULL DEFAULT '0', + `arenaPoints` int unsigned NOT NULL DEFAULT '0', + `totalHonorPoints` int unsigned NOT NULL DEFAULT '0', + `todayHonorPoints` int unsigned NOT NULL DEFAULT '0', + `yesterdayHonorPoints` int unsigned NOT NULL DEFAULT '0', + `totalKills` int unsigned NOT NULL DEFAULT '0', + `todayKills` smallint unsigned NOT NULL DEFAULT '0', + `yesterdayKills` smallint unsigned NOT NULL DEFAULT '0', + `chosenTitle` int unsigned NOT NULL DEFAULT '0', + `knownCurrencies` bigint unsigned NOT NULL DEFAULT '0', + `watchedFaction` int unsigned NOT NULL DEFAULT '0', + `drunk` tinyint unsigned NOT NULL DEFAULT '0', + `health` int unsigned NOT NULL DEFAULT '0', + `power1` int unsigned NOT NULL DEFAULT '0', + `power2` int unsigned NOT NULL DEFAULT '0', + `power3` int unsigned NOT NULL DEFAULT '0', + `power4` int unsigned NOT NULL DEFAULT '0', + `power5` int unsigned NOT NULL DEFAULT '0', + `power6` int unsigned NOT NULL DEFAULT '0', + `power7` int unsigned NOT NULL DEFAULT '0', + `latency` mediumint unsigned NOT NULL DEFAULT '0', + `talentGroupsCount` tinyint unsigned NOT NULL DEFAULT '1', + `activeTalentGroup` tinyint unsigned NOT NULL DEFAULT '0', `exploredZones` longtext, `equipmentCache` longtext, - `ammoId` int(10) unsigned NOT NULL DEFAULT '0', + `ammoId` int unsigned NOT NULL DEFAULT '0', `knownTitles` longtext, - `actionBars` tinyint(3) unsigned NOT NULL DEFAULT '0', - `grantableLevels` tinyint(3) unsigned NOT NULL DEFAULT '0', - `deleteInfos_Account` int(10) unsigned DEFAULT NULL, + `actionBars` tinyint unsigned NOT NULL DEFAULT '0', + `grantableLevels` tinyint unsigned NOT NULL DEFAULT '0', + `deleteInfos_Account` int unsigned DEFAULT NULL, `deleteInfos_Name` varchar(12) DEFAULT NULL, - `deleteDate` int(10) unsigned DEFAULT NULL, + `deleteDate` int unsigned DEFAULT NULL, PRIMARY KEY (`guid`), KEY `idx_account` (`account`), KEY `idx_online` (`online`), KEY `idx_name` (`name`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1436,30 +1436,30 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `corpse`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', - `phaseMask` int(10) unsigned NOT NULL DEFAULT '1', - `displayId` int(10) unsigned NOT NULL DEFAULT '0', + `mapId` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier', + `phaseMask` int unsigned NOT NULL DEFAULT '1', + `displayId` int unsigned NOT NULL DEFAULT '0', `itemCache` text NOT NULL, - `bytes1` int(10) unsigned NOT NULL DEFAULT '0', - `bytes2` int(10) unsigned NOT NULL DEFAULT '0', - `guildId` int(10) unsigned NOT NULL DEFAULT '0', - `flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `dynFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `time` int(10) unsigned NOT NULL DEFAULT '0', - `corpseType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `instanceId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Instance Identifier', + `bytes1` int unsigned NOT NULL DEFAULT '0', + `bytes2` int unsigned NOT NULL DEFAULT '0', + `guildId` int unsigned NOT NULL DEFAULT '0', + `flags` tinyint unsigned NOT NULL DEFAULT '0', + `dynFlags` tinyint unsigned NOT NULL DEFAULT '0', + `time` int unsigned NOT NULL DEFAULT '0', + `corpseType` tinyint unsigned NOT NULL DEFAULT '0', + `instanceId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Instance Identifier', PRIMARY KEY (`guid`), KEY `idx_type` (`corpseType`), KEY `idx_instance` (`instanceId`), KEY `idx_time` (`time`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Death System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Death System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1477,13 +1477,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `game_event_condition_save`; /*!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_save` ( - `eventEntry` tinyint(3) unsigned NOT NULL, - `condition_id` int(10) unsigned NOT NULL DEFAULT '0', + `eventEntry` tinyint unsigned NOT NULL, + `condition_id` int unsigned NOT NULL DEFAULT '0', `done` float DEFAULT '0', PRIMARY KEY (`eventEntry`,`condition_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1501,13 +1501,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `game_event_save`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1525,14 +1525,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `gm_subsurvey`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `surveyId` int unsigned NOT NULL AUTO_INCREMENT, + `questionId` int unsigned NOT NULL DEFAULT '0', + `answer` int unsigned NOT NULL DEFAULT '0', `answerComment` text NOT NULL, PRIMARY KEY (`surveyId`,`questionId`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1550,15 +1550,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `gm_survey`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `surveyId` int unsigned NOT NULL AUTO_INCREMENT, + `guid` int unsigned NOT NULL DEFAULT '0', + `mainSurvey` int unsigned NOT NULL DEFAULT '0', `comment` longtext NOT NULL, - `createTime` int(10) unsigned NOT NULL DEFAULT '0', + `createTime` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`surveyId`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1576,30 +1576,30 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `gm_ticket`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `id` int unsigned NOT NULL AUTO_INCREMENT, + `type` tinyint unsigned NOT NULL DEFAULT '0' COMMENT '0 open, 1 closed, 2 character deleted', + `playerGuid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier of ticket creator', `name` varchar(12) NOT NULL COMMENT 'Name of ticket creator', `description` text NOT NULL, - `createTime` int(10) unsigned NOT NULL DEFAULT '0', - `mapId` smallint(5) unsigned NOT NULL DEFAULT '0', + `createTime` int unsigned NOT NULL DEFAULT '0', + `mapId` smallint unsigned NOT NULL DEFAULT '0', `posX` float NOT NULL DEFAULT '0', `posY` float NOT NULL DEFAULT '0', `posZ` float NOT NULL DEFAULT '0', - `lastModifiedTime` int(10) unsigned NOT NULL DEFAULT '0', - `closedBy` int(10) NOT NULL DEFAULT '0', - `assignedTo` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned', + `lastModifiedTime` int unsigned NOT NULL DEFAULT '0', + `closedBy` int NOT NULL DEFAULT '0', + `assignedTo` int unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned', `comment` text NOT NULL, `response` text NOT NULL, - `completed` tinyint(3) unsigned NOT NULL DEFAULT '0', - `escalated` tinyint(3) unsigned NOT NULL DEFAULT '0', - `viewed` tinyint(3) unsigned NOT NULL DEFAULT '0', - `needMoreHelp` tinyint(3) unsigned NOT NULL DEFAULT '0', - `resolvedBy` int(10) NOT NULL DEFAULT '0' COMMENT 'GUID of GM who resolved the ticket', + `completed` tinyint unsigned NOT NULL DEFAULT '0', + `escalated` tinyint unsigned NOT NULL DEFAULT '0', + `viewed` tinyint unsigned NOT NULL DEFAULT '0', + `needMoreHelp` tinyint unsigned NOT NULL DEFAULT '0', + `resolvedBy` int NOT NULL DEFAULT '0' COMMENT 'GUID of GM who resolved the ticket', PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1617,14 +1617,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `group_instance`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1642,15 +1642,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `group_member`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Groups'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Groups'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1668,28 +1668,28 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `groups`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Groups'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Groups'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1707,22 +1707,22 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild` ( - `guildid` int(10) unsigned NOT NULL DEFAULT '0', + `guildid` int unsigned NOT NULL DEFAULT '0', `name` varchar(24) NOT NULL DEFAULT '', - `leaderguid` int(10) unsigned NOT NULL DEFAULT '0', - `EmblemStyle` tinyint(3) unsigned NOT NULL DEFAULT '0', - `EmblemColor` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BorderStyle` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BorderColor` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BackgroundColor` tinyint(3) unsigned NOT NULL DEFAULT '0', + `leaderguid` int unsigned NOT NULL DEFAULT '0', + `EmblemStyle` tinyint unsigned NOT NULL DEFAULT '0', + `EmblemColor` tinyint unsigned NOT NULL DEFAULT '0', + `BorderStyle` tinyint unsigned NOT NULL DEFAULT '0', + `BorderColor` tinyint unsigned NOT NULL DEFAULT '0', + `BackgroundColor` tinyint unsigned NOT NULL DEFAULT '0', `info` varchar(500) NOT NULL DEFAULT '', `motd` varchar(128) NOT NULL DEFAULT '', - `createdate` int(10) unsigned NOT NULL DEFAULT '0', - `BankMoney` bigint(20) unsigned NOT NULL DEFAULT '0', + `createdate` int unsigned NOT NULL DEFAULT '0', + `BankMoney` bigint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guildid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Guild System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1740,22 +1740,22 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_bank_eventlog`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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` int(10) unsigned NOT NULL DEFAULT '0', - `ItemStackCount` smallint(5) unsigned NOT NULL DEFAULT '0', - `DestTabId` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Destination Tab Id', - `TimeStamp` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Event UNIX time', + `guildid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Guild Identificator', + `LogGuid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Log record identificator - auxiliary column', + `TabId` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Guild bank TabId', + `EventType` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Event type', + `PlayerGuid` int unsigned NOT NULL DEFAULT '0', + `ItemOrMoney` int unsigned NOT NULL DEFAULT '0', + `ItemStackCount` smallint unsigned NOT NULL DEFAULT '0', + `DestTabId` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Destination Tab Id', + `TimeStamp` int unsigned NOT NULL DEFAULT '0' COMMENT 'Event UNIX time', PRIMARY KEY (`guildid`,`LogGuid`,`TabId`), KEY `guildid_key` (`guildid`), KEY `Idx_PlayerGuid` (`PlayerGuid`), KEY `Idx_LogGuid` (`LogGuid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1773,16 +1773,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_bank_item`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1800,16 +1800,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_bank_right`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1827,16 +1827,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_bank_tab`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `guildid` int unsigned NOT NULL DEFAULT '0', + `TabId` tinyint unsigned NOT NULL DEFAULT '0', `TabName` varchar(16) NOT NULL DEFAULT '', `TabIcon` varchar(100) NOT NULL DEFAULT '', `TabText` varchar(500) DEFAULT NULL, PRIMARY KEY (`guildid`,`TabId`), KEY `guildid_key` (`guildid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1854,20 +1854,20 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_eventlog`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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`), KEY `Idx_LogGuid` (`LogGuid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild Eventlog'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Guild Eventlog'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1885,17 +1885,17 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_member`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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, + `guildid` int unsigned NOT NULL COMMENT 'Guild Identificator', + `guid` int unsigned NOT NULL, + `rank` tinyint unsigned NOT NULL, `pnote` varchar(31) NOT NULL DEFAULT '', `offnote` varchar(31) NOT NULL DEFAULT '', UNIQUE KEY `guid_key` (`guid`), KEY `guildid_key` (`guildid`), KEY `guildid_rank_key` (`guildid`,`rank`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Guild System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1913,18 +1913,18 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_member_withdraw`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', - `money` int(10) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL, + `tab0` int unsigned NOT NULL DEFAULT '0', + `tab1` int unsigned NOT NULL DEFAULT '0', + `tab2` int unsigned NOT NULL DEFAULT '0', + `tab3` int unsigned NOT NULL DEFAULT '0', + `tab4` int unsigned NOT NULL DEFAULT '0', + `tab5` int unsigned NOT NULL DEFAULT '0', + `money` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild Member Daily Withdraws'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Guild Member Daily Withdraws'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1942,16 +1942,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `guild_rank`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `guild_rank` ( - `guildid` int(10) unsigned NOT NULL DEFAULT '0', - `rid` tinyint(3) unsigned NOT NULL, + `guildid` int unsigned NOT NULL DEFAULT '0', + `rid` tinyint unsigned NOT NULL, `rname` varchar(20) NOT NULL DEFAULT '', - `rights` mediumint(8) unsigned NOT NULL DEFAULT '0', - `BankMoneyPerDay` int(10) unsigned NOT NULL DEFAULT '0', + `rights` mediumint unsigned NOT NULL DEFAULT '0', + `BankMoneyPerDay` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guildid`,`rid`), KEY `Idx_rid` (`rid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Guild System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1969,19 +1969,19 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `instance`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `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 NOT NULL, PRIMARY KEY (`id`), KEY `map` (`map`), KEY `resettime` (`resettime`), KEY `difficulty` (`difficulty`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1999,14 +1999,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `instance_reset`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2024,25 +2024,25 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `item_instance`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_instance` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0', - `itemEntry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `owner_guid` int(10) unsigned NOT NULL DEFAULT '0', - `creatorGuid` int(10) unsigned NOT NULL DEFAULT '0', - `giftCreatorGuid` int(10) unsigned NOT NULL DEFAULT '0', - `count` int(10) unsigned NOT NULL DEFAULT '1', - `duration` int(10) NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0', + `itemEntry` mediumint unsigned NOT NULL DEFAULT '0', + `owner_guid` int unsigned NOT NULL DEFAULT '0', + `creatorGuid` int unsigned NOT NULL DEFAULT '0', + `giftCreatorGuid` int unsigned NOT NULL DEFAULT '0', + `count` int unsigned NOT NULL DEFAULT '1', + `duration` int NOT NULL DEFAULT '0', `charges` tinytext, - `flags` mediumint(8) unsigned NOT NULL DEFAULT '0', + `flags` mediumint unsigned NOT NULL DEFAULT '0', `enchantments` text NOT NULL, - `randomPropertyId` smallint(5) NOT NULL DEFAULT '0', - `durability` smallint(5) unsigned NOT NULL DEFAULT '0', - `playedTime` int(10) unsigned NOT NULL DEFAULT '0', + `randomPropertyId` smallint NOT NULL DEFAULT '0', + `durability` smallint unsigned NOT NULL DEFAULT '0', + `playedTime` int unsigned NOT NULL DEFAULT '0', `text` text, PRIMARY KEY (`guid`), KEY `idx_owner_guid` (`owner_guid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Item System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Item System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2060,20 +2060,20 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `item_loot_items`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', - `item_index` int(10) unsigned NOT NULL DEFAULT '0', + `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', + `item_index` int unsigned NOT NULL DEFAULT '0', `follow_rules` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'follow loot rules', `ffa` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'free-for-all', `blocked` tinyint(1) NOT NULL DEFAULT '0', `counted` tinyint(1) NOT NULL DEFAULT '0', `under_threshold` tinyint(1) NOT NULL DEFAULT '0', `needs_quest` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'quest drop', - `rnd_prop` int(10) 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_prop` int 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=latin1; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2092,10 +2092,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `item_loot_money`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=latin1; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2115,14 +2115,14 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `item_refund_instance`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Item Refund System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Item Refund System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2140,12 +2140,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `item_soulbound_trade_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_soulbound_trade_data` ( - `itemGuid` int(10) unsigned NOT NULL COMMENT 'Item GUID', + `itemGuid` int unsigned NOT NULL COMMENT 'Item GUID', `allowedPlayers` text NOT NULL COMMENT 'Space separated GUID list of players who can receive this item in trade', PRIMARY KEY (`itemGuid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Item Refund System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Item Refund System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2163,19 +2163,19 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `lag_reports`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Player System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2193,13 +2193,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `lfg_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='LFG Data'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='LFG Data'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2217,25 +2217,25 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `mail`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `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, `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` int(10) unsigned NOT NULL DEFAULT '0', - `cod` int(10) unsigned NOT NULL DEFAULT '0', - `checked` tinyint(3) unsigned NOT NULL DEFAULT '0', + `has_items` tinyint unsigned NOT NULL DEFAULT '0', + `expire_time` int unsigned NOT NULL DEFAULT '0', + `deliver_time` int unsigned NOT NULL DEFAULT '0', + `money` int unsigned NOT NULL DEFAULT '0', + `cod` int unsigned NOT NULL DEFAULT '0', + `checked` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `idx_receiver` (`receiver`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Mail System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Mail System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2253,15 +2253,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `mail_items`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2279,27 +2279,27 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `pet_aura`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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` mediumint(8) unsigned NOT NULL DEFAULT '0', - `effectMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `recalculateMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stackCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `amount0` mediumint(8) NOT NULL, - `amount1` mediumint(8) NOT NULL, - `amount2` mediumint(8) NOT NULL, - `base_amount0` mediumint(8) NOT NULL, - `base_amount1` mediumint(8) NOT NULL, - `base_amount2` mediumint(8) NOT NULL, - `maxDuration` int(11) NOT NULL DEFAULT '0', - `remainTime` int(11) NOT NULL DEFAULT '0', - `remainCharges` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `casterGuid` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier', + `spell` mediumint unsigned NOT NULL DEFAULT '0', + `effectMask` tinyint unsigned NOT NULL DEFAULT '0', + `recalculateMask` tinyint unsigned NOT NULL DEFAULT '0', + `stackCount` tinyint unsigned NOT NULL DEFAULT '1', + `amount0` mediumint NOT NULL, + `amount1` mediumint NOT NULL, + `amount2` mediumint NOT NULL, + `base_amount0` mediumint NOT NULL, + `base_amount1` mediumint NOT NULL, + `base_amount2` mediumint NOT NULL, + `maxDuration` int NOT NULL DEFAULT '0', + `remainTime` int NOT NULL DEFAULT '0', + `remainCharges` tinyint unsigned NOT NULL DEFAULT '0', `critChance` float NOT NULL DEFAULT '0', - `applyResilience` tinyint(3) NOT NULL DEFAULT '0', + `applyResilience` tinyint NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`casterGuid`,`spell`,`effectMask`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Pet System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2317,13 +2317,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `pet_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `pet_spell` ( - `guid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', - `spell` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier', - `active` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier', + `spell` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier', + `active` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`spell`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Pet System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Pet System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2341,15 +2341,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `pet_spell_cooldown`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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` mediumint(8) 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` mediumint 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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2367,15 +2367,15 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `petition`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `petition` ( - `ownerguid` int(10) unsigned NOT NULL, - `petitionguid` int(10) unsigned DEFAULT '0', + `ownerguid` int unsigned NOT NULL, + `petitionguid` int unsigned DEFAULT '0', `name` varchar(24) NOT NULL, - `type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`ownerguid`,`type`), UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Guild System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2393,17 +2393,17 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `petition_sign`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Guild System'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Guild System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2421,12 +2421,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `pool_quest_save`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2444,12 +2444,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `pvpstats_battlegrounds`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=latin1; @@ -2470,22 +2470,22 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `pvpstats_players`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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` mediumint(8) unsigned NOT NULL, - `score_deaths` mediumint(8) unsigned NOT NULL, - `score_honorable_kills` mediumint(8) unsigned NOT NULL, - `score_bonus_honor` mediumint(8) unsigned NOT NULL, - `score_damage_done` mediumint(8) unsigned NOT NULL, - `score_healing_done` mediumint(8) unsigned NOT NULL, - `attr_1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `attr_2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `attr_3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `attr_4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `attr_5` mediumint(8) unsigned NOT NULL DEFAULT '0', + `score_killing_blows` mediumint unsigned NOT NULL, + `score_deaths` mediumint unsigned NOT NULL, + `score_honorable_kills` mediumint unsigned NOT NULL, + `score_bonus_honor` mediumint unsigned NOT NULL, + `score_damage_done` mediumint unsigned NOT NULL, + `score_healing_done` mediumint unsigned NOT NULL, + `attr_1` mediumint unsigned NOT NULL DEFAULT '0', + `attr_2` mediumint unsigned NOT NULL DEFAULT '0', + `attr_3` mediumint unsigned NOT NULL DEFAULT '0', + `attr_4` mediumint unsigned NOT NULL DEFAULT '0', + `attr_5` mediumint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`battleground_id`,`character_guid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2505,10 +2505,10 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `quest_tracker`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `quest_tracker` ( - `id` mediumint(8) unsigned NOT NULL DEFAULT '0', - `character_guid` int(10) unsigned NOT NULL DEFAULT '0', + `id` mediumint 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, @@ -2533,11 +2533,11 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `reserved_name`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `reserved_name` ( `name` varchar(12) NOT NULL DEFAULT '', PRIMARY KEY (`name`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player Reserved Names'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player Reserved Names'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2555,16 +2555,16 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `respawn`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8 COMMENT='Stored respawn times'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Stored respawn times'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2582,15 +2582,15 @@ UNLOCK TABLES; 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) NOT NULL COMMENT 'filename with extension of the update.', `hash` char(40) DEFAULT '' COMMENT 'sha1 hash of the sql file.', `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', - `speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', + `speed` int unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', PRIMARY KEY (`name`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of all applied updates in this database.'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='List of all applied updates in this database.'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2669,7 +2669,8 @@ INSERT INTO `updates` VALUES ('2021_08_15_00_characters.sql','A8A32D47C65FB6A0C7995F8342D85B6A50C6C63F','ARCHIVED','2021-08-15 16:59:31',0), ('2021_09_28_00_characters.sql','A57869AE14FFFA935AB57318F65F4F1217AA2421','ARCHIVED','2021-09-28 20:48:10',0), ('2021_10_15_00_characters.sql','174355CFEA8FADA50B731F54E028561AFCF46AA6','ARCHIVED','2021-10-15 08:43:41',0), -('2021_11_15_00_characters.sql','4C911C08E2E7A22E9A2FFC0AAC05481574D8048E','ARCHIVED','2021-11-15 16:22:37',0); +('2021_11_15_00_characters.sql','4C911C08E2E7A22E9A2FFC0AAC05481574D8048E','ARCHIVED','2021-11-15 16:22:37',0), +('2021_12_16_00_characters.sql','C250DF213B43FC2186520C3901C0A1FBF522BBDF','ARCHIVED','2021-12-16 21:17:10',0); /*!40000 ALTER TABLE `updates` ENABLE KEYS */; UNLOCK TABLES; @@ -2679,12 +2680,12 @@ UNLOCK TABLES; 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) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', PRIMARY KEY (`path`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of directories where we want to include sql updates.'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='List of directories where we want to include sql updates.'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2706,12 +2707,12 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `warden_action`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2729,13 +2730,13 @@ UNLOCK TABLES; DROP TABLE IF EXISTS `worldstates`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!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', + `entry` int unsigned NOT NULL DEFAULT '0', + `value` int unsigned NOT NULL DEFAULT '0', `comment` tinytext, PRIMARY KEY (`entry`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Variable Saves'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Variable Saves'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2840,4 +2841,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2021-11-15 16:22:43 +-- Dump completed on 2021-12-16 21:17:13 diff --git a/sql/base/dev/world_database.sql b/sql/base/dev/world_database.sql index 93890724200..34fb622d83e 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.36, for Linux (x86_64) +-- MySQL dump 10.13 Distrib 8.0.26, for Linux (x86_64) -- -- Host: localhost Database: world -- ------------------------------------------------------ --- Server version 5.7.36 +-- 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 utf8 */; +/*!50503 SET NAMES utf8 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; @@ -21,22 +21,22 @@ 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_level` smallint(5) 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` mediumint 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_level` smallint unsigned NOT NULL DEFAULT '0', + `item` mediumint unsigned NOT NULL DEFAULT '0', + `item2` mediumint unsigned NOT NULL DEFAULT '0', + `quest_done_A` mediumint unsigned NOT NULL DEFAULT '0', + `quest_done_H` mediumint unsigned NOT NULL DEFAULT '0', + `completed_achievement` mediumint unsigned NOT NULL DEFAULT '0', `quest_failed_text` text, `comment` text, PRIMARY KEY (`mapId`,`difficulty`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Access Requirements'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='Access Requirements'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -45,15 +45,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', + `criteria_id` mediumint NOT NULL, + `type` tinyint unsigned NOT NULL DEFAULT '0', + `value1` mediumint unsigned NOT NULL DEFAULT '0', + `value2` mediumint unsigned NOT NULL DEFAULT '0', `ScriptName` char(64) NOT NULL DEFAULT '', PRIMARY KEY (`criteria_id`,`type`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Achievment system'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Achievment system'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -62,17 +62,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -81,18 +81,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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', + `TitleA` mediumint unsigned NOT NULL DEFAULT '0', + `TitleH` mediumint unsigned NOT NULL DEFAULT '0', + `ItemID` mediumint unsigned NOT NULL DEFAULT '0', + `Sender` mediumint unsigned NOT NULL DEFAULT '0', `Subject` varchar(255) DEFAULT NULL, `Body` text, - `MailTemplateID` mediumint(8) unsigned DEFAULT '0', + `MailTemplateID` mediumint unsigned DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -101,14 +101,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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', `Locale` varchar(4) NOT NULL, `Subject` text, `Body` text, PRIMARY KEY (`ID`,`Locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -117,12 +117,12 @@ CREATE TABLE `achievement_reward_locale` ( 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` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `quest` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Trigger System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -131,12 +131,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, + `entry` mediumint NOT NULL, `ScriptName` char(64) NOT NULL, PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -145,12 +145,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', + `id` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', `name` text, PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Trigger System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -159,19 +159,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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', `Name` text, - `target_map` smallint(5) unsigned NOT NULL DEFAULT '0', + `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=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Trigger System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -180,12 +180,12 @@ CREATE TABLE `areatrigger_teleport` ( DROP TABLE IF EXISTS `battlefield_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `battlefield_template` ( - `TypeId` tinyint(3) unsigned NOT NULL, + `TypeId` tinyint unsigned NOT NULL, `ScriptName` varchar(64) NOT NULL DEFAULT '', `comment` text -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -194,23 +194,23 @@ CREATE TABLE `battlefield_template` ( 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` mediumint 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` mediumint unsigned NOT NULL, `AllianceStartO` float NOT NULL, - `HordeStartLoc` mediumint(8) unsigned NOT NULL, + `HordeStartLoc` mediumint unsigned NOT NULL, `HordeStartO` float NOT NULL, `StartMaxDist` float NOT NULL DEFAULT '0', - `Weight` tinyint(3) unsigned NOT NULL DEFAULT '1', + `Weight` tinyint unsigned NOT NULL DEFAULT '1', `ScriptName` char(64) NOT NULL DEFAULT '', `Comment` char(32) NOT NULL, PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -219,12 +219,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` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Entry of a creature', + `bg_template` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Battleground template id', PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -233,24 +233,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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', + `LanguageID` mediumint unsigned NOT NULL DEFAULT '0', `Text` longtext, `Text1` longtext, - `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', + `EmoteID1` mediumint unsigned NOT NULL DEFAULT '0', + `EmoteID2` mediumint unsigned NOT NULL DEFAULT '0', + `EmoteID3` mediumint unsigned NOT NULL DEFAULT '0', + `EmoteDelay1` mediumint unsigned NOT NULL DEFAULT '0', + `EmoteDelay2` mediumint unsigned NOT NULL DEFAULT '0', + `EmoteDelay3` mediumint unsigned NOT NULL DEFAULT '0', + `SoundEntriesID` mediumint unsigned NOT NULL DEFAULT '0', + `EmotesID` mediumint unsigned NOT NULL DEFAULT '0', + `Flags` mediumint unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -259,15 +259,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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', `locale` varchar(4) NOT NULL, `Text` text, `Text1` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -276,12 +276,12 @@ 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) NOT NULL DEFAULT '', `help` longtext, PRIMARY KEY (`name`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Chat System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Chat System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -290,25 +290,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', + `SourceTypeOrReferenceId` mediumint NOT NULL DEFAULT '0', + `SourceGroup` mediumint unsigned NOT NULL DEFAULT '0', + `SourceEntry` mediumint NOT NULL DEFAULT '0', + `SourceId` int NOT NULL DEFAULT '0', + `ElseGroup` mediumint unsigned NOT NULL DEFAULT '0', + `ConditionTypeOrReference` mediumint NOT NULL DEFAULT '0', + `ConditionTarget` tinyint unsigned NOT NULL DEFAULT '0', + `ConditionValue1` mediumint unsigned NOT NULL DEFAULT '0', + `ConditionValue2` mediumint unsigned NOT NULL DEFAULT '0', + `ConditionValue3` mediumint unsigned NOT NULL DEFAULT '0', + `NegativeCondition` tinyint unsigned NOT NULL DEFAULT '0', + `ErrorType` mediumint unsigned NOT NULL DEFAULT '0', + `ErrorTextId` mediumint unsigned NOT NULL DEFAULT '0', `ScriptName` char(64) NOT NULL DEFAULT '', `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Condition System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='Condition System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -317,36 +317,36 @@ 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', - `phaseMask` int(10) unsigned 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` mediumint 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', + `phaseMask` int unsigned NOT NULL DEFAULT '1', + `modelid` mediumint 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', `wander_distance` 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', + `currentwaypoint` mediumint 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` char(64) DEFAULT '', - `VerifiedBuild` int(11) DEFAULT '0', + `VerifiedBuild` int DEFAULT '0', PRIMARY KEY (`guid`), KEY `idx_map` (`map`), KEY `idx_id` (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=1022682 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature System'; +) ENGINE=MyISAM AUTO_INCREMENT=1022682 DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='Creature System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -355,19 +355,19 @@ 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', - `path_id` int(10) unsigned NOT NULL DEFAULT '0', - `mount` mediumint(8) unsigned NOT NULL DEFAULT '0', - `MountCreatureID` int(10) unsigned NOT NULL DEFAULT '0', - `bytes1` int(10) unsigned NOT NULL DEFAULT '0', - `bytes2` int(10) unsigned NOT NULL DEFAULT '1', - `emote` int(10) unsigned NOT NULL DEFAULT '0', - `visibilityDistanceType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` int unsigned NOT NULL DEFAULT '0', + `path_id` int unsigned NOT NULL DEFAULT '0', + `mount` mediumint unsigned NOT NULL DEFAULT '0', + `MountCreatureID` int unsigned NOT NULL DEFAULT '0', + `bytes1` int unsigned NOT NULL DEFAULT '0', + `bytes2` int unsigned NOT NULL DEFAULT '1', + `emote` int unsigned NOT NULL DEFAULT '0', + `visibilityDistanceType` tinyint unsigned NOT NULL DEFAULT '0', `auras` text, PRIMARY KEY (`guid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -376,23 +376,23 @@ 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(3) unsigned NOT NULL, - `class` tinyint(3) unsigned NOT NULL, - `basehp0` smallint(5) unsigned NOT NULL DEFAULT '1', - `basehp1` smallint(5) unsigned NOT NULL DEFAULT '1', - `basehp2` smallint(5) unsigned NOT NULL DEFAULT '1', - `basemana` smallint(5) unsigned NOT NULL DEFAULT '0', - `basearmor` smallint(5) unsigned NOT NULL DEFAULT '1', - `attackpower` smallint(5) unsigned NOT NULL DEFAULT '0', - `rangedattackpower` smallint(5) unsigned NOT NULL DEFAULT '0', + `level` tinyint unsigned NOT NULL, + `class` tinyint unsigned NOT NULL, + `basehp0` smallint unsigned NOT NULL DEFAULT '1', + `basehp1` smallint unsigned NOT NULL DEFAULT '1', + `basehp2` smallint unsigned NOT NULL DEFAULT '1', + `basemana` smallint unsigned NOT NULL DEFAULT '0', + `basearmor` smallint unsigned NOT NULL DEFAULT '1', + `attackpower` smallint unsigned NOT NULL DEFAULT '0', + `rangedattackpower` smallint unsigned 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', `comment` text, PRIMARY KEY (`level`,`class`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -401,12 +401,12 @@ CREATE TABLE `creature_classlevelstats` ( DROP TABLE IF EXISTS `creature_default_trainer`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_default_trainer` ( - `CreatureId` int(11) unsigned NOT NULL, - `TrainerId` int(11) unsigned NOT NULL DEFAULT '0', + `CreatureId` int unsigned NOT NULL, + `TrainerId` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`CreatureId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -415,16 +415,16 @@ CREATE TABLE `creature_default_trainer` ( 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` mediumint unsigned NOT NULL DEFAULT '0', + `ID` tinyint unsigned NOT NULL DEFAULT '1', + `ItemID1` mediumint unsigned NOT NULL DEFAULT '0', + `ItemID2` mediumint unsigned NOT NULL DEFAULT '0', + `ItemID3` mediumint unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`CreatureID`,`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -433,17 +433,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', + `leaderGUID` int unsigned NOT NULL DEFAULT '0', + `memberGUID` int unsigned NOT NULL DEFAULT '0', `dist` float unsigned NOT NULL, `angle` float unsigned NOT NULL, - `groupAI` int(10) unsigned NOT NULL, - `point_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `point_2` smallint(5) unsigned NOT NULL DEFAULT '0', + `groupAI` int unsigned NOT NULL, + `point_1` smallint unsigned NOT NULL DEFAULT '0', + `point_2` smallint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`memberGUID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -452,20 +452,20 @@ 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` mediumint unsigned NOT NULL DEFAULT '0', + `Item` mediumint unsigned NOT NULL DEFAULT '0', + `Reference` mediumint unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` 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', + `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) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Loot System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -474,15 +474,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` mediumint 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` mediumint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`DisplayID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Creature System (Model related info)'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='Creature System (Model related info)'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -491,13 +491,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', + `MovementID` int unsigned NOT NULL DEFAULT '0' COMMENT 'creature_template.movementId value', `WalkSpeed` float unsigned DEFAULT NULL, `RunSpeed` float unsigned DEFAULT NULL, PRIMARY KEY (`MovementID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -506,18 +506,18 @@ 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, - `Chase` 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, + `Chase` 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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -526,20 +526,20 @@ CREATE TABLE `creature_movement_override` ( DROP TABLE IF EXISTS `creature_onkill_reputation`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_onkill_reputation` ( - `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', + `creature_id` mediumint 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` mediumint NOT NULL DEFAULT '0', + `MaxStanding2` tinyint NOT NULL DEFAULT '0', + `IsTeamAward2` tinyint NOT NULL DEFAULT '0', + `RewOnKillRepValue2` mediumint NOT NULL DEFAULT '0', + `TeamDependent` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`creature_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature OnKill Reputation gain'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='Creature OnKill Reputation gain'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -548,12 +548,12 @@ CREATE TABLE `creature_onkill_reputation` ( 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` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `quest` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`id`,`quest`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Creature System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -562,14 +562,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -578,12 +578,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` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', + `quest` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`id`,`quest`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Creature System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -592,20 +592,20 @@ CREATE TABLE `creature_queststarter` ( 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` mediumint unsigned NOT NULL DEFAULT '0', + `summonerType` tinyint unsigned NOT NULL DEFAULT '0', + `groupId` tinyint unsigned NOT NULL DEFAULT '0', + `entry` mediumint 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', + `summonType` tinyint unsigned NOT NULL DEFAULT '0', + `summonTime` int unsigned NOT NULL DEFAULT '0', `Comment` varchar(255) NOT NULL DEFAULT '' -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -614,69 +614,69 @@ 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', + `entry` mediumint unsigned NOT NULL DEFAULT '0', + `difficulty_entry_1` mediumint unsigned NOT NULL DEFAULT '0', + `difficulty_entry_2` mediumint unsigned NOT NULL DEFAULT '0', + `difficulty_entry_3` mediumint unsigned NOT NULL DEFAULT '0', + `KillCredit1` int unsigned NOT NULL DEFAULT '0', + `KillCredit2` int unsigned NOT NULL DEFAULT '0', + `modelid1` mediumint unsigned NOT NULL DEFAULT '0', + `modelid2` mediumint unsigned NOT NULL DEFAULT '0', + `modelid3` mediumint unsigned NOT NULL DEFAULT '0', + `modelid4` mediumint unsigned NOT NULL DEFAULT '0', `name` char(100) NOT NULL DEFAULT '0', `subname` char(100) DEFAULT NULL, `IconName` char(100) 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', - `faction` smallint(5) unsigned NOT NULL DEFAULT '0', - `npcflag` int(10) unsigned NOT NULL DEFAULT '0', + `gossip_menu_id` mediumint 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', + `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', - `type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `type_flags` 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', - `PetSpellDataId` mediumint(8) unsigned NOT NULL DEFAULT '0', - `VehicleId` mediumint(8) unsigned NOT NULL DEFAULT '0', - `mingold` mediumint(8) unsigned NOT NULL DEFAULT '0', - `maxgold` mediumint(8) 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', + `type` tinyint unsigned NOT NULL DEFAULT '0', + `type_flags` int unsigned NOT NULL DEFAULT '0', + `lootid` mediumint unsigned NOT NULL DEFAULT '0', + `pickpocketloot` mediumint unsigned NOT NULL DEFAULT '0', + `skinloot` mediumint unsigned NOT NULL DEFAULT '0', + `PetSpellDataId` mediumint unsigned NOT NULL DEFAULT '0', + `VehicleId` mediumint unsigned NOT NULL DEFAULT '0', + `mingold` mediumint unsigned NOT NULL DEFAULT '0', + `maxgold` mediumint unsigned NOT NULL DEFAULT '0', `AIName` char(64) NOT NULL DEFAULT '', - `MovementType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `MovementType` tinyint unsigned NOT NULL DEFAULT '0', `HoverHeight` float NOT NULL DEFAULT '1', `HealthModifier` float NOT NULL DEFAULT '1', `ManaModifier` float NOT NULL DEFAULT '1', `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', + `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` char(64) NOT NULL DEFAULT '', - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`entry`), KEY `idx_name` (`name`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Creature System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -685,19 +685,19 @@ 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', - `path_id` int(10) unsigned NOT NULL DEFAULT '0', - `mount` mediumint(8) unsigned NOT NULL DEFAULT '0', - `MountCreatureID` int(10) unsigned NOT NULL DEFAULT '0', - `bytes1` int(10) unsigned NOT NULL DEFAULT '0', - `bytes2` int(10) unsigned NOT NULL DEFAULT '1', - `emote` mediumint(8) unsigned NOT NULL DEFAULT '0', - `visibilityDistanceType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `entry` mediumint unsigned NOT NULL DEFAULT '0', + `path_id` int unsigned NOT NULL DEFAULT '0', + `mount` mediumint unsigned NOT NULL DEFAULT '0', + `MountCreatureID` int unsigned NOT NULL DEFAULT '0', + `bytes1` int unsigned NOT NULL DEFAULT '0', + `bytes2` int unsigned NOT NULL DEFAULT '1', + `emote` mediumint unsigned NOT NULL DEFAULT '0', + `visibilityDistanceType` tinyint unsigned NOT NULL DEFAULT '0', `auras` text, PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -706,15 +706,15 @@ 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', + `entry` mediumint unsigned NOT NULL DEFAULT '0', `locale` varchar(4) NOT NULL, `Name` text, `Title` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`entry`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -723,18 +723,18 @@ 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, - `Chase` 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, + `Chase` 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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -743,14 +743,14 @@ CREATE TABLE `creature_template_movement` ( DROP TABLE IF EXISTS `creature_template_resistance`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_template_resistance` ( - `CreatureID` mediumint(8) unsigned NOT NULL, - `School` tinyint(6) unsigned NOT NULL, - `Resistance` smallint(6) DEFAULT NULL, - `VerifiedBuild` smallint(5) DEFAULT '0', + `CreatureID` mediumint unsigned NOT NULL, + `School` tinyint unsigned NOT NULL, + `Resistance` smallint DEFAULT NULL, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`CreatureID`,`School`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -759,14 +759,14 @@ CREATE TABLE `creature_template_resistance` ( DROP TABLE IF EXISTS `creature_template_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `creature_template_spell` ( - `CreatureID` mediumint(8) unsigned NOT NULL, - `Index` tinyint(6) unsigned NOT NULL DEFAULT '0', - `Spell` mediumint(8) unsigned DEFAULT NULL, - `VerifiedBuild` smallint(5) DEFAULT '0', + `CreatureID` mediumint unsigned NOT NULL, + `Index` tinyint unsigned NOT NULL DEFAULT '0', + `Spell` mediumint unsigned DEFAULT NULL, + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`CreatureID`,`Index`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -775,23 +775,23 @@ CREATE TABLE `creature_template_spell` ( 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', + `CreatureID` mediumint unsigned NOT NULL DEFAULT '0', + `GroupID` tinyint unsigned NOT NULL DEFAULT '0', + `ID` tinyint unsigned NOT NULL DEFAULT '0', `Text` longtext, - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Language` tinyint(3) NOT NULL DEFAULT '0', + `Type` tinyint unsigned NOT NULL DEFAULT '0', + `Language` tinyint 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', - `BroadcastTextId` mediumint(6) NOT NULL DEFAULT '0', - `TextRange` tinyint(3) unsigned NOT NULL DEFAULT '0', + `Emote` mediumint unsigned NOT NULL DEFAULT '0', + `Duration` mediumint unsigned NOT NULL DEFAULT '0', + `Sound` mediumint unsigned NOT NULL DEFAULT '0', + `BroadcastTextId` mediumint NOT NULL DEFAULT '0', + `TextRange` tinyint unsigned NOT NULL DEFAULT '0', `comment` varchar(255) DEFAULT '', PRIMARY KEY (`CreatureID`,`GroupID`,`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -800,15 +800,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', + `CreatureID` mediumint unsigned NOT NULL DEFAULT '0', + `GroupID` tinyint unsigned NOT NULL DEFAULT '0', + `ID` tinyint unsigned NOT NULL DEFAULT '0', `Locale` varchar(4) NOT NULL, `Text` text, PRIMARY KEY (`CreatureID`,`GroupID`,`ID`,`Locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -817,16 +817,16 @@ CREATE TABLE `creature_text_locale` ( 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` smallint(5) NOT NULL, + `sourceType` int unsigned NOT NULL, + `entry` int unsigned NOT NULL, + `flags` smallint NOT NULL, `params_0` varchar(255) NOT NULL DEFAULT '', `params_1` varchar(255) NOT NULL DEFAULT '', `comment` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`sourceType`,`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -835,20 +835,20 @@ 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` mediumint unsigned NOT NULL DEFAULT '0', + `Item` mediumint unsigned NOT NULL DEFAULT '0', + `Reference` mediumint unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` 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', + `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) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -857,20 +857,20 @@ 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` mediumint unsigned NOT NULL DEFAULT '0', + `delay` int unsigned NOT NULL DEFAULT '0', + `command` mediumint unsigned NOT NULL DEFAULT '0', + `datalong` mediumint 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', `Comment` varchar(255) NOT NULL DEFAULT '' -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -879,12 +879,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` mediumint NOT NULL DEFAULT '0', PRIMARY KEY (`level`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Exploration System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Exploration System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -893,20 +893,20 @@ 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` mediumint unsigned NOT NULL DEFAULT '0', + `Item` mediumint unsigned NOT NULL DEFAULT '0', + `Reference` mediumint unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` 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', + `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) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Loot System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -915,20 +915,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', + `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` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Client side holiday id', + `holidayStage` tinyint unsigned NOT NULL DEFAULT '0', `description` varchar(255) DEFAULT NULL COMMENT 'Description of the event displayed in console', - `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', + `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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -937,12 +937,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -951,12 +951,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -965,16 +965,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` mediumint 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', + `max_world_state_field` smallint unsigned NOT NULL DEFAULT '0', + `done_world_state_field` smallint unsigned NOT NULL DEFAULT '0', `description` varchar(25) NOT NULL DEFAULT '', PRIMARY KEY (`eventEntry`,`condition_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -983,12 +983,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -997,13 +997,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` mediumint unsigned NOT NULL DEFAULT '0', + `quest` mediumint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`,`quest`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1012,12 +1012,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1026,13 +1026,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` mediumint unsigned NOT NULL DEFAULT '0', + `quest` mediumint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`,`quest`,`eventEntry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1041,14 +1041,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` mediumint unsigned NOT NULL DEFAULT '0', + `equipment_id` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1057,18 +1057,18 @@ 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', + `eventEntry` tinyint NOT NULL COMMENT 'Entry of the game event.', + `guid` mediumint unsigned NOT NULL DEFAULT '0', + `slot` smallint NOT NULL DEFAULT '0', + `item` mediumint unsigned NOT NULL DEFAULT '0', + `maxcount` mediumint unsigned NOT NULL DEFAULT '0', + `incrtime` mediumint unsigned NOT NULL DEFAULT '0', + `ExtendedCost` mediumint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`item`), KEY `slot` (`slot`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1077,13 +1077,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` mediumint unsigned NOT NULL DEFAULT '0', + `npcflag` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`guid`,`eventEntry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1092,12 +1092,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` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Id of the pool', PRIMARY KEY (`pool_entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1106,12 +1106,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` mediumint unsigned NOT NULL, PRIMARY KEY (`eventEntry`,`prerequisite_event`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1120,14 +1120,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` mediumint unsigned NOT NULL DEFAULT '0', + `condition_id` mediumint unsigned NOT NULL DEFAULT '0', `num` float DEFAULT '0', PRIMARY KEY (`quest`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1136,13 +1136,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` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Entry of the game event', PRIMARY KEY (`questId`,`eventEntry`), KEY `idx_quest` (`questId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Player System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='Player System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1151,17 +1151,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` mediumint 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', + `map` smallint unsigned NOT NULL DEFAULT '0', `name` varchar(100) NOT NULL DEFAULT '', PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=1433 DEFAULT CHARSET=utf8 COMMENT='Tele Command'; +) ENGINE=MyISAM AUTO_INCREMENT=1433 DEFAULT CHARSET=utf8mb3 COMMENT='Tele Command'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1170,24 +1170,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', + `zone` mediumint 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` char(64) NOT NULL DEFAULT '', PRIMARY KEY (`zone`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Weather System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Weather System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1196,15 +1196,15 @@ 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', - `phaseMask` int(10) unsigned NOT NULL DEFAULT '1', + `guid` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Global Unique Identifier', + `id` mediumint 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', + `phaseMask` int unsigned 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', @@ -1213,13 +1213,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', + `spawntimesecs` int NOT NULL DEFAULT '0', + `animprogress` tinyint unsigned NOT NULL DEFAULT '0', + `state` tinyint unsigned NOT NULL DEFAULT '0', `ScriptName` char(64) DEFAULT '', - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`guid`) -) ENGINE=MyISAM AUTO_INCREMENT=255094 DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Gameobject System'; +) ENGINE=MyISAM AUTO_INCREMENT=255094 DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Gameobject System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1228,17 +1228,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1247,20 +1247,20 @@ 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` mediumint unsigned NOT NULL DEFAULT '0', + `Item` mediumint unsigned NOT NULL DEFAULT '0', + `Reference` mediumint unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` 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', + `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) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Loot System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1269,13 +1269,13 @@ CREATE TABLE `gameobject_loot_template` ( DROP TABLE IF EXISTS `gameobject_overrides`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `gameobject_overrides` ( - `spawnId` int(10) unsigned NOT NULL DEFAULT '0', - `faction` smallint(5) unsigned NOT NULL DEFAULT '0', - `flags` int(10) unsigned NOT NULL DEFAULT '0', + `spawnId` int unsigned NOT NULL DEFAULT '0', + `faction` smallint unsigned NOT NULL DEFAULT '0', + `flags` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`spawnId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1284,12 +1284,12 @@ CREATE TABLE `gameobject_overrides` ( 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` mediumint unsigned NOT NULL DEFAULT '0', + `quest` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`id`,`quest`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1298,14 +1298,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1314,12 +1314,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` mediumint unsigned NOT NULL DEFAULT '0', + `quest` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier', PRIMARY KEY (`id`,`quest`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1328,46 +1328,46 @@ 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', + `entry` mediumint unsigned NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL DEFAULT '0', + `displayId` mediumint unsigned NOT NULL DEFAULT '0', `name` varchar(100) NOT NULL DEFAULT '', `IconName` varchar(100) NOT NULL DEFAULT '', `castBarCaption` varchar(100) NOT NULL DEFAULT '', `unk1` varchar(100) NOT NULL DEFAULT '', `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', + `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', `AIName` char(64) NOT NULL DEFAULT '', `ScriptName` varchar(64) NOT NULL DEFAULT '', - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`entry`), KEY `idx_name` (`name`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Gameobject System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Gameobject System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1376,19 +1376,19 @@ 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` mediumint(8) unsigned NOT NULL DEFAULT '0', - `maxgold` mediumint(8) 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', + `entry` mediumint unsigned NOT NULL DEFAULT '0', + `faction` smallint unsigned NOT NULL DEFAULT '0', + `flags` int unsigned NOT NULL DEFAULT '0', + `mingold` mediumint unsigned NOT NULL DEFAULT '0', + `maxgold` mediumint 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', PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1397,15 +1397,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', + `entry` mediumint unsigned NOT NULL DEFAULT '0', `locale` varchar(4) NOT NULL, `name` text, `castBarCaption` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`entry`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1414,13 +1414,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` smallint(5) unsigned NOT NULL DEFAULT '0', - `TextID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` int(11) NOT NULL DEFAULT '0', + `MenuID` smallint unsigned NOT NULL DEFAULT '0', + `TextID` mediumint unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` int NOT NULL DEFAULT '0', PRIMARY KEY (`MenuID`,`TextID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1429,24 +1429,24 @@ 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` smallint(5) unsigned NOT NULL DEFAULT '0', - `OptionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `OptionIcon` mediumint(8) unsigned NOT NULL DEFAULT '0', + `MenuID` smallint unsigned NOT NULL DEFAULT '0', + `OptionID` smallint unsigned NOT NULL DEFAULT '0', + `OptionIcon` mediumint unsigned NOT NULL DEFAULT '0', `OptionText` text, - `OptionBroadcastTextID` mediumint(6) NOT NULL DEFAULT '0', - `OptionType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `OptionNpcFlag` int(10) unsigned NOT NULL DEFAULT '0', - `ActionMenuID` int(10) unsigned NOT NULL DEFAULT '0', - `ActionPoiID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `BoxCoded` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BoxMoney` int(10) unsigned NOT NULL DEFAULT '0', + `OptionBroadcastTextID` mediumint NOT NULL DEFAULT '0', + `OptionType` tinyint unsigned NOT NULL DEFAULT '0', + `OptionNpcFlag` int unsigned NOT NULL DEFAULT '0', + `ActionMenuID` int unsigned NOT NULL DEFAULT '0', + `ActionPoiID` mediumint unsigned NOT NULL DEFAULT '0', + `BoxCoded` tinyint unsigned NOT NULL DEFAULT '0', + `BoxMoney` int unsigned NOT NULL DEFAULT '0', `BoxText` text, - `BoxBroadcastTextID` mediumint(6) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `BoxBroadcastTextID` mediumint NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`MenuID`,`OptionID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1455,15 +1455,15 @@ CREATE TABLE `gossip_menu_option` ( 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` smallint(6) unsigned NOT NULL DEFAULT '0', - `OptionID` smallint(6) unsigned NOT NULL DEFAULT '0', + `MenuID` smallint unsigned NOT NULL DEFAULT '0', + `OptionID` smallint unsigned NOT NULL DEFAULT '0', `Locale` varchar(4) NOT NULL, `OptionText` text, `BoxText` text, PRIMARY KEY (`MenuID`,`OptionID`,`Locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1472,14 +1472,14 @@ CREATE TABLE `gossip_menu_option_locale` ( 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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', + `GhostZone` mediumint unsigned NOT NULL DEFAULT '0', + `Faction` smallint unsigned NOT NULL DEFAULT '0', `Comment` text, PRIMARY KEY (`ID`,`GhostZone`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Trigger System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='Trigger System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1488,14 +1488,14 @@ CREATE TABLE `graveyard_zone` ( 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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1504,15 +1504,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', + `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) NOT NULL DEFAULT '', PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1521,15 +1521,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1538,14 +1538,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, + `map` smallint unsigned NOT NULL, + `parent` smallint unsigned NOT NULL, `script` varchar(128) NOT NULL DEFAULT '', - `allowMount` tinyint(3) unsigned NOT NULL DEFAULT '0', + `allowMount` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`map`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1554,13 +1554,13 @@ 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` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ench` mediumint(8) unsigned NOT NULL DEFAULT '0', + `entry` mediumint unsigned NOT NULL DEFAULT '0', + `ench` mediumint unsigned NOT NULL DEFAULT '0', `chance` float unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`entry`,`ench`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item Random Enchantment System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Item Random Enchantment System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1569,20 +1569,20 @@ 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` mediumint unsigned NOT NULL DEFAULT '0', + `Item` mediumint unsigned NOT NULL DEFAULT '0', + `Reference` mediumint unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` 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', + `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) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1591,14 +1591,14 @@ CREATE TABLE `item_loot_template` ( DROP TABLE IF EXISTS `item_set_names`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_set_names` ( - `entry` mediumint(8) unsigned NOT NULL, + `entry` mediumint unsigned NOT NULL, `name` varchar(255) NOT NULL DEFAULT '', - `InventoryType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `InventoryType` tinyint unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1607,14 +1607,14 @@ CREATE TABLE `item_set_names` ( DROP TABLE IF EXISTS `item_set_names_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_set_names_locale` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ID` mediumint unsigned NOT NULL DEFAULT '0', `locale` varchar(4) NOT NULL, `Name` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1623,151 +1623,151 @@ CREATE TABLE `item_set_names_locale` ( DROP TABLE IF EXISTS `item_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_template` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `class` tinyint(3) unsigned NOT NULL DEFAULT '0', - `subclass` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SoundOverrideSubclass` tinyint(3) NOT NULL DEFAULT '-1', + `entry` mediumint unsigned NOT NULL DEFAULT '0', + `class` tinyint unsigned NOT NULL DEFAULT '0', + `subclass` tinyint unsigned NOT NULL DEFAULT '0', + `SoundOverrideSubclass` tinyint NOT NULL DEFAULT '-1', `name` varchar(255) NOT NULL DEFAULT '', - `displayid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Quality` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `FlagsExtra` int(10) unsigned NOT NULL DEFAULT '0', - `BuyCount` tinyint(3) unsigned NOT NULL DEFAULT '1', - `BuyPrice` bigint(20) NOT NULL DEFAULT '0', - `SellPrice` int(10) unsigned NOT NULL DEFAULT '0', - `InventoryType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AllowableClass` int(11) NOT NULL DEFAULT '-1', - `AllowableRace` int(11) NOT NULL DEFAULT '-1', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredSkill` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSkillRank` smallint(5) unsigned NOT NULL DEFAULT '0', - `requiredspell` mediumint(8) unsigned NOT NULL DEFAULT '0', - `requiredhonorrank` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredCityRank` mediumint(8) unsigned NOT NULL DEFAULT '0', - `RequiredReputationFaction` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredReputationRank` smallint(5) unsigned NOT NULL DEFAULT '0', - `maxcount` int(11) NOT NULL DEFAULT '0', - `stackable` int(11) DEFAULT '1', - `ContainerSlots` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StatsCount` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_type1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value1` smallint(6) NOT NULL DEFAULT '0', - `stat_type2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value2` smallint(6) NOT NULL DEFAULT '0', - `stat_type3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value3` smallint(6) NOT NULL DEFAULT '0', - `stat_type4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value4` smallint(6) NOT NULL DEFAULT '0', - `stat_type5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value5` smallint(6) NOT NULL DEFAULT '0', - `stat_type6` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value6` smallint(6) NOT NULL DEFAULT '0', - `stat_type7` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value7` smallint(6) NOT NULL DEFAULT '0', - `stat_type8` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value8` smallint(6) NOT NULL DEFAULT '0', - `stat_type9` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value9` smallint(6) NOT NULL DEFAULT '0', - `stat_type10` tinyint(3) unsigned NOT NULL DEFAULT '0', - `stat_value10` smallint(6) NOT NULL DEFAULT '0', - `ScalingStatDistribution` smallint(6) NOT NULL DEFAULT '0', - `ScalingStatValue` int(10) unsigned NOT NULL DEFAULT '0', + `displayid` mediumint unsigned NOT NULL DEFAULT '0', + `Quality` tinyint unsigned NOT NULL DEFAULT '0', + `Flags` int unsigned NOT NULL DEFAULT '0', + `FlagsExtra` int unsigned NOT NULL DEFAULT '0', + `BuyCount` tinyint unsigned NOT NULL DEFAULT '1', + `BuyPrice` bigint NOT NULL DEFAULT '0', + `SellPrice` int unsigned NOT NULL DEFAULT '0', + `InventoryType` tinyint unsigned NOT NULL DEFAULT '0', + `AllowableClass` int NOT NULL DEFAULT '-1', + `AllowableRace` int NOT NULL DEFAULT '-1', + `ItemLevel` smallint unsigned NOT NULL DEFAULT '0', + `RequiredLevel` tinyint unsigned NOT NULL DEFAULT '0', + `RequiredSkill` smallint unsigned NOT NULL DEFAULT '0', + `RequiredSkillRank` smallint unsigned NOT NULL DEFAULT '0', + `requiredspell` mediumint unsigned NOT NULL DEFAULT '0', + `requiredhonorrank` mediumint unsigned NOT NULL DEFAULT '0', + `RequiredCityRank` mediumint unsigned NOT NULL DEFAULT '0', + `RequiredReputationFaction` smallint unsigned NOT NULL DEFAULT '0', + `RequiredReputationRank` smallint unsigned NOT NULL DEFAULT '0', + `maxcount` int NOT NULL DEFAULT '0', + `stackable` int DEFAULT '1', + `ContainerSlots` tinyint unsigned NOT NULL DEFAULT '0', + `StatsCount` tinyint unsigned NOT NULL DEFAULT '0', + `stat_type1` tinyint unsigned NOT NULL DEFAULT '0', + `stat_value1` smallint NOT NULL DEFAULT '0', + `stat_type2` tinyint unsigned NOT NULL DEFAULT '0', + `stat_value2` smallint NOT NULL DEFAULT '0', + `stat_type3` tinyint unsigned NOT NULL DEFAULT '0', + `stat_value3` smallint NOT NULL DEFAULT '0', + `stat_type4` tinyint unsigned NOT NULL DEFAULT '0', + `stat_value4` smallint NOT NULL DEFAULT '0', + `stat_type5` tinyint unsigned NOT NULL DEFAULT '0', + `stat_value5` smallint NOT NULL DEFAULT '0', + `stat_type6` tinyint unsigned NOT NULL DEFAULT '0', + `stat_value6` smallint NOT NULL DEFAULT '0', + `stat_type7` tinyint unsigned NOT NULL DEFAULT '0', + `stat_value7` smallint NOT NULL DEFAULT '0', + `stat_type8` tinyint unsigned NOT NULL DEFAULT '0', + `stat_value8` smallint NOT NULL DEFAULT '0', + `stat_type9` tinyint unsigned NOT NULL DEFAULT '0', + `stat_value9` smallint NOT NULL DEFAULT '0', + `stat_type10` tinyint unsigned NOT NULL DEFAULT '0', + `stat_value10` smallint NOT NULL DEFAULT '0', + `ScalingStatDistribution` smallint NOT NULL DEFAULT '0', + `ScalingStatValue` int unsigned NOT NULL DEFAULT '0', `dmg_min1` float NOT NULL DEFAULT '0', `dmg_max1` float NOT NULL DEFAULT '0', - `dmg_type1` tinyint(3) unsigned NOT NULL DEFAULT '0', + `dmg_type1` tinyint unsigned NOT NULL DEFAULT '0', `dmg_min2` float NOT NULL DEFAULT '0', `dmg_max2` float NOT NULL DEFAULT '0', - `dmg_type2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `armor` smallint(5) unsigned NOT NULL DEFAULT '0', - `holy_res` tinyint(3) unsigned NOT NULL DEFAULT '0', - `fire_res` tinyint(3) unsigned NOT NULL DEFAULT '0', - `nature_res` tinyint(3) unsigned NOT NULL DEFAULT '0', - `frost_res` tinyint(3) unsigned NOT NULL DEFAULT '0', - `shadow_res` tinyint(3) unsigned NOT NULL DEFAULT '0', - `arcane_res` tinyint(3) unsigned NOT NULL DEFAULT '0', - `delay` smallint(5) unsigned NOT NULL DEFAULT '1000', - `ammo_type` tinyint(3) unsigned NOT NULL DEFAULT '0', + `dmg_type2` tinyint unsigned NOT NULL DEFAULT '0', + `armor` smallint unsigned NOT NULL DEFAULT '0', + `holy_res` tinyint unsigned NOT NULL DEFAULT '0', + `fire_res` tinyint unsigned NOT NULL DEFAULT '0', + `nature_res` tinyint unsigned NOT NULL DEFAULT '0', + `frost_res` tinyint unsigned NOT NULL DEFAULT '0', + `shadow_res` tinyint unsigned NOT NULL DEFAULT '0', + `arcane_res` tinyint unsigned NOT NULL DEFAULT '0', + `delay` smallint unsigned NOT NULL DEFAULT '1000', + `ammo_type` tinyint unsigned NOT NULL DEFAULT '0', `RangedModRange` float NOT NULL DEFAULT '0', - `spellid_1` mediumint(8) NOT NULL DEFAULT '0', - `spelltrigger_1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `spellcharges_1` smallint(6) NOT NULL DEFAULT '0', + `spellid_1` mediumint NOT NULL DEFAULT '0', + `spelltrigger_1` tinyint unsigned NOT NULL DEFAULT '0', + `spellcharges_1` smallint NOT NULL DEFAULT '0', `spellppmRate_1` float NOT NULL DEFAULT '0', - `spellcooldown_1` int(11) NOT NULL DEFAULT '-1', - `spellcategory_1` smallint(5) unsigned NOT NULL DEFAULT '0', - `spellcategorycooldown_1` int(11) NOT NULL DEFAULT '-1', - `spellid_2` mediumint(8) NOT NULL DEFAULT '0', - `spelltrigger_2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `spellcharges_2` smallint(6) NOT NULL DEFAULT '0', + `spellcooldown_1` int NOT NULL DEFAULT '-1', + `spellcategory_1` smallint unsigned NOT NULL DEFAULT '0', + `spellcategorycooldown_1` int NOT NULL DEFAULT '-1', + `spellid_2` mediumint NOT NULL DEFAULT '0', + `spelltrigger_2` tinyint unsigned NOT NULL DEFAULT '0', + `spellcharges_2` smallint NOT NULL DEFAULT '0', `spellppmRate_2` float NOT NULL DEFAULT '0', - `spellcooldown_2` int(11) NOT NULL DEFAULT '-1', - `spellcategory_2` smallint(5) unsigned NOT NULL DEFAULT '0', - `spellcategorycooldown_2` int(11) NOT NULL DEFAULT '-1', - `spellid_3` mediumint(8) NOT NULL DEFAULT '0', - `spelltrigger_3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `spellcharges_3` smallint(6) NOT NULL DEFAULT '0', + `spellcooldown_2` int NOT NULL DEFAULT '-1', + `spellcategory_2` smallint unsigned NOT NULL DEFAULT '0', + `spellcategorycooldown_2` int NOT NULL DEFAULT '-1', + `spellid_3` mediumint NOT NULL DEFAULT '0', + `spelltrigger_3` tinyint unsigned NOT NULL DEFAULT '0', + `spellcharges_3` smallint NOT NULL DEFAULT '0', `spellppmRate_3` float NOT NULL DEFAULT '0', - `spellcooldown_3` int(11) NOT NULL DEFAULT '-1', - `spellcategory_3` smallint(5) unsigned NOT NULL DEFAULT '0', - `spellcategorycooldown_3` int(11) NOT NULL DEFAULT '-1', - `spellid_4` mediumint(8) NOT NULL DEFAULT '0', - `spelltrigger_4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `spellcharges_4` smallint(6) NOT NULL DEFAULT '0', + `spellcooldown_3` int NOT NULL DEFAULT '-1', + `spellcategory_3` smallint unsigned NOT NULL DEFAULT '0', + `spellcategorycooldown_3` int NOT NULL DEFAULT '-1', + `spellid_4` mediumint NOT NULL DEFAULT '0', + `spelltrigger_4` tinyint unsigned NOT NULL DEFAULT '0', + `spellcharges_4` smallint NOT NULL DEFAULT '0', `spellppmRate_4` float NOT NULL DEFAULT '0', - `spellcooldown_4` int(11) NOT NULL DEFAULT '-1', - `spellcategory_4` smallint(5) unsigned NOT NULL DEFAULT '0', - `spellcategorycooldown_4` int(11) NOT NULL DEFAULT '-1', - `spellid_5` mediumint(8) NOT NULL DEFAULT '0', - `spelltrigger_5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `spellcharges_5` smallint(6) NOT NULL DEFAULT '0', + `spellcooldown_4` int NOT NULL DEFAULT '-1', + `spellcategory_4` smallint unsigned NOT NULL DEFAULT '0', + `spellcategorycooldown_4` int NOT NULL DEFAULT '-1', + `spellid_5` mediumint NOT NULL DEFAULT '0', + `spelltrigger_5` tinyint unsigned NOT NULL DEFAULT '0', + `spellcharges_5` smallint NOT NULL DEFAULT '0', `spellppmRate_5` float NOT NULL DEFAULT '0', - `spellcooldown_5` int(11) NOT NULL DEFAULT '-1', - `spellcategory_5` smallint(5) unsigned NOT NULL DEFAULT '0', - `spellcategorycooldown_5` int(11) NOT NULL DEFAULT '-1', - `bonding` tinyint(3) unsigned NOT NULL DEFAULT '0', + `spellcooldown_5` int NOT NULL DEFAULT '-1', + `spellcategory_5` smallint unsigned NOT NULL DEFAULT '0', + `spellcategorycooldown_5` int NOT NULL DEFAULT '-1', + `bonding` tinyint unsigned NOT NULL DEFAULT '0', `description` varchar(255) NOT NULL DEFAULT '', - `PageText` mediumint(8) unsigned NOT NULL DEFAULT '0', - `LanguageID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PageMaterial` tinyint(3) unsigned NOT NULL DEFAULT '0', - `startquest` mediumint(8) unsigned NOT NULL DEFAULT '0', - `lockid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Material` tinyint(4) NOT NULL DEFAULT '0', - `sheath` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RandomProperty` mediumint(8) NOT NULL DEFAULT '0', - `RandomSuffix` mediumint(8) unsigned NOT NULL DEFAULT '0', - `block` mediumint(8) unsigned NOT NULL DEFAULT '0', - `itemset` mediumint(8) unsigned NOT NULL DEFAULT '0', - `MaxDurability` smallint(5) unsigned NOT NULL DEFAULT '0', - `area` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Map` smallint(6) NOT NULL DEFAULT '0', - `BagFamily` mediumint(8) NOT NULL DEFAULT '0', - `TotemCategory` mediumint(8) NOT NULL DEFAULT '0', - `socketColor_1` tinyint(4) NOT NULL DEFAULT '0', - `socketContent_1` mediumint(8) NOT NULL DEFAULT '0', - `socketColor_2` tinyint(4) NOT NULL DEFAULT '0', - `socketContent_2` mediumint(8) NOT NULL DEFAULT '0', - `socketColor_3` tinyint(4) NOT NULL DEFAULT '0', - `socketContent_3` mediumint(8) NOT NULL DEFAULT '0', - `socketBonus` mediumint(8) NOT NULL DEFAULT '0', - `GemProperties` mediumint(8) NOT NULL DEFAULT '0', - `RequiredDisenchantSkill` smallint(6) NOT NULL DEFAULT '-1', + `PageText` mediumint unsigned NOT NULL DEFAULT '0', + `LanguageID` tinyint unsigned NOT NULL DEFAULT '0', + `PageMaterial` tinyint unsigned NOT NULL DEFAULT '0', + `startquest` mediumint unsigned NOT NULL DEFAULT '0', + `lockid` mediumint unsigned NOT NULL DEFAULT '0', + `Material` tinyint NOT NULL DEFAULT '0', + `sheath` tinyint unsigned NOT NULL DEFAULT '0', + `RandomProperty` mediumint NOT NULL DEFAULT '0', + `RandomSuffix` mediumint unsigned NOT NULL DEFAULT '0', + `block` mediumint unsigned NOT NULL DEFAULT '0', + `itemset` mediumint unsigned NOT NULL DEFAULT '0', + `MaxDurability` smallint unsigned NOT NULL DEFAULT '0', + `area` mediumint unsigned NOT NULL DEFAULT '0', + `Map` smallint NOT NULL DEFAULT '0', + `BagFamily` mediumint NOT NULL DEFAULT '0', + `TotemCategory` mediumint NOT NULL DEFAULT '0', + `socketColor_1` tinyint NOT NULL DEFAULT '0', + `socketContent_1` mediumint NOT NULL DEFAULT '0', + `socketColor_2` tinyint NOT NULL DEFAULT '0', + `socketContent_2` mediumint NOT NULL DEFAULT '0', + `socketColor_3` tinyint NOT NULL DEFAULT '0', + `socketContent_3` mediumint NOT NULL DEFAULT '0', + `socketBonus` mediumint NOT NULL DEFAULT '0', + `GemProperties` mediumint NOT NULL DEFAULT '0', + `RequiredDisenchantSkill` smallint NOT NULL DEFAULT '-1', `ArmorDamageModifier` float NOT NULL DEFAULT '0', - `duration` int(10) unsigned NOT NULL DEFAULT '0', - `ItemLimitCategory` smallint(6) NOT NULL DEFAULT '0', - `HolidayId` int(11) unsigned NOT NULL DEFAULT '0', + `duration` int unsigned NOT NULL DEFAULT '0', + `ItemLimitCategory` smallint NOT NULL DEFAULT '0', + `HolidayId` int unsigned NOT NULL DEFAULT '0', `ScriptName` varchar(64) NOT NULL DEFAULT '', - `DisenchantID` mediumint(8) 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', - `flagsCustom` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `DisenchantID` mediumint 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', + `flagsCustom` int unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`entry`), KEY `idx_name` (`name`), KEY `items_index` (`class`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Item System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1776,15 +1776,15 @@ CREATE TABLE `item_template` ( DROP TABLE IF EXISTS `item_template_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `item_template_locale` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ID` mediumint unsigned NOT NULL DEFAULT '0', `locale` varchar(4) NOT NULL, `Name` text, `Description` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1793,14 +1793,14 @@ CREATE TABLE `item_template_locale` ( 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', + `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', PRIMARY KEY (`dungeonId`,`maxLevel`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1809,17 +1809,17 @@ 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) CHARACTER SET latin1 DEFAULT NULL, + `dungeonId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Unique id from LFGDungeons.dbc', + `name` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_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', - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`dungeonId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1828,13 +1828,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=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature Respawn Link System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='Creature Respawn Link System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1843,14 +1843,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` mediumint unsigned NOT NULL DEFAULT '0', + `mailTemplateId` mediumint unsigned NOT NULL DEFAULT '0', + `senderEntry` mediumint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`level`,`raceMask`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Mail System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Mail System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1859,20 +1859,20 @@ 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` mediumint unsigned NOT NULL DEFAULT '0', + `Item` mediumint unsigned NOT NULL DEFAULT '0', + `Reference` mediumint unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` 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', + `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) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1881,20 +1881,20 @@ 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` mediumint unsigned NOT NULL DEFAULT '0', + `Item` mediumint unsigned NOT NULL DEFAULT '0', + `Reference` mediumint unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` 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', + `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) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1903,14 +1903,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1919,100 +1919,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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', `text0_0` longtext, `text0_1` longtext, - `BroadcastTextID0` mediumint(6) NOT NULL DEFAULT '0', - `lang0` tinyint(3) unsigned NOT NULL DEFAULT '0', + `BroadcastTextID0` mediumint 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', + `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, `text1_1` longtext, - `BroadcastTextID1` mediumint(6) NOT NULL DEFAULT '0', - `lang1` tinyint(3) unsigned NOT NULL DEFAULT '0', + `BroadcastTextID1` mediumint 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', + `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, `text2_1` longtext, - `BroadcastTextID2` mediumint(6) NOT NULL DEFAULT '0', - `lang2` tinyint(3) unsigned NOT NULL DEFAULT '0', + `BroadcastTextID2` mediumint 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', + `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, `text3_1` longtext, - `BroadcastTextID3` mediumint(6) NOT NULL DEFAULT '0', - `lang3` tinyint(3) unsigned NOT NULL DEFAULT '0', + `BroadcastTextID3` mediumint 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', + `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, `text4_1` longtext, - `BroadcastTextID4` mediumint(6) NOT NULL DEFAULT '0', - `lang4` tinyint(3) unsigned NOT NULL DEFAULT '0', + `BroadcastTextID4` mediumint 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', + `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, `text5_1` longtext, - `BroadcastTextID5` mediumint(6) NOT NULL DEFAULT '0', - `lang5` tinyint(3) unsigned NOT NULL DEFAULT '0', + `BroadcastTextID5` mediumint 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', + `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, `text6_1` longtext, - `BroadcastTextID6` mediumint(6) NOT NULL DEFAULT '0', - `lang6` tinyint(3) unsigned NOT NULL DEFAULT '0', + `BroadcastTextID6` mediumint 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', + `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, `text7_1` longtext, - `BroadcastTextID7` mediumint(6) NOT NULL DEFAULT '0', - `lang7` tinyint(3) unsigned NOT NULL DEFAULT '0', + `BroadcastTextID7` mediumint 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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2021,9 +2021,9 @@ 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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', `Locale` varchar(4) NOT NULL, `Text0_0` longtext, `Text0_1` longtext, @@ -2042,7 +2042,7 @@ CREATE TABLE `npc_text_locale` ( `Text7_0` longtext, `Text7_1` longtext, PRIMARY KEY (`ID`,`Locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2051,18 +2051,18 @@ 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` tinyint(3) unsigned NOT NULL DEFAULT '0', - `incrtime` int(10) unsigned NOT NULL DEFAULT '0', - `ExtendedCost` mediumint(8) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `entry` mediumint unsigned NOT NULL DEFAULT '0', + `slot` smallint NOT NULL DEFAULT '0', + `item` mediumint NOT NULL DEFAULT '0', + `maxcount` tinyint unsigned NOT NULL DEFAULT '0', + `incrtime` int unsigned NOT NULL DEFAULT '0', + `ExtendedCost` mediumint unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`entry`,`item`,`ExtendedCost`), KEY `slot` (`slot`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Npc System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Npc System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2071,13 +2071,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, + `TypeId` tinyint unsigned NOT NULL, `ScriptName` char(64) NOT NULL DEFAULT '', `comment` text, PRIMARY KEY (`TypeId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='OutdoorPvP Templates'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='OutdoorPvP Templates'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2086,14 +2086,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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', `Text` longtext NOT NULL, - `NextPageID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `NextPageID` mediumint unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Item System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='Item System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2102,14 +2102,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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', `locale` varchar(4) NOT NULL, `Text` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2118,22 +2118,22 @@ 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, - `min_dmg` smallint(5) unsigned NOT NULL DEFAULT '0', - `max_dmg` smallint(5) unsigned NOT NULL DEFAULT '0', + `creature_entry` mediumint 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, + `min_dmg` smallint unsigned NOT NULL DEFAULT '0', + `max_dmg` smallint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`creature_entry`,`level`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores pet levels stats.'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 PACK_KEYS=0 COMMENT='Stores pet levels stats.'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2142,14 +2142,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, + `id` mediumint unsigned NOT NULL AUTO_INCREMENT, `word` tinytext NOT NULL, - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `half` tinyint(3) unsigned NOT NULL DEFAULT '0', + `entry` mediumint unsigned NOT NULL DEFAULT '0', + `half` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=314 DEFAULT CHARSET=utf8; +) ENGINE=MyISAM AUTO_INCREMENT=314 DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2158,20 +2158,20 @@ CREATE TABLE `pet_name_generation` ( 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` mediumint unsigned NOT NULL DEFAULT '0', + `Item` mediumint unsigned NOT NULL DEFAULT '0', + `Reference` mediumint unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` 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', + `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) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2180,14 +2180,14 @@ CREATE TABLE `pickpocketing_loot_template` ( DROP TABLE IF EXISTS `player_classlevelstats`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `player_classlevelstats` ( - `class` tinyint(3) unsigned NOT NULL, - `level` tinyint(3) unsigned NOT NULL, - `basehp` smallint(5) unsigned NOT NULL, - `basemana` smallint(5) unsigned NOT NULL, + `class` tinyint unsigned NOT NULL, + `level` tinyint unsigned NOT NULL, + `basehp` smallint unsigned NOT NULL, + `basemana` smallint unsigned NOT NULL, PRIMARY KEY (`class`,`level`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 PACK_KEYS=0 COMMENT='Stores levels stats.'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2196,12 +2196,12 @@ CREATE TABLE `player_classlevelstats` ( 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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2210,16 +2210,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, + `race_A` int unsigned NOT NULL, + `alliance_id` int unsigned NOT NULL, `commentA` text, - `race_H` int(10) unsigned NOT NULL, - `horde_id` int(10) unsigned NOT NULL, + `race_H` int unsigned NOT NULL, + `horde_id` int unsigned NOT NULL, `commentH` text, PRIMARY KEY (`alliance_id`,`horde_id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2228,14 +2228,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2244,12 +2244,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2258,12 +2258,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2272,12 +2272,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2286,18 +2286,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=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 PACK_KEYS=0 COMMENT='Stores levels stats.'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2306,13 +2306,13 @@ CREATE TABLE `player_levelstats` ( DROP TABLE IF EXISTS `player_totem_model`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `player_totem_model` ( - `TotemSlot` tinyint(3) unsigned NOT NULL, - `RaceId` tinyint(3) unsigned NOT NULL, - `DisplayId` int(10) unsigned NOT NULL DEFAULT '0', + `TotemSlot` tinyint unsigned NOT NULL, + `RaceId` tinyint unsigned NOT NULL, + `DisplayId` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`TotemSlot`,`RaceId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2321,12 +2321,12 @@ CREATE TABLE `player_totem_model` ( 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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2335,18 +2335,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` mediumint 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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2355,16 +2355,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2373,13 +2373,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', + `raceMask` int unsigned NOT NULL DEFAULT '0', + `classMask` int unsigned NOT NULL DEFAULT '0', + `spell` mediumint unsigned NOT NULL DEFAULT '0', `note` varchar(255) DEFAULT NULL -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2388,15 +2388,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` mediumint 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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2405,15 +2405,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', + `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) DEFAULT NULL, PRIMARY KEY (`raceMask`,`classMask`,`skill`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2422,14 +2422,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', + `racemask` int unsigned NOT NULL DEFAULT '0', + `classmask` int unsigned NOT NULL DEFAULT '0', + `Spell` mediumint unsigned NOT NULL DEFAULT '0', `Note` varchar(255) DEFAULT NULL, PRIMARY KEY (`racemask`,`classmask`,`Spell`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2438,18 +2438,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` mediumint 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', + `Icon` mediumint unsigned NOT NULL DEFAULT '0', + `Flags` mediumint unsigned NOT NULL DEFAULT '0', + `Importance` mediumint unsigned NOT NULL DEFAULT '0', `Name` text NOT NULL, - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2458,14 +2458,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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', `locale` varchar(4) NOT NULL, `Name` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2474,15 +2474,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) DEFAULT NULL, PRIMARY KEY (`type`,`spawnId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2491,13 +2491,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', + `entry` mediumint 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) DEFAULT NULL, PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2506,20 +2506,20 @@ 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` mediumint unsigned NOT NULL DEFAULT '0', + `Item` mediumint unsigned NOT NULL DEFAULT '0', + `Reference` mediumint unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` 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', + `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) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2528,20 +2528,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` mediumint 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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2550,16 +2550,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', + `ID` mediumint 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, - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`ID`,`Type`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2568,15 +2568,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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', + `Type` tinyint unsigned NOT NULL DEFAULT '0', `locale` varchar(4) NOT NULL, `Greeting` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`,`Type`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2585,12 +2585,12 @@ 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=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2599,21 +2599,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', + `ID` mediumint 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, - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2622,14 +2622,14 @@ CREATE TABLE `quest_offer_reward` ( DROP TABLE IF EXISTS `quest_offer_reward_locale`; /*!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_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', `locale` varchar(4) NOT NULL, `RewardText` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`ID`,`locale`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2638,20 +2638,20 @@ CREATE TABLE `quest_offer_reward_locale` ( 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`), KEY `idx` (`QuestID`,`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2660,17 +2660,17 @@ 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(10) unsigned NOT NULL DEFAULT '0', - `Idx1` int(10) unsigned NOT NULL DEFAULT '0', - `Idx2` int(10) unsigned 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 unsigned NOT NULL DEFAULT '0', + `Idx1` int unsigned NOT NULL DEFAULT '0', + `Idx2` int unsigned NOT NULL DEFAULT '0', + `X` int NOT NULL DEFAULT '0', + `Y` int NOT NULL DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`QuestID`,`Idx1`,`Idx2`), KEY `questId_id` (`QuestID`,`Idx1`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2679,14 +2679,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!', + `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) DEFAULT NULL, PRIMARY KEY (`questId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2695,13 +2695,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', + `poolId` mediumint unsigned NOT NULL, + `numActive` int unsigned NOT NULL COMMENT 'Number of indices to have active at any time', `description` varchar(255) DEFAULT NULL, PRIMARY KEY (`poolId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2710,15 +2710,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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', + `EmoteOnComplete` smallint unsigned NOT NULL DEFAULT '0', + `EmoteOnIncomplete` smallint unsigned NOT NULL DEFAULT '0', `CompletionText` text, - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2727,14 +2727,14 @@ CREATE TABLE `quest_request_items` ( DROP TABLE IF EXISTS `quest_request_items_locale`; /*!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_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int unsigned NOT NULL DEFAULT '0', `locale` varchar(4) NOT NULL, `CompletionText` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `VerifiedBuild` smallint NOT NULL DEFAULT '0', PRIMARY KEY (`ID`,`locale`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2743,115 +2743,115 @@ CREATE TABLE `quest_request_items_locale` ( 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` tinyint(3) unsigned 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` mediumint unsigned NOT NULL DEFAULT '0', + `QuestType` tinyint unsigned NOT NULL DEFAULT '2', + `QuestLevel` smallint NOT NULL DEFAULT '1', + `MinLevel` tinyint unsigned 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` mediumint NOT NULL DEFAULT '0', + `RequiredFactionValue2` mediumint NOT NULL DEFAULT '0', + `RewardNextQuest` mediumint 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` mediumint 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', - `RequiredPlayerKills` tinyint(3) 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` mediumint unsigned NOT NULL DEFAULT '0', + `Flags` int unsigned NOT NULL DEFAULT '0', + `RequiredPlayerKills` tinyint unsigned NOT NULL DEFAULT '0', + `RewardItem1` mediumint unsigned NOT NULL DEFAULT '0', + `RewardAmount1` smallint unsigned NOT NULL DEFAULT '0', + `RewardItem2` mediumint unsigned NOT NULL DEFAULT '0', + `RewardAmount2` smallint unsigned NOT NULL DEFAULT '0', + `RewardItem3` mediumint unsigned NOT NULL DEFAULT '0', + `RewardAmount3` smallint unsigned NOT NULL DEFAULT '0', + `RewardItem4` mediumint unsigned NOT NULL DEFAULT '0', + `RewardAmount4` smallint unsigned NOT NULL DEFAULT '0', + `ItemDrop1` mediumint unsigned NOT NULL DEFAULT '0', + `ItemDropQuantity1` smallint unsigned NOT NULL DEFAULT '0', + `ItemDrop2` mediumint unsigned NOT NULL DEFAULT '0', + `ItemDropQuantity2` smallint unsigned NOT NULL DEFAULT '0', + `ItemDrop3` mediumint unsigned NOT NULL DEFAULT '0', + `ItemDropQuantity3` smallint unsigned NOT NULL DEFAULT '0', + `ItemDrop4` mediumint unsigned NOT NULL DEFAULT '0', + `ItemDropQuantity4` smallint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID1` mediumint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity1` smallint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID2` mediumint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity2` smallint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID3` mediumint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity3` smallint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID4` mediumint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity4` smallint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID5` mediumint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemQuantity5` smallint unsigned NOT NULL DEFAULT '0', + `RewardChoiceItemID6` mediumint 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', - `TimeAllowed` int(10) unsigned NOT NULL DEFAULT '0', - `AllowableRaces` smallint(5) unsigned NOT NULL DEFAULT '0', + `POIPriority` mediumint 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` mediumint NOT NULL DEFAULT '0', + `RewardFactionOverride1` mediumint NOT NULL DEFAULT '0', + `RewardFactionID2` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', + `RewardFactionValue2` mediumint NOT NULL DEFAULT '0', + `RewardFactionOverride2` mediumint NOT NULL DEFAULT '0', + `RewardFactionID3` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', + `RewardFactionValue3` mediumint NOT NULL DEFAULT '0', + `RewardFactionOverride3` mediumint NOT NULL DEFAULT '0', + `RewardFactionID4` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', + `RewardFactionValue4` mediumint NOT NULL DEFAULT '0', + `RewardFactionOverride4` mediumint NOT NULL DEFAULT '0', + `RewardFactionID5` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'faction id from Faction.dbc in this case', + `RewardFactionValue5` mediumint NOT NULL DEFAULT '0', + `RewardFactionOverride5` mediumint NOT NULL DEFAULT '0', + `TimeAllowed` int unsigned NOT NULL DEFAULT '0', + `AllowableRaces` smallint unsigned NOT NULL DEFAULT '0', `LogTitle` text, `LogDescription` text, `QuestDescription` text, `AreaDescription` text, `QuestCompletionLog` text, - `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', - `Unknown0` tinyint(3) unsigned NOT NULL DEFAULT '0', + `RequiredNpcOrGo1` mediumint NOT NULL DEFAULT '0', + `RequiredNpcOrGo2` mediumint NOT NULL DEFAULT '0', + `RequiredNpcOrGo3` mediumint NOT NULL DEFAULT '0', + `RequiredNpcOrGo4` mediumint 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` mediumint unsigned NOT NULL DEFAULT '0', + `RequiredItemId2` mediumint unsigned NOT NULL DEFAULT '0', + `RequiredItemId3` mediumint unsigned NOT NULL DEFAULT '0', + `RequiredItemId4` mediumint unsigned NOT NULL DEFAULT '0', + `RequiredItemId5` mediumint unsigned NOT NULL DEFAULT '0', + `RequiredItemId6` mediumint 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', + `Unknown0` tinyint unsigned NOT NULL DEFAULT '0', `ObjectiveText1` text, `ObjectiveText2` text, `ObjectiveText3` text, `ObjectiveText4` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Quest System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='Quest System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2860,28 +2860,28 @@ 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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', + `MaxLevel` tinyint unsigned NOT NULL DEFAULT '0', + `AllowableClasses` int unsigned NOT NULL DEFAULT '0', + `SourceSpellID` mediumint unsigned NOT NULL DEFAULT '0', + `PrevQuestID` mediumint NOT NULL DEFAULT '0', + `NextQuestID` mediumint unsigned NOT NULL DEFAULT '0', + `ExclusiveGroup` mediumint NOT NULL DEFAULT '0', + `BreadcrumbForQuestId` mediumint NOT NULL DEFAULT '0', + `RewardMailTemplateID` mediumint 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` mediumint NOT NULL DEFAULT '0', + `RequiredMaxRepValue` mediumint NOT NULL DEFAULT '0', + `ProvidedItemCount` tinyint unsigned NOT NULL DEFAULT '0', + `SpecialFlags` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2890,9 +2890,9 @@ 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', + `ID` mediumint unsigned NOT NULL DEFAULT '0', `locale` varchar(4) NOT NULL, `Title` text, `Details` text, @@ -2903,9 +2903,9 @@ CREATE TABLE `quest_template_locale` ( `ObjectiveText2` text, `ObjectiveText3` text, `ObjectiveText4` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2914,20 +2914,20 @@ 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` mediumint unsigned NOT NULL DEFAULT '0', + `Item` mediumint unsigned NOT NULL DEFAULT '0', + `Reference` mediumint unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` 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', + `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) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2936,9 +2936,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` mediumint 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', @@ -2947,7 +2947,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2956,23 +2956,23 @@ 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', + `rank_4` tinyint unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`faction`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Reputation spillover reputation gain'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='Reputation spillover reputation gain'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2981,16 +2981,16 @@ 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, + `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 unsigned DEFAULT '0', PRIMARY KEY (`entry`,`chainId`,`splineId`) USING BTREE -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -2999,17 +2999,17 @@ 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, PRIMARY KEY (`entry`,`chainId`,`splineId`,`wpId`) USING BTREE -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3018,17 +3018,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` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'creature_template entry', + `pointid` mediumint 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', + `waittime` int unsigned NOT NULL DEFAULT '0' COMMENT 'waittime in millisecs', `point_comment` text, PRIMARY KEY (`entry`,`pointid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Script Creature waypoints'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Script Creature waypoints'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3037,14 +3037,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` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'SpellId of the discoverable spell', + `reqSpell` mediumint 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=utf8 ROW_FORMAT=FIXED COMMENT='Skill Discovery System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Skill Discovery System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3053,14 +3053,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` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'SpellId of the item creation spell', + `requiredSpecialization` mediumint 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=utf8 ROW_FORMAT=FIXED COMMENT='Skill Specialization System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Skill Specialization System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3069,12 +3069,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` mediumint 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=utf8 ROW_FORMAT=FIXED COMMENT='Fishing system'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Fishing system'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3083,14 +3083,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` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'SpellId of the item creation spell', + `requiredSpecialization` mediumint 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` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'perfect item type to create instead', PRIMARY KEY (`spellId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Crafting Perfection System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Crafting Perfection System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3099,20 +3099,20 @@ 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` mediumint unsigned NOT NULL DEFAULT '0', + `Item` mediumint unsigned NOT NULL DEFAULT '0', + `Reference` mediumint unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` 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', + `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) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3121,40 +3121,40 @@ 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', - `target_param4` 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_param4` 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 NOT NULL COMMENT 'Event Comment', PRIMARY KEY (`entryorguid`,`source_type`,`id`,`link`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3163,13 +3163,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3178,13 +3178,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, + `groupId` int unsigned NOT NULL, `groupName` varchar(100) NOT NULL, - `groupFlags` int(10) unsigned NOT NULL DEFAULT '0', + `groupFlags` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`groupId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3193,20 +3193,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', - `autocast` tinyint(3) unsigned NOT NULL DEFAULT '0', - `quest_start_status` int(11) NOT NULL DEFAULT '64', - `quest_end_status` int(11) NOT NULL DEFAULT '11', + `spell` mediumint unsigned NOT NULL DEFAULT '0', + `area` mediumint unsigned NOT NULL DEFAULT '0', + `quest_start` mediumint unsigned NOT NULL DEFAULT '0', + `quest_end` mediumint unsigned NOT NULL DEFAULT '0', + `aura_spell` mediumint NOT NULL DEFAULT '0', + `racemask` mediumint unsigned NOT NULL DEFAULT '0', + `gender` tinyint unsigned NOT NULL DEFAULT '2', + `autocast` tinyint unsigned NOT NULL DEFAULT '0', + `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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3215,16 +3215,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` mediumint 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) DEFAULT NULL, PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3233,12 +3233,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=utf8 COMMENT='SpellInfo custom attributes'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='SpellInfo custom attributes'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3247,106 +3247,106 @@ 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, - `Dispel` int(10) unsigned NOT NULL DEFAULT '0', - `Mechanic` int(10) unsigned NOT NULL DEFAULT '0', - `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', - `Stances` int(10) unsigned NOT NULL DEFAULT '0', - `StancesNot` int(10) unsigned NOT NULL DEFAULT '0', - `Targets` int(10) unsigned NOT NULL DEFAULT '0', - `CastingTimeIndex` int(10) unsigned NOT NULL DEFAULT '1', - `AuraInterruptFlags` int(10) unsigned NOT NULL DEFAULT '0', - `ProcFlags` int(10) unsigned NOT NULL DEFAULT '0', - `ProcChance` int(10) unsigned NOT NULL DEFAULT '0', - `ProcCharges` int(10) unsigned NOT NULL DEFAULT '0', - `MaxLevel` int(10) unsigned NOT NULL DEFAULT '0', - `BaseLevel` int(10) unsigned NOT NULL DEFAULT '0', - `SpellLevel` int(10) unsigned NOT NULL DEFAULT '0', - `DurationIndex` int(10) unsigned NOT NULL DEFAULT '0', - `RangeIndex` int(10) unsigned NOT NULL DEFAULT '1', - `StackAmount` int(10) unsigned NOT NULL DEFAULT '0', - `EquippedItemClass` int(11) NOT NULL DEFAULT '-1', - `EquippedItemSubClassMask` int(11) NOT NULL DEFAULT '0', - `EquippedItemInventoryTypeMask` int(11) NOT NULL DEFAULT '0', - `Effect1` int(10) unsigned NOT NULL DEFAULT '0', - `Effect2` int(10) unsigned NOT NULL DEFAULT '0', - `Effect3` int(10) unsigned NOT NULL DEFAULT '0', - `EffectDieSides1` int(11) NOT NULL DEFAULT '0', - `EffectDieSides2` int(11) NOT NULL DEFAULT '0', - `EffectDieSides3` int(11) NOT NULL DEFAULT '0', + `Id` int unsigned NOT NULL, + `Dispel` int unsigned NOT NULL DEFAULT '0', + `Mechanic` int unsigned NOT NULL DEFAULT '0', + `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', + `Stances` int unsigned NOT NULL DEFAULT '0', + `StancesNot` int unsigned NOT NULL DEFAULT '0', + `Targets` int unsigned NOT NULL DEFAULT '0', + `CastingTimeIndex` int unsigned NOT NULL DEFAULT '1', + `AuraInterruptFlags` int unsigned NOT NULL DEFAULT '0', + `ProcFlags` int unsigned NOT NULL DEFAULT '0', + `ProcChance` int unsigned NOT NULL DEFAULT '0', + `ProcCharges` int unsigned NOT NULL DEFAULT '0', + `MaxLevel` int unsigned NOT NULL DEFAULT '0', + `BaseLevel` int unsigned NOT NULL DEFAULT '0', + `SpellLevel` int unsigned NOT NULL DEFAULT '0', + `DurationIndex` int unsigned NOT NULL DEFAULT '0', + `RangeIndex` int unsigned NOT NULL DEFAULT '1', + `StackAmount` int unsigned NOT NULL DEFAULT '0', + `EquippedItemClass` int NOT NULL DEFAULT '-1', + `EquippedItemSubClassMask` int NOT NULL DEFAULT '0', + `EquippedItemInventoryTypeMask` int NOT NULL DEFAULT '0', + `Effect1` int unsigned NOT NULL DEFAULT '0', + `Effect2` int unsigned NOT NULL DEFAULT '0', + `Effect3` int unsigned NOT NULL DEFAULT '0', + `EffectDieSides1` int NOT NULL DEFAULT '0', + `EffectDieSides2` int NOT NULL DEFAULT '0', + `EffectDieSides3` int NOT NULL DEFAULT '0', `EffectRealPointsPerLevel1` float NOT NULL DEFAULT '0', `EffectRealPointsPerLevel2` float NOT NULL DEFAULT '0', `EffectRealPointsPerLevel3` float NOT NULL DEFAULT '0', - `EffectBasePoints1` int(11) NOT NULL DEFAULT '0', - `EffectBasePoints2` int(11) NOT NULL DEFAULT '0', - `EffectBasePoints3` int(11) NOT NULL DEFAULT '0', - `EffectMechanic1` int(10) unsigned NOT NULL DEFAULT '0', - `EffectMechanic2` int(10) unsigned NOT NULL DEFAULT '0', - `EffectMechanic3` int(10) unsigned NOT NULL DEFAULT '0', - `EffectImplicitTargetA1` int(10) unsigned NOT NULL DEFAULT '0', - `EffectImplicitTargetA2` int(10) unsigned NOT NULL DEFAULT '0', - `EffectImplicitTargetA3` int(10) unsigned NOT NULL DEFAULT '0', - `EffectImplicitTargetB1` int(10) unsigned NOT NULL DEFAULT '0', - `EffectImplicitTargetB2` int(10) unsigned NOT NULL DEFAULT '0', - `EffectImplicitTargetB3` int(10) unsigned NOT NULL DEFAULT '0', - `EffectRadiusIndex1` int(10) unsigned NOT NULL DEFAULT '0', - `EffectRadiusIndex2` int(10) unsigned NOT NULL DEFAULT '0', - `EffectRadiusIndex3` int(10) unsigned NOT NULL DEFAULT '0', - `EffectApplyAuraName1` int(10) unsigned NOT NULL DEFAULT '0', - `EffectApplyAuraName2` int(10) unsigned NOT NULL DEFAULT '0', - `EffectApplyAuraName3` int(10) unsigned NOT NULL DEFAULT '0', - `EffectAmplitude1` int(11) NOT NULL DEFAULT '0', - `EffectAmplitude2` int(11) NOT NULL DEFAULT '0', - `EffectAmplitude3` int(11) NOT NULL DEFAULT '0', + `EffectBasePoints1` int NOT NULL DEFAULT '0', + `EffectBasePoints2` int NOT NULL DEFAULT '0', + `EffectBasePoints3` int NOT NULL DEFAULT '0', + `EffectMechanic1` int unsigned NOT NULL DEFAULT '0', + `EffectMechanic2` int unsigned NOT NULL DEFAULT '0', + `EffectMechanic3` int unsigned NOT NULL DEFAULT '0', + `EffectImplicitTargetA1` int unsigned NOT NULL DEFAULT '0', + `EffectImplicitTargetA2` int unsigned NOT NULL DEFAULT '0', + `EffectImplicitTargetA3` int unsigned NOT NULL DEFAULT '0', + `EffectImplicitTargetB1` int unsigned NOT NULL DEFAULT '0', + `EffectImplicitTargetB2` int unsigned NOT NULL DEFAULT '0', + `EffectImplicitTargetB3` int unsigned NOT NULL DEFAULT '0', + `EffectRadiusIndex1` int unsigned NOT NULL DEFAULT '0', + `EffectRadiusIndex2` int unsigned NOT NULL DEFAULT '0', + `EffectRadiusIndex3` int unsigned NOT NULL DEFAULT '0', + `EffectApplyAuraName1` int unsigned NOT NULL DEFAULT '0', + `EffectApplyAuraName2` int unsigned NOT NULL DEFAULT '0', + `EffectApplyAuraName3` int unsigned NOT NULL DEFAULT '0', + `EffectAmplitude1` int NOT NULL DEFAULT '0', + `EffectAmplitude2` int NOT NULL DEFAULT '0', + `EffectAmplitude3` int NOT NULL DEFAULT '0', `EffectMultipleValue1` float NOT NULL DEFAULT '0', `EffectMultipleValue2` float NOT NULL DEFAULT '0', `EffectMultipleValue3` float NOT NULL DEFAULT '0', - `EffectItemType1` int(10) unsigned NOT NULL DEFAULT '0', - `EffectItemType2` int(10) unsigned NOT NULL DEFAULT '0', - `EffectItemType3` int(10) unsigned NOT NULL DEFAULT '0', - `EffectMiscValue1` int(11) NOT NULL DEFAULT '0', - `EffectMiscValue2` int(11) NOT NULL DEFAULT '0', - `EffectMiscValue3` int(11) NOT NULL DEFAULT '0', - `EffectMiscValueB1` int(11) NOT NULL DEFAULT '0', - `EffectMiscValueB2` int(11) NOT NULL DEFAULT '0', - `EffectMiscValueB3` int(11) NOT NULL DEFAULT '0', - `EffectTriggerSpell1` int(10) unsigned NOT NULL DEFAULT '0', - `EffectTriggerSpell2` int(10) unsigned NOT NULL DEFAULT '0', - `EffectTriggerSpell3` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskA1` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskA2` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskA3` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskB1` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskB2` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskB3` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskC1` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskC2` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskC3` int(10) unsigned NOT NULL DEFAULT '0', + `EffectItemType1` int unsigned NOT NULL DEFAULT '0', + `EffectItemType2` int unsigned NOT NULL DEFAULT '0', + `EffectItemType3` int unsigned NOT NULL DEFAULT '0', + `EffectMiscValue1` int NOT NULL DEFAULT '0', + `EffectMiscValue2` int NOT NULL DEFAULT '0', + `EffectMiscValue3` int NOT NULL DEFAULT '0', + `EffectMiscValueB1` int NOT NULL DEFAULT '0', + `EffectMiscValueB2` int NOT NULL DEFAULT '0', + `EffectMiscValueB3` int NOT NULL DEFAULT '0', + `EffectTriggerSpell1` int unsigned NOT NULL DEFAULT '0', + `EffectTriggerSpell2` int unsigned NOT NULL DEFAULT '0', + `EffectTriggerSpell3` int unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskA1` int unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskA2` int unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskA3` int unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskB1` int unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskB2` int unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskB3` int unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskC1` int unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskC2` int unsigned NOT NULL DEFAULT '0', + `EffectSpellClassMaskC3` int unsigned NOT NULL DEFAULT '0', `SpellName` varchar(100) DEFAULT NULL, - `MaxTargetLevel` int(10) unsigned NOT NULL DEFAULT '0', - `SpellFamilyName` int(10) unsigned NOT NULL DEFAULT '0', - `SpellFamilyFlags1` int(10) unsigned NOT NULL DEFAULT '0', - `SpellFamilyFlags2` int(10) unsigned NOT NULL DEFAULT '0', - `SpellFamilyFlags3` int(10) unsigned NOT NULL DEFAULT '0', - `MaxAffectedTargets` int(10) unsigned NOT NULL DEFAULT '0', - `DmgClass` int(10) unsigned NOT NULL DEFAULT '0', - `PreventionType` int(10) unsigned NOT NULL DEFAULT '0', + `MaxTargetLevel` int unsigned NOT NULL DEFAULT '0', + `SpellFamilyName` int unsigned NOT NULL DEFAULT '0', + `SpellFamilyFlags1` int unsigned NOT NULL DEFAULT '0', + `SpellFamilyFlags2` int unsigned NOT NULL DEFAULT '0', + `SpellFamilyFlags3` int unsigned NOT NULL DEFAULT '0', + `MaxAffectedTargets` int unsigned NOT NULL DEFAULT '0', + `DmgClass` int unsigned NOT NULL DEFAULT '0', + `PreventionType` int unsigned NOT NULL DEFAULT '0', `DmgMultiplier1` float NOT NULL DEFAULT '0', `DmgMultiplier2` float NOT NULL DEFAULT '0', `DmgMultiplier3` float NOT NULL DEFAULT '0', - `AreaGroupId` int(11) NOT NULL DEFAULT '0', - `SchoolMask` int(10) unsigned NOT NULL DEFAULT '0', + `AreaGroupId` int NOT NULL DEFAULT '0', + `SchoolMask` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`Id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Custom spell.dbc entries'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Custom spell.dbc entries'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3355,15 +3355,15 @@ 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` ( - `EnchantID` int(10) unsigned NOT NULL, + `EnchantID` int unsigned NOT NULL, `Chance` float NOT NULL DEFAULT '0', `ProcsPerMinute` float NOT NULL DEFAULT '0', - `HitMask` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesMask` int(10) unsigned NOT NULL DEFAULT '0', + `HitMask` int unsigned NOT NULL DEFAULT '0', + `AttributesMask` int unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`EnchantID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Spell enchant proc data'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC COMMENT='Spell enchant proc data'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3372,12 +3372,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=utf8 ROW_FORMAT=FIXED COMMENT='Spell System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Spell System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3386,12 +3386,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3400,13 +3400,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=utf8 ROW_FORMAT=FIXED COMMENT='Item System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Item System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3415,14 +3415,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', + `spell_trigger` mediumint NOT NULL, + `spell_effect` mediumint NOT NULL DEFAULT '0', + `type` tinyint unsigned NOT NULL DEFAULT '0', `comment` text NOT NULL, UNIQUE KEY `trigger_effect_type` (`spell_trigger`,`spell_effect`,`type`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Spell System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='Spell System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3431,20 +3431,20 @@ 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` mediumint unsigned NOT NULL DEFAULT '0', + `Item` mediumint unsigned NOT NULL DEFAULT '0', + `Reference` mediumint unsigned NOT NULL DEFAULT '0', `Chance` float NOT NULL DEFAULT '100', `QuestRequired` 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', + `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) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3453,14 +3453,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` mediumint unsigned NOT NULL COMMENT 'dummy spell id', + `effectId` tinyint unsigned NOT NULL DEFAULT '0', + `pet` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'pet id; 0 = all', + `aura` mediumint unsigned NOT NULL COMMENT 'pet aura id', PRIMARY KEY (`spell`,`effectId`,`pet`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3469,26 +3469,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3497,14 +3497,14 @@ CREATE TABLE `spell_proc` ( 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=utf8 ROW_FORMAT=FIXED COMMENT='Spell Rank Data'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Spell Rank Data'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3513,12 +3513,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` mediumint NOT NULL DEFAULT '0', + `req_spell` mediumint NOT NULL DEFAULT '0', PRIMARY KEY (`spell_id`,`req_spell`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell Additinal Data'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Spell Additinal Data'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3527,12 +3527,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, + `spell_id` int NOT NULL, `ScriptName` char(64) NOT NULL, UNIQUE KEY `spell_id` (`spell_id`,`ScriptName`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3541,21 +3541,21 @@ 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` mediumint unsigned NOT NULL DEFAULT '0', + `effIndex` tinyint unsigned NOT NULL DEFAULT '0', + `delay` int unsigned NOT NULL DEFAULT '0', + `command` mediumint unsigned NOT NULL DEFAULT '0', + `datalong` mediumint 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', `Comment` varchar(255) NOT NULL DEFAULT '' -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3564,18 +3564,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` mediumint 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=utf8 ROW_FORMAT=FIXED COMMENT='Spell System'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Spell System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3584,14 +3584,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` mediumint 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=utf8 ROW_FORMAT=FIXED; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3600,15 +3600,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3617,15 +3617,15 @@ CREATE TABLE `spelldifficulty_dbc` ( 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', + `Id` int unsigned NOT NULL DEFAULT '0', + `Type` tinyint unsigned NOT NULL DEFAULT '2', + `Requirement` mediumint unsigned NOT NULL DEFAULT '0', `Greeting` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`Id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3634,14 +3634,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', + `Id` int unsigned NOT NULL DEFAULT '0', `locale` varchar(4) NOT NULL, `Greeting_lang` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint DEFAULT '0', PRIMARY KEY (`Id`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3650,20 +3650,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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3672,15 +3672,15 @@ 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', + `guid` int unsigned NOT NULL AUTO_INCREMENT, + `entry` mediumint unsigned NOT NULL DEFAULT '0', `name` text, `ScriptName` char(64) NOT NULL DEFAULT '', PRIMARY KEY (`guid`), UNIQUE KEY `idx_entry` (`entry`) -) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Transports'; +) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Transports'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3689,9 +3689,9 @@ 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', + `entry` mediumint unsigned NOT NULL DEFAULT '0', `content_default` text NOT NULL, `content_loc1` text, `content_loc2` text, @@ -3702,7 +3702,7 @@ CREATE TABLE `trinity_string` ( `content_loc7` text, `content_loc8` text, PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3711,15 +3711,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) NOT NULL COMMENT 'filename with extension of the update.', `hash` char(40) DEFAULT '' COMMENT 'sha1 hash of the sql file.', `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.', `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.', - `speed` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', + `speed` int unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.', PRIMARY KEY (`name`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of all applied updates in this database.'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='List of all applied updates in this database.'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3728,12 +3728,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) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.', `state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.', PRIMARY KEY (`path`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of directories where we want to include sql updates.'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COMMENT='List of directories where we want to include sql updates.'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3742,17 +3742,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', + `guid` mediumint unsigned NOT NULL DEFAULT '0', + `accessory_entry` mediumint unsigned NOT NULL DEFAULT '0', + `seat_id` tinyint NOT NULL DEFAULT '0', + `minion` tinyint unsigned NOT NULL DEFAULT '0', `description` text 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', + `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=utf8 ROW_FORMAT=FIXED; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3761,9 +3761,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', `SeatOrientation` float DEFAULT '0' COMMENT 'Seat Orientation override value', `ExitParamX` float DEFAULT '0', `ExitParamY` float DEFAULT '0', @@ -3771,7 +3771,7 @@ CREATE TABLE `vehicle_seat_addon` ( `ExitParamO` float DEFAULT '0', `ExitParamValue` tinyint(1) DEFAULT '0', PRIMARY KEY (`SeatEntry`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3780,12 +3780,12 @@ CREATE TABLE `vehicle_seat_addon` ( DROP TABLE IF EXISTS `vehicle_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; +/*!50503 SET character_set_client = utf8mb4 */; CREATE TABLE `vehicle_template` ( - `creatureId` int(10) unsigned NOT NULL, - `despawnDelayMs` int(11) NOT NULL DEFAULT '0', + `creatureId` int unsigned NOT NULL, + `despawnDelayMs` int NOT NULL DEFAULT '0', PRIMARY KEY (`creatureId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3794,17 +3794,17 @@ CREATE TABLE `vehicle_template` ( 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', + `entry` mediumint unsigned NOT NULL DEFAULT '0', + `accessory_entry` mediumint unsigned NOT NULL DEFAULT '0', + `seat_id` tinyint NOT NULL DEFAULT '0', + `minion` tinyint unsigned NOT NULL DEFAULT '0', `description` text 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', + `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=utf8 ROW_FORMAT=FIXED; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3813,24 +3813,24 @@ 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) NOT NULL DEFAULT '' COMMENT 'Core revision dumped at startup.', `core_revision` varchar(120) DEFAULT NULL, `db_version` varchar(120) DEFAULT NULL COMMENT 'Version of world DB.', - `cache_id` int(11) DEFAULT '0', + `cache_id` int DEFAULT '0', PRIMARY KEY (`core_version`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Version Notes'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Version Notes'; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Temporary table structure for view `vw_conditions_with_labels` +-- Temporary view structure for view `vw_conditions_with_labels` -- DROP TABLE IF EXISTS `vw_conditions_with_labels`; /*!50001 DROP VIEW IF EXISTS `vw_conditions_with_labels`*/; SET @saved_cs_client = @@character_set_client; -SET character_set_client = utf8; +/*!50503 SET character_set_client = utf8mb4 */; /*!50001 CREATE VIEW `vw_conditions_with_labels` AS SELECT 1 AS `SourceTypeOrReferenceId`, 1 AS `SourceGroup`, @@ -3850,13 +3850,13 @@ SET character_set_client = utf8; SET character_set_client = @saved_cs_client; -- --- Temporary table structure for view `vw_disables_with_labels` +-- Temporary view structure for view `vw_disables_with_labels` -- DROP TABLE IF EXISTS `vw_disables_with_labels`; /*!50001 DROP VIEW IF EXISTS `vw_disables_with_labels`*/; SET @saved_cs_client = @@character_set_client; -SET character_set_client = utf8; +/*!50503 SET character_set_client = utf8mb4 */; /*!50001 CREATE VIEW `vw_disables_with_labels` AS SELECT 1 AS `sourceType`, 1 AS `entry`, @@ -3867,13 +3867,13 @@ SET character_set_client = utf8; SET character_set_client = @saved_cs_client; -- --- Temporary table structure for view `vw_smart_scripts_with_labels` +-- Temporary view structure for view `vw_smart_scripts_with_labels` -- DROP TABLE IF EXISTS `vw_smart_scripts_with_labels`; /*!50001 DROP VIEW IF EXISTS `vw_smart_scripts_with_labels`*/; SET @saved_cs_client = @@character_set_client; -SET character_set_client = utf8; +/*!50503 SET character_set_client = utf8mb4 */; /*!50001 CREATE VIEW `vw_smart_scripts_with_labels` AS SELECT 1 AS `entryorguid`, 1 AS `source_type`, @@ -3913,18 +3913,18 @@ SET character_set_client = @saved_cs_client; 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, + `id` smallint unsigned NOT NULL AUTO_INCREMENT, + `type` tinyint unsigned DEFAULT NULL, `str` varchar(170) DEFAULT NULL, - `address` int(10) unsigned DEFAULT NULL, - `length` tinyint(3) unsigned DEFAULT NULL, + `address` int unsigned DEFAULT NULL, + `length` tinyint unsigned DEFAULT NULL, `comment` varchar(50) DEFAULT NULL, `data` binary(24) DEFAULT NULL, `result` varbinary(24) DEFAULT NULL, PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=791 DEFAULT CHARSET=utf8; +) ENGINE=MyISAM AUTO_INCREMENT=791 DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3933,21 +3933,21 @@ 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` mediumint 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', - `delay` int(10) unsigned 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', + `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=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3956,22 +3956,22 @@ CREATE TABLE `waypoint_data` ( 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', `Comment` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`guid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -3980,18 +3980,18 @@ 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` mediumint unsigned NOT NULL DEFAULT '0', + `pointid` mediumint 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', - `delay` int(10) unsigned NOT NULL DEFAULT '0', + `delay` int unsigned NOT NULL DEFAULT '0', `point_comment` text, PRIMARY KEY (`entry`,`pointid`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature waypoints'; +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 ROW_FORMAT=FIXED COMMENT='Creature waypoints'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -4011,7 +4011,7 @@ CREATE TABLE `waypoints` ( /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 */ -/*!50001 VIEW `vw_conditions_with_labels` AS (select (case when (`conditions`.`SourceTypeOrReferenceId` = 0) then 'CONDITION_SOURCE_TYPE_NONE' when (`conditions`.`SourceTypeOrReferenceId` = 1) then 'CONDITION_SOURCE_TYPE_CREATURE_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 2) then 'CONDITION_SOURCE_TYPE_DISENCHANT_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 3) then 'CONDITION_SOURCE_TYPE_FISHING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 4) then 'CONDITION_SOURCE_TYPE_GAMEOBJECT_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 5) then 'CONDITION_SOURCE_TYPE_ITEM_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 6) then 'CONDITION_SOURCE_TYPE_MAIL_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 7) then 'CONDITION_SOURCE_TYPE_MILLING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 8) then 'CONDITION_SOURCE_TYPE_PICKPOCKETING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 9) then 'CONDITION_SOURCE_TYPE_PROSPECTING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 10) then 'CONDITION_SOURCE_TYPE_REFERENCE_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 11) then 'CONDITION_SOURCE_TYPE_SKINNING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 12) then 'CONDITION_SOURCE_TYPE_SPELL_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 13) then 'CONDITION_SOURCE_TYPE_SPELL_IMPLICIT_TARGET' when (`conditions`.`SourceTypeOrReferenceId` = 14) then 'CONDITION_SOURCE_TYPE_GOSSIP_MENU' when (`conditions`.`SourceTypeOrReferenceId` = 15) then 'CONDITION_SOURCE_TYPE_GOSSIP_MENU_OPTION' when (`conditions`.`SourceTypeOrReferenceId` = 16) then 'CONDITION_SOURCE_TYPE_CREATURE_TEMPLATE_VEHICLE' when (`conditions`.`SourceTypeOrReferenceId` = 17) then 'CONDITION_SOURCE_TYPE_SPELL' when (`conditions`.`SourceTypeOrReferenceId` = 18) then 'CONDITION_SOURCE_TYPE_SPELL_CLICK_EVENT' when (`conditions`.`SourceTypeOrReferenceId` = 19) then 'CONDITION_SOURCE_TYPE_QUEST_AVAILABLE' when (`conditions`.`SourceTypeOrReferenceId` = 21) then 'CONDITION_SOURCE_TYPE_VEHICLE_SPELL' when (`conditions`.`SourceTypeOrReferenceId` = 22) then 'CONDITION_SOURCE_TYPE_SMART_EVENT' when (`conditions`.`SourceTypeOrReferenceId` = 23) then 'CONDITION_SOURCE_TYPE_NPC_VENDOR' when (`conditions`.`SourceTypeOrReferenceId` = 24) then 'CONDITION_SOURCE_TYPE_SPELL_PROC' when (`conditions`.`SourceTypeOrReferenceId` = 25) then 'CONDITION_SOURCE_TYPE_TERRAIN_SWAP' when (`conditions`.`SourceTypeOrReferenceId` = 26) then 'CONDITION_SOURCE_TYPE_PHASE' when (`conditions`.`SourceTypeOrReferenceId` = 27) then 'CONDITION_SOURCE_TYPE_GRAVEYARD' else `conditions`.`SourceTypeOrReferenceId` end) AS `SourceTypeOrReferenceId`,`conditions`.`SourceGroup` AS `SourceGroup`,`conditions`.`SourceEntry` AS `SourceEntry`,`conditions`.`SourceId` AS `SourceId`,`conditions`.`ElseGroup` AS `ElseGroup`,(case when (`conditions`.`SourceTypeOrReferenceId` = 0) then 'CONDITION_NONE' when (`conditions`.`SourceTypeOrReferenceId` = 1) then 'CONDITION_AURA' when (`conditions`.`SourceTypeOrReferenceId` = 2) then 'CONDITION_ITEM' when (`conditions`.`SourceTypeOrReferenceId` = 3) then 'CONDITION_ITEM_EQUIPPED' when (`conditions`.`SourceTypeOrReferenceId` = 4) then 'CONDITION_ZONEID' when (`conditions`.`SourceTypeOrReferenceId` = 5) then 'CONDITION_REPUTATION_RANK' when (`conditions`.`SourceTypeOrReferenceId` = 6) then 'CONDITION_TEAM' when (`conditions`.`SourceTypeOrReferenceId` = 7) then 'CONDITION_SKILL' when (`conditions`.`SourceTypeOrReferenceId` = 8) then 'CONDITION_QUESTREWARDED' when (`conditions`.`SourceTypeOrReferenceId` = 9) then 'CONDITION_QUESTTAKEN' when (`conditions`.`SourceTypeOrReferenceId` = 10) then 'CONDITION_DRUNKENSTATE' when (`conditions`.`SourceTypeOrReferenceId` = 11) then 'CONDITION_WORLD_STATE' when (`conditions`.`SourceTypeOrReferenceId` = 12) then 'CONDITION_ACTIVE_EVENT' when (`conditions`.`SourceTypeOrReferenceId` = 13) then 'CONDITION_INSTANCE_INFO' when (`conditions`.`SourceTypeOrReferenceId` = 14) then 'CONDITION_QUEST_NONE' when (`conditions`.`SourceTypeOrReferenceId` = 15) then 'CONDITION_CLASS' when (`conditions`.`SourceTypeOrReferenceId` = 16) then 'CONDITION_RACE' when (`conditions`.`SourceTypeOrReferenceId` = 17) then 'CONDITION_ACHIEVEMENT' when (`conditions`.`SourceTypeOrReferenceId` = 18) then 'CONDITION_TITLE' when (`conditions`.`SourceTypeOrReferenceId` = 19) then 'CONDITION_SPAWNMASK' when (`conditions`.`SourceTypeOrReferenceId` = 20) then 'CONDITION_GENDER' when (`conditions`.`SourceTypeOrReferenceId` = 21) then 'CONDITION_UNIT_STATE' when (`conditions`.`SourceTypeOrReferenceId` = 22) then 'CONDITION_MAPID' when (`conditions`.`SourceTypeOrReferenceId` = 23) then 'CONDITION_AREAID' when (`conditions`.`SourceTypeOrReferenceId` = 24) then 'CONDITION_CREATURE_TYPE' when (`conditions`.`SourceTypeOrReferenceId` = 25) then 'CONDITION_SPELL' when (`conditions`.`SourceTypeOrReferenceId` = 26) then 'CONDITION_PHASEMASK' when (`conditions`.`SourceTypeOrReferenceId` = 27) then 'CONDITION_LEVEL' when (`conditions`.`SourceTypeOrReferenceId` = 28) then 'CONDITION_QUEST_COMPLETE' when (`conditions`.`SourceTypeOrReferenceId` = 29) then 'CONDITION_NEAR_CREATURE' when (`conditions`.`SourceTypeOrReferenceId` = 30) then 'CONDITION_NEAR_GAMEOBJECT' when (`conditions`.`SourceTypeOrReferenceId` = 31) then 'CONDITION_OBJECT_ENTRY_GUID' when (`conditions`.`SourceTypeOrReferenceId` = 32) then 'CONDITION_TYPE_MASK' when (`conditions`.`SourceTypeOrReferenceId` = 33) then 'CONDITION_RELATION_TO' when (`conditions`.`SourceTypeOrReferenceId` = 34) then 'CONDITION_REACTION_TO' when (`conditions`.`SourceTypeOrReferenceId` = 35) then 'CONDITION_DISTANCE_TO' when (`conditions`.`SourceTypeOrReferenceId` = 36) then 'CONDITION_ALIVE' when (`conditions`.`SourceTypeOrReferenceId` = 37) then 'CONDITION_HP_VAL' when (`conditions`.`SourceTypeOrReferenceId` = 38) then 'CONDITION_HP_PCT' when (`conditions`.`SourceTypeOrReferenceId` = 39) then 'CONDITION_REALM_ACHIEVEMENT' when (`conditions`.`SourceTypeOrReferenceId` = 40) then 'CONDITION_IN_WATER' when (`conditions`.`SourceTypeOrReferenceId` = 41) then 'CONDITION_TERRAIN_SWAP' when (`conditions`.`SourceTypeOrReferenceId` = 42) then 'CONDITION_STAND_STATE' when (`conditions`.`SourceTypeOrReferenceId` = 43) then 'CONDITION_DAILY_QUEST_DONE' when (`conditions`.`SourceTypeOrReferenceId` = 44) then 'CONDITION_CHARMED' when (`conditions`.`SourceTypeOrReferenceId` = 45) then 'CONDITION_PET_TYPE' when (`conditions`.`SourceTypeOrReferenceId` = 46) then 'CONDITION_TAXI' when (`conditions`.`SourceTypeOrReferenceId` = 47) then 'CONDITION_QUESTSTATE' when (`conditions`.`SourceTypeOrReferenceId` = 48) then 'CONDITION_QUEST_OBJECTIVE_PROGRESS' when (`conditions`.`SourceTypeOrReferenceId` = 49) then 'CONDITION_DIFFICULTY_ID' when (`conditions`.`SourceTypeOrReferenceId` = 50) then 'CONDITION_GAMEMASTER' when (`conditions`.`SourceTypeOrReferenceId` = 51) then 'CONDITION_OBJECT_ENTRY_GUID_MASTER' when (`conditions`.`SourceTypeOrReferenceId` = 52) then 'CONDITION_TYPE_MASK_MASTER' else `conditions`.`ConditionTypeOrReference` end) AS `ConditionTypeOrReference`,`conditions`.`ConditionTarget` AS `ConditionTarget`,`conditions`.`ConditionValue1` AS `ConditionValue1`,`conditions`.`ConditionValue2` AS `ConditionValue2`,`conditions`.`ConditionValue3` AS `ConditionValue3`,`conditions`.`NegativeCondition` AS `NegativeCondition`,`conditions`.`ErrorType` AS `ErrorType`,`conditions`.`ErrorTextId` AS `ErrorTextId`,`conditions`.`ScriptName` AS `ScriptName`,`conditions`.`Comment` AS `Comment` from `conditions`) */; +/*!50001 VIEW `vw_conditions_with_labels` AS select (case when (`conditions`.`SourceTypeOrReferenceId` = 0) then 'CONDITION_SOURCE_TYPE_NONE' when (`conditions`.`SourceTypeOrReferenceId` = 1) then 'CONDITION_SOURCE_TYPE_CREATURE_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 2) then 'CONDITION_SOURCE_TYPE_DISENCHANT_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 3) then 'CONDITION_SOURCE_TYPE_FISHING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 4) then 'CONDITION_SOURCE_TYPE_GAMEOBJECT_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 5) then 'CONDITION_SOURCE_TYPE_ITEM_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 6) then 'CONDITION_SOURCE_TYPE_MAIL_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 7) then 'CONDITION_SOURCE_TYPE_MILLING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 8) then 'CONDITION_SOURCE_TYPE_PICKPOCKETING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 9) then 'CONDITION_SOURCE_TYPE_PROSPECTING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 10) then 'CONDITION_SOURCE_TYPE_REFERENCE_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 11) then 'CONDITION_SOURCE_TYPE_SKINNING_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 12) then 'CONDITION_SOURCE_TYPE_SPELL_LOOT_TEMPLATE' when (`conditions`.`SourceTypeOrReferenceId` = 13) then 'CONDITION_SOURCE_TYPE_SPELL_IMPLICIT_TARGET' when (`conditions`.`SourceTypeOrReferenceId` = 14) then 'CONDITION_SOURCE_TYPE_GOSSIP_MENU' when (`conditions`.`SourceTypeOrReferenceId` = 15) then 'CONDITION_SOURCE_TYPE_GOSSIP_MENU_OPTION' when (`conditions`.`SourceTypeOrReferenceId` = 16) then 'CONDITION_SOURCE_TYPE_CREATURE_TEMPLATE_VEHICLE' when (`conditions`.`SourceTypeOrReferenceId` = 17) then 'CONDITION_SOURCE_TYPE_SPELL' when (`conditions`.`SourceTypeOrReferenceId` = 18) then 'CONDITION_SOURCE_TYPE_SPELL_CLICK_EVENT' when (`conditions`.`SourceTypeOrReferenceId` = 19) then 'CONDITION_SOURCE_TYPE_QUEST_AVAILABLE' when (`conditions`.`SourceTypeOrReferenceId` = 21) then 'CONDITION_SOURCE_TYPE_VEHICLE_SPELL' when (`conditions`.`SourceTypeOrReferenceId` = 22) then 'CONDITION_SOURCE_TYPE_SMART_EVENT' when (`conditions`.`SourceTypeOrReferenceId` = 23) then 'CONDITION_SOURCE_TYPE_NPC_VENDOR' when (`conditions`.`SourceTypeOrReferenceId` = 24) then 'CONDITION_SOURCE_TYPE_SPELL_PROC' when (`conditions`.`SourceTypeOrReferenceId` = 25) then 'CONDITION_SOURCE_TYPE_TERRAIN_SWAP' when (`conditions`.`SourceTypeOrReferenceId` = 26) then 'CONDITION_SOURCE_TYPE_PHASE' when (`conditions`.`SourceTypeOrReferenceId` = 27) then 'CONDITION_SOURCE_TYPE_GRAVEYARD' else `conditions`.`SourceTypeOrReferenceId` end) AS `SourceTypeOrReferenceId`,`conditions`.`SourceGroup` AS `SourceGroup`,`conditions`.`SourceEntry` AS `SourceEntry`,`conditions`.`SourceId` AS `SourceId`,`conditions`.`ElseGroup` AS `ElseGroup`,(case when (`conditions`.`SourceTypeOrReferenceId` = 0) then 'CONDITION_NONE' when (`conditions`.`SourceTypeOrReferenceId` = 1) then 'CONDITION_AURA' when (`conditions`.`SourceTypeOrReferenceId` = 2) then 'CONDITION_ITEM' when (`conditions`.`SourceTypeOrReferenceId` = 3) then 'CONDITION_ITEM_EQUIPPED' when (`conditions`.`SourceTypeOrReferenceId` = 4) then 'CONDITION_ZONEID' when (`conditions`.`SourceTypeOrReferenceId` = 5) then 'CONDITION_REPUTATION_RANK' when (`conditions`.`SourceTypeOrReferenceId` = 6) then 'CONDITION_TEAM' when (`conditions`.`SourceTypeOrReferenceId` = 7) then 'CONDITION_SKILL' when (`conditions`.`SourceTypeOrReferenceId` = 8) then 'CONDITION_QUESTREWARDED' when (`conditions`.`SourceTypeOrReferenceId` = 9) then 'CONDITION_QUESTTAKEN' when (`conditions`.`SourceTypeOrReferenceId` = 10) then 'CONDITION_DRUNKENSTATE' when (`conditions`.`SourceTypeOrReferenceId` = 11) then 'CONDITION_WORLD_STATE' when (`conditions`.`SourceTypeOrReferenceId` = 12) then 'CONDITION_ACTIVE_EVENT' when (`conditions`.`SourceTypeOrReferenceId` = 13) then 'CONDITION_INSTANCE_INFO' when (`conditions`.`SourceTypeOrReferenceId` = 14) then 'CONDITION_QUEST_NONE' when (`conditions`.`SourceTypeOrReferenceId` = 15) then 'CONDITION_CLASS' when (`conditions`.`SourceTypeOrReferenceId` = 16) then 'CONDITION_RACE' when (`conditions`.`SourceTypeOrReferenceId` = 17) then 'CONDITION_ACHIEVEMENT' when (`conditions`.`SourceTypeOrReferenceId` = 18) then 'CONDITION_TITLE' when (`conditions`.`SourceTypeOrReferenceId` = 19) then 'CONDITION_SPAWNMASK' when (`conditions`.`SourceTypeOrReferenceId` = 20) then 'CONDITION_GENDER' when (`conditions`.`SourceTypeOrReferenceId` = 21) then 'CONDITION_UNIT_STATE' when (`conditions`.`SourceTypeOrReferenceId` = 22) then 'CONDITION_MAPID' when (`conditions`.`SourceTypeOrReferenceId` = 23) then 'CONDITION_AREAID' when (`conditions`.`SourceTypeOrReferenceId` = 24) then 'CONDITION_CREATURE_TYPE' when (`conditions`.`SourceTypeOrReferenceId` = 25) then 'CONDITION_SPELL' when (`conditions`.`SourceTypeOrReferenceId` = 26) then 'CONDITION_PHASEMASK' when (`conditions`.`SourceTypeOrReferenceId` = 27) then 'CONDITION_LEVEL' when (`conditions`.`SourceTypeOrReferenceId` = 28) then 'CONDITION_QUEST_COMPLETE' when (`conditions`.`SourceTypeOrReferenceId` = 29) then 'CONDITION_NEAR_CREATURE' when (`conditions`.`SourceTypeOrReferenceId` = 30) then 'CONDITION_NEAR_GAMEOBJECT' when (`conditions`.`SourceTypeOrReferenceId` = 31) then 'CONDITION_OBJECT_ENTRY_GUID' when (`conditions`.`SourceTypeOrReferenceId` = 32) then 'CONDITION_TYPE_MASK' when (`conditions`.`SourceTypeOrReferenceId` = 33) then 'CONDITION_RELATION_TO' when (`conditions`.`SourceTypeOrReferenceId` = 34) then 'CONDITION_REACTION_TO' when (`conditions`.`SourceTypeOrReferenceId` = 35) then 'CONDITION_DISTANCE_TO' when (`conditions`.`SourceTypeOrReferenceId` = 36) then 'CONDITION_ALIVE' when (`conditions`.`SourceTypeOrReferenceId` = 37) then 'CONDITION_HP_VAL' when (`conditions`.`SourceTypeOrReferenceId` = 38) then 'CONDITION_HP_PCT' when (`conditions`.`SourceTypeOrReferenceId` = 39) then 'CONDITION_REALM_ACHIEVEMENT' when (`conditions`.`SourceTypeOrReferenceId` = 40) then 'CONDITION_IN_WATER' when (`conditions`.`SourceTypeOrReferenceId` = 41) then 'CONDITION_TERRAIN_SWAP' when (`conditions`.`SourceTypeOrReferenceId` = 42) then 'CONDITION_STAND_STATE' when (`conditions`.`SourceTypeOrReferenceId` = 43) then 'CONDITION_DAILY_QUEST_DONE' when (`conditions`.`SourceTypeOrReferenceId` = 44) then 'CONDITION_CHARMED' when (`conditions`.`SourceTypeOrReferenceId` = 45) then 'CONDITION_PET_TYPE' when (`conditions`.`SourceTypeOrReferenceId` = 46) then 'CONDITION_TAXI' when (`conditions`.`SourceTypeOrReferenceId` = 47) then 'CONDITION_QUESTSTATE' when (`conditions`.`SourceTypeOrReferenceId` = 48) then 'CONDITION_QUEST_OBJECTIVE_PROGRESS' when (`conditions`.`SourceTypeOrReferenceId` = 49) then 'CONDITION_DIFFICULTY_ID' when (`conditions`.`SourceTypeOrReferenceId` = 50) then 'CONDITION_GAMEMASTER' when (`conditions`.`SourceTypeOrReferenceId` = 51) then 'CONDITION_OBJECT_ENTRY_GUID_MASTER' when (`conditions`.`SourceTypeOrReferenceId` = 52) then 'CONDITION_TYPE_MASK_MASTER' else `conditions`.`ConditionTypeOrReference` end) AS `ConditionTypeOrReference`,`conditions`.`ConditionTarget` AS `ConditionTarget`,`conditions`.`ConditionValue1` AS `ConditionValue1`,`conditions`.`ConditionValue2` AS `ConditionValue2`,`conditions`.`ConditionValue3` AS `ConditionValue3`,`conditions`.`NegativeCondition` AS `NegativeCondition`,`conditions`.`ErrorType` AS `ErrorType`,`conditions`.`ErrorTextId` AS `ErrorTextId`,`conditions`.`ScriptName` AS `ScriptName`,`conditions`.`Comment` AS `Comment` from `conditions` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; @@ -4029,7 +4029,7 @@ CREATE TABLE `waypoints` ( /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 */ -/*!50001 VIEW `vw_disables_with_labels` AS (select (case when (`disables`.`sourceType` = 0) then 'DISABLE_TYPE_SPELL' when (`disables`.`sourceType` = 1) then 'DISABLE_TYPE_QUEST' when (`disables`.`sourceType` = 2) then 'DISABLE_TYPE_MAP' when (`disables`.`sourceType` = 3) then 'DISABLE_TYPE_BATTLEGROUND' when (`disables`.`sourceType` = 4) then 'DISABLE_TYPE_ACHIEVEMENT_CRITERIA' when (`disables`.`sourceType` = 5) then 'DISABLE_TYPE_OUTDOORPVP' when (`disables`.`sourceType` = 6) then 'DISABLE_TYPE_VMAP' when (`disables`.`sourceType` = 7) then 'DISABLE_TYPE_MMAP' when (`disables`.`sourceType` = 8) then 'DISABLE_TYPE_LFG_MAP' else `disables`.`sourceType` end) AS `sourceType`,`disables`.`entry` AS `entry`,`disables`.`flags` AS `flags`,`disables`.`params_0` AS `params_0`,`disables`.`params_1` AS `params_1`,`disables`.`comment` AS `comment` from `disables`) */; +/*!50001 VIEW `vw_disables_with_labels` AS select (case when (`disables`.`sourceType` = 0) then 'DISABLE_TYPE_SPELL' when (`disables`.`sourceType` = 1) then 'DISABLE_TYPE_QUEST' when (`disables`.`sourceType` = 2) then 'DISABLE_TYPE_MAP' when (`disables`.`sourceType` = 3) then 'DISABLE_TYPE_BATTLEGROUND' when (`disables`.`sourceType` = 4) then 'DISABLE_TYPE_ACHIEVEMENT_CRITERIA' when (`disables`.`sourceType` = 5) then 'DISABLE_TYPE_OUTDOORPVP' when (`disables`.`sourceType` = 6) then 'DISABLE_TYPE_VMAP' when (`disables`.`sourceType` = 7) then 'DISABLE_TYPE_MMAP' when (`disables`.`sourceType` = 8) then 'DISABLE_TYPE_LFG_MAP' else `disables`.`sourceType` end) AS `sourceType`,`disables`.`entry` AS `entry`,`disables`.`flags` AS `flags`,`disables`.`params_0` AS `params_0`,`disables`.`params_1` AS `params_1`,`disables`.`comment` AS `comment` from `disables` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; @@ -4047,7 +4047,7 @@ CREATE TABLE `waypoints` ( /*!50001 SET collation_connection = utf8_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 */ -/*!50001 VIEW `vw_smart_scripts_with_labels` AS (select `smart_scripts`.`entryorguid` AS `entryorguid`,`smart_scripts`.`source_type` AS `source_type`,`smart_scripts`.`id` AS `id`,`smart_scripts`.`link` AS `link`,(case when (`smart_scripts`.`event_type` = 0) then 'SMART_EVENT_UPDATE_IC' when (`smart_scripts`.`event_type` = 1) then 'SMART_EVENT_UPDATE_OOC' when (`smart_scripts`.`event_type` = 2) then 'SMART_EVENT_HEALTH_PCT' when (`smart_scripts`.`event_type` = 3) then 'SMART_EVENT_MANA_PCT' when (`smart_scripts`.`event_type` = 4) then 'SMART_EVENT_AGGRO' when (`smart_scripts`.`event_type` = 5) then 'SMART_EVENT_KILL' when (`smart_scripts`.`event_type` = 6) then 'SMART_EVENT_DEATH' when (`smart_scripts`.`event_type` = 7) then 'SMART_EVENT_EVADE' when (`smart_scripts`.`event_type` = 8) then 'SMART_EVENT_SPELLHIT' when (`smart_scripts`.`event_type` = 9) then 'SMART_EVENT_RANGE' when (`smart_scripts`.`event_type` = 10) then 'SMART_EVENT_OOC_LOS' when (`smart_scripts`.`event_type` = 11) then 'SMART_EVENT_RESPAWN' when (`smart_scripts`.`event_type` = 12) then 'SMART_EVENT_TARGET_HEALTH_PCT' when (`smart_scripts`.`event_type` = 13) then 'SMART_EVENT_VICTIM_CASTING' when (`smart_scripts`.`event_type` = 14) then 'SMART_EVENT_FRIENDLY_HEALTH' when (`smart_scripts`.`event_type` = 15) then 'SMART_EVENT_FRIENDLY_IS_CC' when (`smart_scripts`.`event_type` = 16) then 'SMART_EVENT_FRIENDLY_MISSING_BUFF' when (`smart_scripts`.`event_type` = 17) then 'SMART_EVENT_SUMMONED_UNIT' when (`smart_scripts`.`event_type` = 18) then 'SMART_EVENT_TARGET_MANA_PCT' when (`smart_scripts`.`event_type` = 19) then 'SMART_EVENT_ACCEPTED_QUEST' when (`smart_scripts`.`event_type` = 20) then 'SMART_EVENT_REWARD_QUEST' when (`smart_scripts`.`event_type` = 21) then 'SMART_EVENT_REACHED_HOME' when (`smart_scripts`.`event_type` = 22) then 'SMART_EVENT_RECEIVE_EMOTE' when (`smart_scripts`.`event_type` = 23) then 'SMART_EVENT_HAS_AURA' when (`smart_scripts`.`event_type` = 24) then 'SMART_EVENT_TARGET_BUFFED' when (`smart_scripts`.`event_type` = 25) then 'SMART_EVENT_RESET' when (`smart_scripts`.`event_type` = 26) then 'SMART_EVENT_IC_LOS' when (`smart_scripts`.`event_type` = 27) then 'SMART_EVENT_PASSENGER_BOARDED' when (`smart_scripts`.`event_type` = 28) then 'SMART_EVENT_PASSENGER_REMOVED' when (`smart_scripts`.`event_type` = 29) then 'SMART_EVENT_CHARMED' when (`smart_scripts`.`event_type` = 30) then 'SMART_EVENT_CHARMED_TARGET' when (`smart_scripts`.`event_type` = 31) then 'SMART_EVENT_SPELLHIT_TARGET' when (`smart_scripts`.`event_type` = 32) then 'SMART_EVENT_DAMAGED' when (`smart_scripts`.`event_type` = 33) then 'SMART_EVENT_DAMAGED_TARGET' when (`smart_scripts`.`event_type` = 34) then 'SMART_EVENT_MOVEMENTINFORM' when (`smart_scripts`.`event_type` = 35) then 'SMART_EVENT_SUMMON_DESPAWNED' when (`smart_scripts`.`event_type` = 36) then 'SMART_EVENT_CORPSE_REMOVED' when (`smart_scripts`.`event_type` = 37) then 'SMART_EVENT_AI_INIT' when (`smart_scripts`.`event_type` = 38) then 'SMART_EVENT_DATA_SET' when (`smart_scripts`.`event_type` = 39) then 'SMART_EVENT_WAYPOINT_START' when (`smart_scripts`.`event_type` = 40) then 'SMART_EVENT_WAYPOINT_REACHED' when (`smart_scripts`.`event_type` = 41) then 'SMART_EVENT_TRANSPORT_ADDPLAYER' when (`smart_scripts`.`event_type` = 42) then 'SMART_EVENT_TRANSPORT_ADDCREATURE' when (`smart_scripts`.`event_type` = 43) then 'SMART_EVENT_TRANSPORT_REMOVE_PLAYER' when (`smart_scripts`.`event_type` = 44) then 'SMART_EVENT_TRANSPORT_RELOCATE' when (`smart_scripts`.`event_type` = 45) then 'SMART_EVENT_INSTANCE_PLAYER_ENTER' when (`smart_scripts`.`event_type` = 46) then 'SMART_EVENT_AREATRIGGER_ONTRIGGER' when (`smart_scripts`.`event_type` = 47) then 'SMART_EVENT_QUEST_ACCEPTED' when (`smart_scripts`.`event_type` = 48) then 'SMART_EVENT_QUEST_OBJ_COPLETETION' when (`smart_scripts`.`event_type` = 49) then 'SMART_EVENT_QUEST_COMPLETION' when (`smart_scripts`.`event_type` = 50) then 'SMART_EVENT_QUEST_REWARDED' when (`smart_scripts`.`event_type` = 51) then 'SMART_EVENT_QUEST_FAIL' when (`smart_scripts`.`event_type` = 52) then 'SMART_EVENT_TEXT_OVER' when (`smart_scripts`.`event_type` = 53) then 'SMART_EVENT_RECEIVE_HEAL' when (`smart_scripts`.`event_type` = 54) then 'SMART_EVENT_JUST_SUMMONED' when (`smart_scripts`.`event_type` = 55) then 'SMART_EVENT_WAYPOINT_PAUSED' when (`smart_scripts`.`event_type` = 56) then 'SMART_EVENT_WAYPOINT_RESUMED' when (`smart_scripts`.`event_type` = 57) then 'SMART_EVENT_WAYPOINT_STOPPED' when (`smart_scripts`.`event_type` = 58) then 'SMART_EVENT_WAYPOINT_ENDED' when (`smart_scripts`.`event_type` = 59) then 'SMART_EVENT_TIMED_EVENT_TRIGGERED' when (`smart_scripts`.`event_type` = 60) then 'SMART_EVENT_UPDATE' when (`smart_scripts`.`event_type` = 61) then 'SMART_EVENT_LINK' when (`smart_scripts`.`event_type` = 62) then 'SMART_EVENT_GOSSIP_SELECT' when (`smart_scripts`.`event_type` = 63) then 'SMART_EVENT_JUST_CREATED' when (`smart_scripts`.`event_type` = 64) then 'SMART_EVENT_GOSSIP_HELLO' when (`smart_scripts`.`event_type` = 65) then 'SMART_EVENT_FOLLOW_COMPLETED' when (`smart_scripts`.`event_type` = 66) then 'SMART_EVENT_EVENT_PHASE_CHANGE' when (`smart_scripts`.`event_type` = 67) then 'SMART_EVENT_IS_BEHIND_TARGET' when (`smart_scripts`.`event_type` = 68) then 'SMART_EVENT_GAME_EVENT_START' when (`smart_scripts`.`event_type` = 69) then 'SMART_EVENT_GAME_EVENT_END' when (`smart_scripts`.`event_type` = 70) then 'SMART_EVENT_GO_LOOT_STATE_CHANGED' when (`smart_scripts`.`event_type` = 71) then 'SMART_EVENT_GO_EVENT_INFORM' when (`smart_scripts`.`event_type` = 72) then 'SMART_EVENT_ACTION_DONE' when (`smart_scripts`.`event_type` = 73) then 'SMART_EVENT_ON_SPELLCLICK' when (`smart_scripts`.`event_type` = 74) then 'SMART_EVENT_FRIENDLY_HEALTH_PCT' when (`smart_scripts`.`event_type` = 75) then 'SMART_EVENT_DISTANCE_CREATURE' when (`smart_scripts`.`event_type` = 76) then 'SMART_EVENT_DISTANCE_GAMEOBJECT' when (`smart_scripts`.`event_type` = 77) then 'SMART_EVENT_COUNTER_SET' when (`smart_scripts`.`event_type` = 78) then 'SMART_EVENT_SCENE_START' when (`smart_scripts`.`event_type` = 79) then 'SMART_EVENT_SCENE_TRIGGER' when (`smart_scripts`.`event_type` = 80) then 'SMART_EVENT_SCENE_CANCEL' when (`smart_scripts`.`event_type` = 81) then 'SMART_EVENT_SCENE_COMPLETE' when (`smart_scripts`.`event_type` = 82) then 'SMART_EVENT_SUMMONED_UNIT_DIES' else `smart_scripts`.`event_type` end) AS `event_type`,`smart_scripts`.`event_phase_mask` AS `event_phase_mask`,`smart_scripts`.`event_chance` AS `event_chance`,`smart_scripts`.`event_flags` AS `event_flags`,`smart_scripts`.`event_param1` AS `event_param1`,`smart_scripts`.`event_param2` AS `event_param2`,`smart_scripts`.`event_param3` AS `event_param3`,`smart_scripts`.`event_param4` AS `event_param4`,`smart_scripts`.`event_param5` AS `event_param5`,(case when (`smart_scripts`.`action_type` = 0) then 'SMART_ACTION_NONE' when (`smart_scripts`.`action_type` = 1) then 'SMART_ACTION_TALK' when (`smart_scripts`.`action_type` = 2) then 'SMART_ACTION_SET_FACTION' when (`smart_scripts`.`action_type` = 3) then 'SMART_ACTION_MORPH_TO_ENTRY_OR_MODEL' when (`smart_scripts`.`action_type` = 4) then 'SMART_ACTION_SOUND' when (`smart_scripts`.`action_type` = 5) then 'SMART_ACTION_PLAY_EMOTE' when (`smart_scripts`.`action_type` = 6) then 'SMART_ACTION_FAIL_QUEST' when (`smart_scripts`.`action_type` = 7) then 'SMART_ACTION_OFFER_QUEST' when (`smart_scripts`.`action_type` = 8) then 'SMART_ACTION_SET_REACT_STATE' when (`smart_scripts`.`action_type` = 9) then 'SMART_ACTION_ACTIVATE_GOBJECT' when (`smart_scripts`.`action_type` = 10) then 'SMART_ACTION_RANDOM_EMOTE' when (`smart_scripts`.`action_type` = 11) then 'SMART_ACTION_CAST' when (`smart_scripts`.`action_type` = 12) then 'SMART_ACTION_SUMMON_CREATURE' when (`smart_scripts`.`action_type` = 13) then 'SMART_ACTION_THREAT_SINGLE_PCT' when (`smart_scripts`.`action_type` = 14) then 'SMART_ACTION_THREAT_ALL_PCT' when (`smart_scripts`.`action_type` = 15) then 'SMART_ACTION_CALL_AREAEXPLOREDOREVENTHAPPENS' when (`smart_scripts`.`action_type` = 16) then 'SMART_ACTION_RESERVED_16' when (`smart_scripts`.`action_type` = 17) then 'SMART_ACTION_SET_EMOTE_STATE' when (`smart_scripts`.`action_type` = 18) then 'SMART_ACTION_SET_UNIT_FLAG' when (`smart_scripts`.`action_type` = 19) then 'SMART_ACTION_REMOVE_UNIT_FLAG' when (`smart_scripts`.`action_type` = 20) then 'SMART_ACTION_AUTO_ATTACK' when (`smart_scripts`.`action_type` = 21) then 'SMART_ACTION_ALLOW_COMBAT_MOVEMENT' when (`smart_scripts`.`action_type` = 22) then 'SMART_ACTION_SET_EVENT_PHASE' when (`smart_scripts`.`action_type` = 23) then 'SMART_ACTION_INC_EVENT_PHASE' when (`smart_scripts`.`action_type` = 24) then 'SMART_ACTION_EVADE' when (`smart_scripts`.`action_type` = 25) then 'SMART_ACTION_FLEE_FOR_ASSIST' when (`smart_scripts`.`action_type` = 26) then 'SMART_ACTION_CALL_GROUPEVENTHAPPENS' when (`smart_scripts`.`action_type` = 27) then 'SMART_ACTION_COMBAT_STOP' when (`smart_scripts`.`action_type` = 28) then 'SMART_ACTION_REMOVEAURASFROMSPELL' when (`smart_scripts`.`action_type` = 29) then 'SMART_ACTION_FOLLOW' when (`smart_scripts`.`action_type` = 30) then 'SMART_ACTION_RANDOM_PHASE' when (`smart_scripts`.`action_type` = 31) then 'SMART_ACTION_RANDOM_PHASE_RANGE' when (`smart_scripts`.`action_type` = 32) then 'SMART_ACTION_RESET_GOBJECT' when (`smart_scripts`.`action_type` = 33) then 'SMART_ACTION_CALL_KILLEDMONSTER' when (`smart_scripts`.`action_type` = 34) then 'SMART_ACTION_SET_INST_DATA' when (`smart_scripts`.`action_type` = 35) then 'SMART_ACTION_SET_INST_DATA64' when (`smart_scripts`.`action_type` = 36) then 'SMART_ACTION_UPDATE_TEMPLATE' when (`smart_scripts`.`action_type` = 37) then 'SMART_ACTION_DIE' when (`smart_scripts`.`action_type` = 38) then 'SMART_ACTION_SET_IN_COMBAT_WITH_ZONE' when (`smart_scripts`.`action_type` = 39) then 'SMART_ACTION_CALL_FOR_HELP' when (`smart_scripts`.`action_type` = 40) then 'SMART_ACTION_SET_SHEATH' when (`smart_scripts`.`action_type` = 41) then 'SMART_ACTION_FORCE_DESPAWN' when (`smart_scripts`.`action_type` = 42) then 'SMART_ACTION_SET_INVINCIBILITY_HP_LEVEL' when (`smart_scripts`.`action_type` = 43) then 'SMART_ACTION_MOUNT_TO_ENTRY_OR_MODEL' when (`smart_scripts`.`action_type` = 44) then 'SMART_ACTION_SET_INGAME_PHASE_MASK' when (`smart_scripts`.`action_type` = 45) then 'SMART_ACTION_SET_DATA' when (`smart_scripts`.`action_type` = 46) then 'SMART_ACTION_ATTACK_STOP' when (`smart_scripts`.`action_type` = 47) then 'SMART_ACTION_SET_VISIBILITY' when (`smart_scripts`.`action_type` = 48) then 'SMART_ACTION_SET_ACTIVE' when (`smart_scripts`.`action_type` = 49) then 'SMART_ACTION_ATTACK_START' when (`smart_scripts`.`action_type` = 50) then 'SMART_ACTION_SUMMON_GO' when (`smart_scripts`.`action_type` = 51) then 'SMART_ACTION_KILL_UNIT' when (`smart_scripts`.`action_type` = 52) then 'SMART_ACTION_ACTIVATE_TAXI' when (`smart_scripts`.`action_type` = 53) then 'SMART_ACTION_WP_START' when (`smart_scripts`.`action_type` = 54) then 'SMART_ACTION_WP_PAUSE' when (`smart_scripts`.`action_type` = 55) then 'SMART_ACTION_WP_STOP' when (`smart_scripts`.`action_type` = 56) then 'SMART_ACTION_ADD_ITEM' when (`smart_scripts`.`action_type` = 57) then 'SMART_ACTION_REMOVE_ITEM' when (`smart_scripts`.`action_type` = 58) then 'SMART_ACTION_INSTALL_AI_TEMPLATE' when (`smart_scripts`.`action_type` = 59) then 'SMART_ACTION_SET_RUN' when (`smart_scripts`.`action_type` = 60) then 'SMART_ACTION_SET_DISABLE_GRAVITY' when (`smart_scripts`.`action_type` = 61) then 'SMART_ACTION_SET_SWIM' when (`smart_scripts`.`action_type` = 62) then 'SMART_ACTION_TELEPORT' when (`smart_scripts`.`action_type` = 63) then 'SMART_ACTION_SET_COUNTER' when (`smart_scripts`.`action_type` = 64) then 'SMART_ACTION_STORE_TARGET_LIST' when (`smart_scripts`.`action_type` = 65) then 'SMART_ACTION_WP_RESUME' when (`smart_scripts`.`action_type` = 66) then 'SMART_ACTION_SET_ORIENTATION' when (`smart_scripts`.`action_type` = 67) then 'SMART_ACTION_CREATE_TIMED_EVENT' when (`smart_scripts`.`action_type` = 68) then 'SMART_ACTION_PLAYMOVIE' when (`smart_scripts`.`action_type` = 69) then 'SMART_ACTION_MOVE_TO_POS' when (`smart_scripts`.`action_type` = 70) then 'SMART_ACTION_ENABLE_TEMP_GOBJ' when (`smart_scripts`.`action_type` = 71) then 'SMART_ACTION_EQUIP' when (`smart_scripts`.`action_type` = 72) then 'SMART_ACTION_CLOSE_GOSSIP' when (`smart_scripts`.`action_type` = 73) then 'SMART_ACTION_TRIGGER_TIMED_EVENT' when (`smart_scripts`.`action_type` = 74) then 'SMART_ACTION_REMOVE_TIMED_EVENT' when (`smart_scripts`.`action_type` = 75) then 'SMART_ACTION_ADD_AURA' when (`smart_scripts`.`action_type` = 76) then 'SMART_ACTION_OVERRIDE_SCRIPT_BASE_OBJECT' when (`smart_scripts`.`action_type` = 77) then 'SMART_ACTION_RESET_SCRIPT_BASE_OBJECT' when (`smart_scripts`.`action_type` = 78) then 'SMART_ACTION_CALL_SCRIPT_RESET' when (`smart_scripts`.`action_type` = 79) then 'SMART_ACTION_SET_RANGED_MOVEMENT' when (`smart_scripts`.`action_type` = 80) then 'SMART_ACTION_CALL_TIMED_ACTIONLIST' when (`smart_scripts`.`action_type` = 81) then 'SMART_ACTION_SET_NPC_FLAG' when (`smart_scripts`.`action_type` = 82) then 'SMART_ACTION_ADD_NPC_FLAG' when (`smart_scripts`.`action_type` = 83) then 'SMART_ACTION_REMOVE_NPC_FLAG' when (`smart_scripts`.`action_type` = 84) then 'SMART_ACTION_SIMPLE_TALK' when (`smart_scripts`.`action_type` = 85) then 'SMART_ACTION_SELF_CAST' when (`smart_scripts`.`action_type` = 86) then 'SMART_ACTION_CROSS_CAST' when (`smart_scripts`.`action_type` = 87) then 'SMART_ACTION_CALL_RANDOM_TIMED_ACTIONLIST' when (`smart_scripts`.`action_type` = 88) then 'SMART_ACTION_CALL_RANDOM_RANGE_TIMED_ACTIONLIST' when (`smart_scripts`.`action_type` = 89) then 'SMART_ACTION_RANDOM_MOVE' when (`smart_scripts`.`action_type` = 90) then 'SMART_ACTION_SET_UNIT_FIELD_BYTES_1' when (`smart_scripts`.`action_type` = 91) then 'SMART_ACTION_REMOVE_UNIT_FIELD_BYTES_1' when (`smart_scripts`.`action_type` = 92) then 'SMART_ACTION_INTERRUPT_SPELL' when (`smart_scripts`.`action_type` = 93) then 'SMART_ACTION_SEND_GO_CUSTOM_ANIM' when (`smart_scripts`.`action_type` = 94) then 'SMART_ACTION_SET_DYNAMIC_FLAG' when (`smart_scripts`.`action_type` = 95) then 'SMART_ACTION_ADD_DYNAMIC_FLAG' when (`smart_scripts`.`action_type` = 96) then 'SMART_ACTION_REMOVE_DYNAMIC_FLAG' when (`smart_scripts`.`action_type` = 97) then 'SMART_ACTION_JUMP_TO_POS' when (`smart_scripts`.`action_type` = 98) then 'SMART_ACTION_SEND_GOSSIP_MENU' when (`smart_scripts`.`action_type` = 99) then 'SMART_ACTION_GO_SET_LOOT_STATE' when (`smart_scripts`.`action_type` = 100) then 'SMART_ACTION_SEND_TARGET_TO_TARGET' when (`smart_scripts`.`action_type` = 101) then 'SMART_ACTION_SET_HOME_POS' when (`smart_scripts`.`action_type` = 102) then 'SMART_ACTION_SET_HEALTH_REGEN' when (`smart_scripts`.`action_type` = 103) then 'SMART_ACTION_SET_ROOT' when (`smart_scripts`.`action_type` = 104) then 'SMART_ACTION_SET_GO_FLAG' when (`smart_scripts`.`action_type` = 105) then 'SMART_ACTION_ADD_GO_FLAG' when (`smart_scripts`.`action_type` = 106) then 'SMART_ACTION_REMOVE_GO_FLAG' when (`smart_scripts`.`action_type` = 107) then 'SMART_ACTION_SUMMON_CREATURE_GROUP' when (`smart_scripts`.`action_type` = 108) then 'SMART_ACTION_SET_POWER' when (`smart_scripts`.`action_type` = 109) then 'SMART_ACTION_ADD_POWER' when (`smart_scripts`.`action_type` = 110) then 'SMART_ACTION_REMOVE_POWER' when (`smart_scripts`.`action_type` = 111) then 'SMART_ACTION_GAME_EVENT_STOP' when (`smart_scripts`.`action_type` = 112) then 'SMART_ACTION_GAME_EVENT_START' when (`smart_scripts`.`action_type` = 113) then 'SMART_ACTION_START_CLOSEST_WAYPOINT' when (`smart_scripts`.`action_type` = 114) then 'SMART_ACTION_MOVE_OFFSET' when (`smart_scripts`.`action_type` = 115) then 'SMART_ACTION_RANDOM_SOUND' when (`smart_scripts`.`action_type` = 116) then 'SMART_ACTION_SET_CORPSE_DELAY' when (`smart_scripts`.`action_type` = 117) then 'SMART_ACTION_DISABLE_EVADE' when (`smart_scripts`.`action_type` = 118) then 'SMART_ACTION_GO_SET_GO_STATE' when (`smart_scripts`.`action_type` = 119) then 'SMART_ACTION_SET_CAN_FLY' when (`smart_scripts`.`action_type` = 120) then 'SMART_ACTION_REMOVE_AURAS_BY_TYPE' when (`smart_scripts`.`action_type` = 121) then 'SMART_ACTION_SET_SIGHT_DIST' when (`smart_scripts`.`action_type` = 122) then 'SMART_ACTION_FLEE' when (`smart_scripts`.`action_type` = 123) then 'SMART_ACTION_ADD_THREAT' when (`smart_scripts`.`action_type` = 124) then 'SMART_ACTION_LOAD_EQUIPMENT' when (`smart_scripts`.`action_type` = 125) then 'SMART_ACTION_TRIGGER_RANDOM_TIMED_EVENT' when (`smart_scripts`.`action_type` = 126) then 'SMART_ACTION_REMOVE_ALL_GAMEOBJECTS' when (`smart_scripts`.`action_type` = 127) then 'SMART_ACTION_PAUSE_MOVEMENT' when (`smart_scripts`.`action_type` = 128) then 'SMART_ACTION_PLAY_ANIMKIT' when (`smart_scripts`.`action_type` = 129) then 'SMART_ACTION_SCENE_PLAY' when (`smart_scripts`.`action_type` = 130) then 'SMART_ACTION_SCENE_CANCEL' when (`smart_scripts`.`action_type` = 131) then 'SMART_ACTION_SPAWN_SPAWNGROUP' when (`smart_scripts`.`action_type` = 132) then 'SMART_ACTION_DESPAWN_SPAWNGROUP' when (`smart_scripts`.`action_type` = 133) then 'SMART_ACTION_RESPAWN_BY_SPAWNID' when (`smart_scripts`.`action_type` = 134) then 'SMART_ACTION_INVOKER_CAST' when (`smart_scripts`.`action_type` = 135) then 'SMART_ACTION_PLAY_CINEMATIC' when (`smart_scripts`.`action_type` = 136) then 'SMART_ACTION_SET_MOVEMENT_SPEED' when (`smart_scripts`.`action_type` = 137) then 'SMART_ACTION_PLAY_SPELL_VISUAL_KIT' when (`smart_scripts`.`action_type` = 138) then 'SMART_ACTION_OVERRIDE_LIGHT' when (`smart_scripts`.`action_type` = 139) then 'SMART_ACTION_OVERRIDE_WEATHER' else `smart_scripts`.`action_type` end) AS `action_type`,`smart_scripts`.`action_param1` AS `action_param1`,`smart_scripts`.`action_param2` AS `action_param2`,`smart_scripts`.`action_param3` AS `action_param3`,`smart_scripts`.`action_param4` AS `action_param4`,`smart_scripts`.`action_param5` AS `action_param5`,`smart_scripts`.`action_param6` AS `action_param6`,(case when (`smart_scripts`.`target_type` = 0) then 'SMART_TARGET_NONE' when (`smart_scripts`.`target_type` = 1) then 'SMART_TARGET_SELF' when (`smart_scripts`.`target_type` = 2) then 'SMART_TARGET_VICTIM' when (`smart_scripts`.`target_type` = 3) then 'SMART_TARGET_HOSTILE_SECOND_AGGRO' when (`smart_scripts`.`target_type` = 4) then 'SMART_TARGET_HOSTILE_LAST_AGGRO' when (`smart_scripts`.`target_type` = 5) then 'SMART_TARGET_HOSTILE_RANDOM' when (`smart_scripts`.`target_type` = 6) then 'SMART_TARGET_HOSTILE_RANDOM_NOT_TOP' when (`smart_scripts`.`target_type` = 7) then 'SMART_TARGET_ACTION_INVOKER' when (`smart_scripts`.`target_type` = 8) then 'SMART_TARGET_POSITION' when (`smart_scripts`.`target_type` = 9) then 'SMART_TARGET_CREATURE_RANGE' when (`smart_scripts`.`target_type` = 10) then 'SMART_TARGET_CREATURE_GUID' when (`smart_scripts`.`target_type` = 11) then 'SMART_TARGET_CREATURE_DISTANCE' when (`smart_scripts`.`target_type` = 12) then 'SMART_TARGET_STORED' when (`smart_scripts`.`target_type` = 13) then 'SMART_TARGET_GAMEOBJECT_RANGE' when (`smart_scripts`.`target_type` = 14) then 'SMART_TARGET_GAMEOBJECT_GUID' when (`smart_scripts`.`target_type` = 15) then 'SMART_TARGET_GAMEOBJECT_DISTANCE' when (`smart_scripts`.`target_type` = 16) then 'SMART_TARGET_INVOKER_PARTY' when (`smart_scripts`.`target_type` = 17) then 'SMART_TARGET_PLAYER_RANGE' when (`smart_scripts`.`target_type` = 18) then 'SMART_TARGET_PLAYER_DISTANCE' when (`smart_scripts`.`target_type` = 19) then 'SMART_TARGET_CLOSEST_CREATURE' when (`smart_scripts`.`target_type` = 20) then 'SMART_TARGET_CLOSEST_GAMEOBJECT' when (`smart_scripts`.`target_type` = 21) then 'SMART_TARGET_CLOSEST_PLAYER' when (`smart_scripts`.`target_type` = 22) then 'SMART_TARGET_ACTION_INVOKER_VEHICLE' when (`smart_scripts`.`target_type` = 23) then 'SMART_TARGET_OWNER_OR_SUMMONER' when (`smart_scripts`.`target_type` = 24) then 'SMART_TARGET_THREAT_LIST' when (`smart_scripts`.`target_type` = 25) then 'SMART_TARGET_CLOSEST_ENEMY' when (`smart_scripts`.`target_type` = 26) then 'SMART_TARGET_CLOSEST_FRIENDLY' when (`smart_scripts`.`target_type` = 27) then 'SMART_TARGET_LOOT_RECIPIENTS' when (`smart_scripts`.`target_type` = 28) then 'SMART_TARGET_FARTHEST' when (`smart_scripts`.`target_type` = 29) then 'SMART_TARGET_VEHICLE_PASSENGER' when (`smart_scripts`.`target_type` = 30) then 'SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT' else `smart_scripts`.`target_type` end) AS `target_type`,`smart_scripts`.`target_param1` AS `target_param1`,`smart_scripts`.`target_param2` AS `target_param2`,`smart_scripts`.`target_param3` AS `target_param3`,`smart_scripts`.`target_param4` AS `target_param4`,`smart_scripts`.`target_x` AS `target_x`,`smart_scripts`.`target_y` AS `target_y`,`smart_scripts`.`target_z` AS `target_z`,`smart_scripts`.`target_o` AS `target_o`,`smart_scripts`.`comment` AS `comment` from `smart_scripts`) */; +/*!50001 VIEW `vw_smart_scripts_with_labels` AS select `smart_scripts`.`entryorguid` AS `entryorguid`,`smart_scripts`.`source_type` AS `source_type`,`smart_scripts`.`id` AS `id`,`smart_scripts`.`link` AS `link`,(case when (`smart_scripts`.`event_type` = 0) then 'SMART_EVENT_UPDATE_IC' when (`smart_scripts`.`event_type` = 1) then 'SMART_EVENT_UPDATE_OOC' when (`smart_scripts`.`event_type` = 2) then 'SMART_EVENT_HEALTH_PCT' when (`smart_scripts`.`event_type` = 3) then 'SMART_EVENT_MANA_PCT' when (`smart_scripts`.`event_type` = 4) then 'SMART_EVENT_AGGRO' when (`smart_scripts`.`event_type` = 5) then 'SMART_EVENT_KILL' when (`smart_scripts`.`event_type` = 6) then 'SMART_EVENT_DEATH' when (`smart_scripts`.`event_type` = 7) then 'SMART_EVENT_EVADE' when (`smart_scripts`.`event_type` = 8) then 'SMART_EVENT_SPELLHIT' when (`smart_scripts`.`event_type` = 9) then 'SMART_EVENT_RANGE' when (`smart_scripts`.`event_type` = 10) then 'SMART_EVENT_OOC_LOS' when (`smart_scripts`.`event_type` = 11) then 'SMART_EVENT_RESPAWN' when (`smart_scripts`.`event_type` = 12) then 'SMART_EVENT_TARGET_HEALTH_PCT' when (`smart_scripts`.`event_type` = 13) then 'SMART_EVENT_VICTIM_CASTING' when (`smart_scripts`.`event_type` = 14) then 'SMART_EVENT_FRIENDLY_HEALTH' when (`smart_scripts`.`event_type` = 15) then 'SMART_EVENT_FRIENDLY_IS_CC' when (`smart_scripts`.`event_type` = 16) then 'SMART_EVENT_FRIENDLY_MISSING_BUFF' when (`smart_scripts`.`event_type` = 17) then 'SMART_EVENT_SUMMONED_UNIT' when (`smart_scripts`.`event_type` = 18) then 'SMART_EVENT_TARGET_MANA_PCT' when (`smart_scripts`.`event_type` = 19) then 'SMART_EVENT_ACCEPTED_QUEST' when (`smart_scripts`.`event_type` = 20) then 'SMART_EVENT_REWARD_QUEST' when (`smart_scripts`.`event_type` = 21) then 'SMART_EVENT_REACHED_HOME' when (`smart_scripts`.`event_type` = 22) then 'SMART_EVENT_RECEIVE_EMOTE' when (`smart_scripts`.`event_type` = 23) then 'SMART_EVENT_HAS_AURA' when (`smart_scripts`.`event_type` = 24) then 'SMART_EVENT_TARGET_BUFFED' when (`smart_scripts`.`event_type` = 25) then 'SMART_EVENT_RESET' when (`smart_scripts`.`event_type` = 26) then 'SMART_EVENT_IC_LOS' when (`smart_scripts`.`event_type` = 27) then 'SMART_EVENT_PASSENGER_BOARDED' when (`smart_scripts`.`event_type` = 28) then 'SMART_EVENT_PASSENGER_REMOVED' when (`smart_scripts`.`event_type` = 29) then 'SMART_EVENT_CHARMED' when (`smart_scripts`.`event_type` = 30) then 'SMART_EVENT_CHARMED_TARGET' when (`smart_scripts`.`event_type` = 31) then 'SMART_EVENT_SPELLHIT_TARGET' when (`smart_scripts`.`event_type` = 32) then 'SMART_EVENT_DAMAGED' when (`smart_scripts`.`event_type` = 33) then 'SMART_EVENT_DAMAGED_TARGET' when (`smart_scripts`.`event_type` = 34) then 'SMART_EVENT_MOVEMENTINFORM' when (`smart_scripts`.`event_type` = 35) then 'SMART_EVENT_SUMMON_DESPAWNED' when (`smart_scripts`.`event_type` = 36) then 'SMART_EVENT_CORPSE_REMOVED' when (`smart_scripts`.`event_type` = 37) then 'SMART_EVENT_AI_INIT' when (`smart_scripts`.`event_type` = 38) then 'SMART_EVENT_DATA_SET' when (`smart_scripts`.`event_type` = 39) then 'SMART_EVENT_WAYPOINT_START' when (`smart_scripts`.`event_type` = 40) then 'SMART_EVENT_WAYPOINT_REACHED' when (`smart_scripts`.`event_type` = 41) then 'SMART_EVENT_TRANSPORT_ADDPLAYER' when (`smart_scripts`.`event_type` = 42) then 'SMART_EVENT_TRANSPORT_ADDCREATURE' when (`smart_scripts`.`event_type` = 43) then 'SMART_EVENT_TRANSPORT_REMOVE_PLAYER' when (`smart_scripts`.`event_type` = 44) then 'SMART_EVENT_TRANSPORT_RELOCATE' when (`smart_scripts`.`event_type` = 45) then 'SMART_EVENT_INSTANCE_PLAYER_ENTER' when (`smart_scripts`.`event_type` = 46) then 'SMART_EVENT_AREATRIGGER_ONTRIGGER' when (`smart_scripts`.`event_type` = 47) then 'SMART_EVENT_QUEST_ACCEPTED' when (`smart_scripts`.`event_type` = 48) then 'SMART_EVENT_QUEST_OBJ_COPLETETION' when (`smart_scripts`.`event_type` = 49) then 'SMART_EVENT_QUEST_COMPLETION' when (`smart_scripts`.`event_type` = 50) then 'SMART_EVENT_QUEST_REWARDED' when (`smart_scripts`.`event_type` = 51) then 'SMART_EVENT_QUEST_FAIL' when (`smart_scripts`.`event_type` = 52) then 'SMART_EVENT_TEXT_OVER' when (`smart_scripts`.`event_type` = 53) then 'SMART_EVENT_RECEIVE_HEAL' when (`smart_scripts`.`event_type` = 54) then 'SMART_EVENT_JUST_SUMMONED' when (`smart_scripts`.`event_type` = 55) then 'SMART_EVENT_WAYPOINT_PAUSED' when (`smart_scripts`.`event_type` = 56) then 'SMART_EVENT_WAYPOINT_RESUMED' when (`smart_scripts`.`event_type` = 57) then 'SMART_EVENT_WAYPOINT_STOPPED' when (`smart_scripts`.`event_type` = 58) then 'SMART_EVENT_WAYPOINT_ENDED' when (`smart_scripts`.`event_type` = 59) then 'SMART_EVENT_TIMED_EVENT_TRIGGERED' when (`smart_scripts`.`event_type` = 60) then 'SMART_EVENT_UPDATE' when (`smart_scripts`.`event_type` = 61) then 'SMART_EVENT_LINK' when (`smart_scripts`.`event_type` = 62) then 'SMART_EVENT_GOSSIP_SELECT' when (`smart_scripts`.`event_type` = 63) then 'SMART_EVENT_JUST_CREATED' when (`smart_scripts`.`event_type` = 64) then 'SMART_EVENT_GOSSIP_HELLO' when (`smart_scripts`.`event_type` = 65) then 'SMART_EVENT_FOLLOW_COMPLETED' when (`smart_scripts`.`event_type` = 66) then 'SMART_EVENT_EVENT_PHASE_CHANGE' when (`smart_scripts`.`event_type` = 67) then 'SMART_EVENT_IS_BEHIND_TARGET' when (`smart_scripts`.`event_type` = 68) then 'SMART_EVENT_GAME_EVENT_START' when (`smart_scripts`.`event_type` = 69) then 'SMART_EVENT_GAME_EVENT_END' when (`smart_scripts`.`event_type` = 70) then 'SMART_EVENT_GO_LOOT_STATE_CHANGED' when (`smart_scripts`.`event_type` = 71) then 'SMART_EVENT_GO_EVENT_INFORM' when (`smart_scripts`.`event_type` = 72) then 'SMART_EVENT_ACTION_DONE' when (`smart_scripts`.`event_type` = 73) then 'SMART_EVENT_ON_SPELLCLICK' when (`smart_scripts`.`event_type` = 74) then 'SMART_EVENT_FRIENDLY_HEALTH_PCT' when (`smart_scripts`.`event_type` = 75) then 'SMART_EVENT_DISTANCE_CREATURE' when (`smart_scripts`.`event_type` = 76) then 'SMART_EVENT_DISTANCE_GAMEOBJECT' when (`smart_scripts`.`event_type` = 77) then 'SMART_EVENT_COUNTER_SET' when (`smart_scripts`.`event_type` = 78) then 'SMART_EVENT_SCENE_START' when (`smart_scripts`.`event_type` = 79) then 'SMART_EVENT_SCENE_TRIGGER' when (`smart_scripts`.`event_type` = 80) then 'SMART_EVENT_SCENE_CANCEL' when (`smart_scripts`.`event_type` = 81) then 'SMART_EVENT_SCENE_COMPLETE' when (`smart_scripts`.`event_type` = 82) then 'SMART_EVENT_SUMMONED_UNIT_DIES' else `smart_scripts`.`event_type` end) AS `event_type`,`smart_scripts`.`event_phase_mask` AS `event_phase_mask`,`smart_scripts`.`event_chance` AS `event_chance`,`smart_scripts`.`event_flags` AS `event_flags`,`smart_scripts`.`event_param1` AS `event_param1`,`smart_scripts`.`event_param2` AS `event_param2`,`smart_scripts`.`event_param3` AS `event_param3`,`smart_scripts`.`event_param4` AS `event_param4`,`smart_scripts`.`event_param5` AS `event_param5`,(case when (`smart_scripts`.`action_type` = 0) then 'SMART_ACTION_NONE' when (`smart_scripts`.`action_type` = 1) then 'SMART_ACTION_TALK' when (`smart_scripts`.`action_type` = 2) then 'SMART_ACTION_SET_FACTION' when (`smart_scripts`.`action_type` = 3) then 'SMART_ACTION_MORPH_TO_ENTRY_OR_MODEL' when (`smart_scripts`.`action_type` = 4) then 'SMART_ACTION_SOUND' when (`smart_scripts`.`action_type` = 5) then 'SMART_ACTION_PLAY_EMOTE' when (`smart_scripts`.`action_type` = 6) then 'SMART_ACTION_FAIL_QUEST' when (`smart_scripts`.`action_type` = 7) then 'SMART_ACTION_OFFER_QUEST' when (`smart_scripts`.`action_type` = 8) then 'SMART_ACTION_SET_REACT_STATE' when (`smart_scripts`.`action_type` = 9) then 'SMART_ACTION_ACTIVATE_GOBJECT' when (`smart_scripts`.`action_type` = 10) then 'SMART_ACTION_RANDOM_EMOTE' when (`smart_scripts`.`action_type` = 11) then 'SMART_ACTION_CAST' when (`smart_scripts`.`action_type` = 12) then 'SMART_ACTION_SUMMON_CREATURE' when (`smart_scripts`.`action_type` = 13) then 'SMART_ACTION_THREAT_SINGLE_PCT' when (`smart_scripts`.`action_type` = 14) then 'SMART_ACTION_THREAT_ALL_PCT' when (`smart_scripts`.`action_type` = 15) then 'SMART_ACTION_CALL_AREAEXPLOREDOREVENTHAPPENS' when (`smart_scripts`.`action_type` = 16) then 'SMART_ACTION_RESERVED_16' when (`smart_scripts`.`action_type` = 17) then 'SMART_ACTION_SET_EMOTE_STATE' when (`smart_scripts`.`action_type` = 18) then 'SMART_ACTION_SET_UNIT_FLAG' when (`smart_scripts`.`action_type` = 19) then 'SMART_ACTION_REMOVE_UNIT_FLAG' when (`smart_scripts`.`action_type` = 20) then 'SMART_ACTION_AUTO_ATTACK' when (`smart_scripts`.`action_type` = 21) then 'SMART_ACTION_ALLOW_COMBAT_MOVEMENT' when (`smart_scripts`.`action_type` = 22) then 'SMART_ACTION_SET_EVENT_PHASE' when (`smart_scripts`.`action_type` = 23) then 'SMART_ACTION_INC_EVENT_PHASE' when (`smart_scripts`.`action_type` = 24) then 'SMART_ACTION_EVADE' when (`smart_scripts`.`action_type` = 25) then 'SMART_ACTION_FLEE_FOR_ASSIST' when (`smart_scripts`.`action_type` = 26) then 'SMART_ACTION_CALL_GROUPEVENTHAPPENS' when (`smart_scripts`.`action_type` = 27) then 'SMART_ACTION_COMBAT_STOP' when (`smart_scripts`.`action_type` = 28) then 'SMART_ACTION_REMOVEAURASFROMSPELL' when (`smart_scripts`.`action_type` = 29) then 'SMART_ACTION_FOLLOW' when (`smart_scripts`.`action_type` = 30) then 'SMART_ACTION_RANDOM_PHASE' when (`smart_scripts`.`action_type` = 31) then 'SMART_ACTION_RANDOM_PHASE_RANGE' when (`smart_scripts`.`action_type` = 32) then 'SMART_ACTION_RESET_GOBJECT' when (`smart_scripts`.`action_type` = 33) then 'SMART_ACTION_CALL_KILLEDMONSTER' when (`smart_scripts`.`action_type` = 34) then 'SMART_ACTION_SET_INST_DATA' when (`smart_scripts`.`action_type` = 35) then 'SMART_ACTION_SET_INST_DATA64' when (`smart_scripts`.`action_type` = 36) then 'SMART_ACTION_UPDATE_TEMPLATE' when (`smart_scripts`.`action_type` = 37) then 'SMART_ACTION_DIE' when (`smart_scripts`.`action_type` = 38) then 'SMART_ACTION_SET_IN_COMBAT_WITH_ZONE' when (`smart_scripts`.`action_type` = 39) then 'SMART_ACTION_CALL_FOR_HELP' when (`smart_scripts`.`action_type` = 40) then 'SMART_ACTION_SET_SHEATH' when (`smart_scripts`.`action_type` = 41) then 'SMART_ACTION_FORCE_DESPAWN' when (`smart_scripts`.`action_type` = 42) then 'SMART_ACTION_SET_INVINCIBILITY_HP_LEVEL' when (`smart_scripts`.`action_type` = 43) then 'SMART_ACTION_MOUNT_TO_ENTRY_OR_MODEL' when (`smart_scripts`.`action_type` = 44) then 'SMART_ACTION_SET_INGAME_PHASE_MASK' when (`smart_scripts`.`action_type` = 45) then 'SMART_ACTION_SET_DATA' when (`smart_scripts`.`action_type` = 46) then 'SMART_ACTION_ATTACK_STOP' when (`smart_scripts`.`action_type` = 47) then 'SMART_ACTION_SET_VISIBILITY' when (`smart_scripts`.`action_type` = 48) then 'SMART_ACTION_SET_ACTIVE' when (`smart_scripts`.`action_type` = 49) then 'SMART_ACTION_ATTACK_START' when (`smart_scripts`.`action_type` = 50) then 'SMART_ACTION_SUMMON_GO' when (`smart_scripts`.`action_type` = 51) then 'SMART_ACTION_KILL_UNIT' when (`smart_scripts`.`action_type` = 52) then 'SMART_ACTION_ACTIVATE_TAXI' when (`smart_scripts`.`action_type` = 53) then 'SMART_ACTION_WP_START' when (`smart_scripts`.`action_type` = 54) then 'SMART_ACTION_WP_PAUSE' when (`smart_scripts`.`action_type` = 55) then 'SMART_ACTION_WP_STOP' when (`smart_scripts`.`action_type` = 56) then 'SMART_ACTION_ADD_ITEM' when (`smart_scripts`.`action_type` = 57) then 'SMART_ACTION_REMOVE_ITEM' when (`smart_scripts`.`action_type` = 58) then 'SMART_ACTION_INSTALL_AI_TEMPLATE' when (`smart_scripts`.`action_type` = 59) then 'SMART_ACTION_SET_RUN' when (`smart_scripts`.`action_type` = 60) then 'SMART_ACTION_SET_DISABLE_GRAVITY' when (`smart_scripts`.`action_type` = 61) then 'SMART_ACTION_SET_SWIM' when (`smart_scripts`.`action_type` = 62) then 'SMART_ACTION_TELEPORT' when (`smart_scripts`.`action_type` = 63) then 'SMART_ACTION_SET_COUNTER' when (`smart_scripts`.`action_type` = 64) then 'SMART_ACTION_STORE_TARGET_LIST' when (`smart_scripts`.`action_type` = 65) then 'SMART_ACTION_WP_RESUME' when (`smart_scripts`.`action_type` = 66) then 'SMART_ACTION_SET_ORIENTATION' when (`smart_scripts`.`action_type` = 67) then 'SMART_ACTION_CREATE_TIMED_EVENT' when (`smart_scripts`.`action_type` = 68) then 'SMART_ACTION_PLAYMOVIE' when (`smart_scripts`.`action_type` = 69) then 'SMART_ACTION_MOVE_TO_POS' when (`smart_scripts`.`action_type` = 70) then 'SMART_ACTION_ENABLE_TEMP_GOBJ' when (`smart_scripts`.`action_type` = 71) then 'SMART_ACTION_EQUIP' when (`smart_scripts`.`action_type` = 72) then 'SMART_ACTION_CLOSE_GOSSIP' when (`smart_scripts`.`action_type` = 73) then 'SMART_ACTION_TRIGGER_TIMED_EVENT' when (`smart_scripts`.`action_type` = 74) then 'SMART_ACTION_REMOVE_TIMED_EVENT' when (`smart_scripts`.`action_type` = 75) then 'SMART_ACTION_ADD_AURA' when (`smart_scripts`.`action_type` = 76) then 'SMART_ACTION_OVERRIDE_SCRIPT_BASE_OBJECT' when (`smart_scripts`.`action_type` = 77) then 'SMART_ACTION_RESET_SCRIPT_BASE_OBJECT' when (`smart_scripts`.`action_type` = 78) then 'SMART_ACTION_CALL_SCRIPT_RESET' when (`smart_scripts`.`action_type` = 79) then 'SMART_ACTION_SET_RANGED_MOVEMENT' when (`smart_scripts`.`action_type` = 80) then 'SMART_ACTION_CALL_TIMED_ACTIONLIST' when (`smart_scripts`.`action_type` = 81) then 'SMART_ACTION_SET_NPC_FLAG' when (`smart_scripts`.`action_type` = 82) then 'SMART_ACTION_ADD_NPC_FLAG' when (`smart_scripts`.`action_type` = 83) then 'SMART_ACTION_REMOVE_NPC_FLAG' when (`smart_scripts`.`action_type` = 84) then 'SMART_ACTION_SIMPLE_TALK' when (`smart_scripts`.`action_type` = 85) then 'SMART_ACTION_SELF_CAST' when (`smart_scripts`.`action_type` = 86) then 'SMART_ACTION_CROSS_CAST' when (`smart_scripts`.`action_type` = 87) then 'SMART_ACTION_CALL_RANDOM_TIMED_ACTIONLIST' when (`smart_scripts`.`action_type` = 88) then 'SMART_ACTION_CALL_RANDOM_RANGE_TIMED_ACTIONLIST' when (`smart_scripts`.`action_type` = 89) then 'SMART_ACTION_RANDOM_MOVE' when (`smart_scripts`.`action_type` = 90) then 'SMART_ACTION_SET_UNIT_FIELD_BYTES_1' when (`smart_scripts`.`action_type` = 91) then 'SMART_ACTION_REMOVE_UNIT_FIELD_BYTES_1' when (`smart_scripts`.`action_type` = 92) then 'SMART_ACTION_INTERRUPT_SPELL' when (`smart_scripts`.`action_type` = 93) then 'SMART_ACTION_SEND_GO_CUSTOM_ANIM' when (`smart_scripts`.`action_type` = 94) then 'SMART_ACTION_SET_DYNAMIC_FLAG' when (`smart_scripts`.`action_type` = 95) then 'SMART_ACTION_ADD_DYNAMIC_FLAG' when (`smart_scripts`.`action_type` = 96) then 'SMART_ACTION_REMOVE_DYNAMIC_FLAG' when (`smart_scripts`.`action_type` = 97) then 'SMART_ACTION_JUMP_TO_POS' when (`smart_scripts`.`action_type` = 98) then 'SMART_ACTION_SEND_GOSSIP_MENU' when (`smart_scripts`.`action_type` = 99) then 'SMART_ACTION_GO_SET_LOOT_STATE' when (`smart_scripts`.`action_type` = 100) then 'SMART_ACTION_SEND_TARGET_TO_TARGET' when (`smart_scripts`.`action_type` = 101) then 'SMART_ACTION_SET_HOME_POS' when (`smart_scripts`.`action_type` = 102) then 'SMART_ACTION_SET_HEALTH_REGEN' when (`smart_scripts`.`action_type` = 103) then 'SMART_ACTION_SET_ROOT' when (`smart_scripts`.`action_type` = 104) then 'SMART_ACTION_SET_GO_FLAG' when (`smart_scripts`.`action_type` = 105) then 'SMART_ACTION_ADD_GO_FLAG' when (`smart_scripts`.`action_type` = 106) then 'SMART_ACTION_REMOVE_GO_FLAG' when (`smart_scripts`.`action_type` = 107) then 'SMART_ACTION_SUMMON_CREATURE_GROUP' when (`smart_scripts`.`action_type` = 108) then 'SMART_ACTION_SET_POWER' when (`smart_scripts`.`action_type` = 109) then 'SMART_ACTION_ADD_POWER' when (`smart_scripts`.`action_type` = 110) then 'SMART_ACTION_REMOVE_POWER' when (`smart_scripts`.`action_type` = 111) then 'SMART_ACTION_GAME_EVENT_STOP' when (`smart_scripts`.`action_type` = 112) then 'SMART_ACTION_GAME_EVENT_START' when (`smart_scripts`.`action_type` = 113) then 'SMART_ACTION_START_CLOSEST_WAYPOINT' when (`smart_scripts`.`action_type` = 114) then 'SMART_ACTION_MOVE_OFFSET' when (`smart_scripts`.`action_type` = 115) then 'SMART_ACTION_RANDOM_SOUND' when (`smart_scripts`.`action_type` = 116) then 'SMART_ACTION_SET_CORPSE_DELAY' when (`smart_scripts`.`action_type` = 117) then 'SMART_ACTION_DISABLE_EVADE' when (`smart_scripts`.`action_type` = 118) then 'SMART_ACTION_GO_SET_GO_STATE' when (`smart_scripts`.`action_type` = 119) then 'SMART_ACTION_SET_CAN_FLY' when (`smart_scripts`.`action_type` = 120) then 'SMART_ACTION_REMOVE_AURAS_BY_TYPE' when (`smart_scripts`.`action_type` = 121) then 'SMART_ACTION_SET_SIGHT_DIST' when (`smart_scripts`.`action_type` = 122) then 'SMART_ACTION_FLEE' when (`smart_scripts`.`action_type` = 123) then 'SMART_ACTION_ADD_THREAT' when (`smart_scripts`.`action_type` = 124) then 'SMART_ACTION_LOAD_EQUIPMENT' when (`smart_scripts`.`action_type` = 125) then 'SMART_ACTION_TRIGGER_RANDOM_TIMED_EVENT' when (`smart_scripts`.`action_type` = 126) then 'SMART_ACTION_REMOVE_ALL_GAMEOBJECTS' when (`smart_scripts`.`action_type` = 127) then 'SMART_ACTION_PAUSE_MOVEMENT' when (`smart_scripts`.`action_type` = 128) then 'SMART_ACTION_PLAY_ANIMKIT' when (`smart_scripts`.`action_type` = 129) then 'SMART_ACTION_SCENE_PLAY' when (`smart_scripts`.`action_type` = 130) then 'SMART_ACTION_SCENE_CANCEL' when (`smart_scripts`.`action_type` = 131) then 'SMART_ACTION_SPAWN_SPAWNGROUP' when (`smart_scripts`.`action_type` = 132) then 'SMART_ACTION_DESPAWN_SPAWNGROUP' when (`smart_scripts`.`action_type` = 133) then 'SMART_ACTION_RESPAWN_BY_SPAWNID' when (`smart_scripts`.`action_type` = 134) then 'SMART_ACTION_INVOKER_CAST' when (`smart_scripts`.`action_type` = 135) then 'SMART_ACTION_PLAY_CINEMATIC' when (`smart_scripts`.`action_type` = 136) then 'SMART_ACTION_SET_MOVEMENT_SPEED' when (`smart_scripts`.`action_type` = 137) then 'SMART_ACTION_PLAY_SPELL_VISUAL_KIT' when (`smart_scripts`.`action_type` = 138) then 'SMART_ACTION_OVERRIDE_LIGHT' when (`smart_scripts`.`action_type` = 139) then 'SMART_ACTION_OVERRIDE_WEATHER' else `smart_scripts`.`action_type` end) AS `action_type`,`smart_scripts`.`action_param1` AS `action_param1`,`smart_scripts`.`action_param2` AS `action_param2`,`smart_scripts`.`action_param3` AS `action_param3`,`smart_scripts`.`action_param4` AS `action_param4`,`smart_scripts`.`action_param5` AS `action_param5`,`smart_scripts`.`action_param6` AS `action_param6`,(case when (`smart_scripts`.`target_type` = 0) then 'SMART_TARGET_NONE' when (`smart_scripts`.`target_type` = 1) then 'SMART_TARGET_SELF' when (`smart_scripts`.`target_type` = 2) then 'SMART_TARGET_VICTIM' when (`smart_scripts`.`target_type` = 3) then 'SMART_TARGET_HOSTILE_SECOND_AGGRO' when (`smart_scripts`.`target_type` = 4) then 'SMART_TARGET_HOSTILE_LAST_AGGRO' when (`smart_scripts`.`target_type` = 5) then 'SMART_TARGET_HOSTILE_RANDOM' when (`smart_scripts`.`target_type` = 6) then 'SMART_TARGET_HOSTILE_RANDOM_NOT_TOP' when (`smart_scripts`.`target_type` = 7) then 'SMART_TARGET_ACTION_INVOKER' when (`smart_scripts`.`target_type` = 8) then 'SMART_TARGET_POSITION' when (`smart_scripts`.`target_type` = 9) then 'SMART_TARGET_CREATURE_RANGE' when (`smart_scripts`.`target_type` = 10) then 'SMART_TARGET_CREATURE_GUID' when (`smart_scripts`.`target_type` = 11) then 'SMART_TARGET_CREATURE_DISTANCE' when (`smart_scripts`.`target_type` = 12) then 'SMART_TARGET_STORED' when (`smart_scripts`.`target_type` = 13) then 'SMART_TARGET_GAMEOBJECT_RANGE' when (`smart_scripts`.`target_type` = 14) then 'SMART_TARGET_GAMEOBJECT_GUID' when (`smart_scripts`.`target_type` = 15) then 'SMART_TARGET_GAMEOBJECT_DISTANCE' when (`smart_scripts`.`target_type` = 16) then 'SMART_TARGET_INVOKER_PARTY' when (`smart_scripts`.`target_type` = 17) then 'SMART_TARGET_PLAYER_RANGE' when (`smart_scripts`.`target_type` = 18) then 'SMART_TARGET_PLAYER_DISTANCE' when (`smart_scripts`.`target_type` = 19) then 'SMART_TARGET_CLOSEST_CREATURE' when (`smart_scripts`.`target_type` = 20) then 'SMART_TARGET_CLOSEST_GAMEOBJECT' when (`smart_scripts`.`target_type` = 21) then 'SMART_TARGET_CLOSEST_PLAYER' when (`smart_scripts`.`target_type` = 22) then 'SMART_TARGET_ACTION_INVOKER_VEHICLE' when (`smart_scripts`.`target_type` = 23) then 'SMART_TARGET_OWNER_OR_SUMMONER' when (`smart_scripts`.`target_type` = 24) then 'SMART_TARGET_THREAT_LIST' when (`smart_scripts`.`target_type` = 25) then 'SMART_TARGET_CLOSEST_ENEMY' when (`smart_scripts`.`target_type` = 26) then 'SMART_TARGET_CLOSEST_FRIENDLY' when (`smart_scripts`.`target_type` = 27) then 'SMART_TARGET_LOOT_RECIPIENTS' when (`smart_scripts`.`target_type` = 28) then 'SMART_TARGET_FARTHEST' when (`smart_scripts`.`target_type` = 29) then 'SMART_TARGET_VEHICLE_PASSENGER' when (`smart_scripts`.`target_type` = 30) then 'SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT' else `smart_scripts`.`target_type` end) AS `target_type`,`smart_scripts`.`target_param1` AS `target_param1`,`smart_scripts`.`target_param2` AS `target_param2`,`smart_scripts`.`target_param3` AS `target_param3`,`smart_scripts`.`target_param4` AS `target_param4`,`smart_scripts`.`target_x` AS `target_x`,`smart_scripts`.`target_y` AS `target_y`,`smart_scripts`.`target_z` AS `target_z`,`smart_scripts`.`target_o` AS `target_o`,`smart_scripts`.`comment` AS `comment` from `smart_scripts` */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; @@ -4061,4 +4061,4 @@ CREATE TABLE `waypoints` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2021-11-15 16:22:43 +-- Dump completed on 2021-12-16 21:17:15 diff --git a/sql/updates/auth/3.3.5/2021_11_15_00_auth.sql b/sql/old/3.3.5a/auth/21111_2021_12_16/2021_11_15_00_auth.sql index a568171c60a..a568171c60a 100644 --- a/sql/updates/auth/3.3.5/2021_11_15_00_auth.sql +++ b/sql/old/3.3.5a/auth/21111_2021_12_16/2021_11_15_00_auth.sql diff --git a/sql/updates/characters/3.3.5/2021_11_15_00_characters.sql b/sql/old/3.3.5a/characters/21111_2021_12_16/2021_11_15_00_characters.sql index b2b9e9ba597..b2b9e9ba597 100644 --- a/sql/updates/characters/3.3.5/2021_11_15_00_characters.sql +++ b/sql/old/3.3.5a/characters/21111_2021_12_16/2021_11_15_00_characters.sql diff --git a/sql/updates/world/3.3.5/2021_11_15_00_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_15_00_world.sql index c549fcea3fc..c549fcea3fc 100644 --- a/sql/updates/world/3.3.5/2021_11_15_00_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_15_00_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_17_00_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_17_00_world.sql index 591dd2e6dff..591dd2e6dff 100644 --- a/sql/updates/world/3.3.5/2021_11_17_00_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_17_00_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_17_01_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_17_01_world.sql index 944e60e2873..944e60e2873 100644 --- a/sql/updates/world/3.3.5/2021_11_17_01_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_17_01_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_17_02_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_17_02_world.sql index 268b46624f7..268b46624f7 100644 --- a/sql/updates/world/3.3.5/2021_11_17_02_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_17_02_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_20_00_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_00_world.sql index 05a90843b94..05a90843b94 100644 --- a/sql/updates/world/3.3.5/2021_11_20_00_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_00_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_20_01_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_01_world.sql index ffab25bb6c1..ffab25bb6c1 100644 --- a/sql/updates/world/3.3.5/2021_11_20_01_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_01_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_20_02_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_02_world.sql index 7a9c48843d8..7a9c48843d8 100644 --- a/sql/updates/world/3.3.5/2021_11_20_02_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_02_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_20_03_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_03_world.sql index d7157b9068e..d7157b9068e 100644 --- a/sql/updates/world/3.3.5/2021_11_20_03_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_03_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_20_04_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_04_world.sql index f38aeef7810..f38aeef7810 100644 --- a/sql/updates/world/3.3.5/2021_11_20_04_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_04_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_20_05_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_05_world.sql index 578dfaab606..578dfaab606 100644 --- a/sql/updates/world/3.3.5/2021_11_20_05_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_05_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_20_06_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_06_world.sql index f38f00b0a6a..f38f00b0a6a 100644 --- a/sql/updates/world/3.3.5/2021_11_20_06_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_20_06_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_24_00_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_24_00_world.sql index b3dfcad870d..b3dfcad870d 100644 --- a/sql/updates/world/3.3.5/2021_11_24_00_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_24_00_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_28_00_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_28_00_world.sql index 5fb9d10618d..5fb9d10618d 100644 --- a/sql/updates/world/3.3.5/2021_11_28_00_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_28_00_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_28_01_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_28_01_world.sql index 1c48f4a3052..1c48f4a3052 100644 --- a/sql/updates/world/3.3.5/2021_11_28_01_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_28_01_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_28_02_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_28_02_world.sql index 7f7f35b5fc7..7f7f35b5fc7 100644 --- a/sql/updates/world/3.3.5/2021_11_28_02_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_28_02_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_28_03_world_335.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_28_03_world_335.sql index b3906c04b89..b3906c04b89 100644 --- a/sql/updates/world/3.3.5/2021_11_28_03_world_335.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_28_03_world_335.sql diff --git a/sql/updates/world/3.3.5/2021_11_30_00_world_335.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_30_00_world_335.sql index 872abe23f82..872abe23f82 100644 --- a/sql/updates/world/3.3.5/2021_11_30_00_world_335.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_30_00_world_335.sql diff --git a/sql/updates/world/3.3.5/2021_11_30_01_world_335.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_30_01_world_335.sql index 1a44efb76d4..1a44efb76d4 100644 --- a/sql/updates/world/3.3.5/2021_11_30_01_world_335.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_30_01_world_335.sql diff --git a/sql/updates/world/3.3.5/2021_11_30_02_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_30_02_world.sql index 0e66b5a49c0..0e66b5a49c0 100644 --- a/sql/updates/world/3.3.5/2021_11_30_02_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_30_02_world.sql diff --git a/sql/updates/world/3.3.5/2021_11_30_03_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_30_03_world.sql index 028c41fa368..028c41fa368 100644 --- a/sql/updates/world/3.3.5/2021_11_30_03_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_11_30_03_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_01_00_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_00_world.sql index b7f7e062ea1..b7f7e062ea1 100644 --- a/sql/updates/world/3.3.5/2021_12_01_00_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_00_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_01_01_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_01_world.sql index c112ccf0b03..c112ccf0b03 100644 --- a/sql/updates/world/3.3.5/2021_12_01_01_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_01_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_01_02_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_02_world.sql index 2ac6a73b102..2ac6a73b102 100644 --- a/sql/updates/world/3.3.5/2021_12_01_02_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_02_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_01_03_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_03_world.sql index 25617ca9969..25617ca9969 100644 --- a/sql/updates/world/3.3.5/2021_12_01_03_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_03_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_01_04_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_04_world.sql index 207f29d83fc..207f29d83fc 100644 --- a/sql/updates/world/3.3.5/2021_12_01_04_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_04_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_01_05_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_05_world.sql index a67e3e79130..a67e3e79130 100644 --- a/sql/updates/world/3.3.5/2021_12_01_05_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_01_05_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_06_00_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_06_00_world.sql index 7f2c7eca442..7f2c7eca442 100644 --- a/sql/updates/world/3.3.5/2021_12_06_00_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_06_00_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_06_01_world_335.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_06_01_world_335.sql index 4ed471762db..4ed471762db 100644 --- a/sql/updates/world/3.3.5/2021_12_06_01_world_335.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_06_01_world_335.sql diff --git a/sql/updates/world/3.3.5/2021_12_06_02_world_335.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_06_02_world_335.sql index 04c3cbd08d7..04c3cbd08d7 100644 --- a/sql/updates/world/3.3.5/2021_12_06_02_world_335.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_06_02_world_335.sql diff --git a/sql/updates/world/3.3.5/2021_12_06_03_world_335.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_06_03_world_335.sql index 6d2b832f977..6d2b832f977 100644 --- a/sql/updates/world/3.3.5/2021_12_06_03_world_335.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_06_03_world_335.sql diff --git a/sql/updates/world/3.3.5/2021_12_09_00_world_335.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_00_world_335.sql index 4ee153496bc..4ee153496bc 100644 --- a/sql/updates/world/3.3.5/2021_12_09_00_world_335.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_00_world_335.sql diff --git a/sql/updates/world/3.3.5/2021_12_09_01_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_01_world.sql index 1293d176598..1293d176598 100644 --- a/sql/updates/world/3.3.5/2021_12_09_01_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_01_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_09_02_world_335.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_02_world_335.sql index 725b9e6de64..725b9e6de64 100644 --- a/sql/updates/world/3.3.5/2021_12_09_02_world_335.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_02_world_335.sql diff --git a/sql/updates/world/3.3.5/2021_12_09_03_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_03_world.sql index ad4589a6c52..ad4589a6c52 100644 --- a/sql/updates/world/3.3.5/2021_12_09_03_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_03_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_09_04_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_04_world.sql index 608b3724073..608b3724073 100644 --- a/sql/updates/world/3.3.5/2021_12_09_04_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_04_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_09_05_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_05_world.sql index 8b492781663..8b492781663 100644 --- a/sql/updates/world/3.3.5/2021_12_09_05_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_09_05_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_11_00_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_11_00_world.sql index 8517fa56622..8517fa56622 100644 --- a/sql/updates/world/3.3.5/2021_12_11_00_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_11_00_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_11_01_world_335.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_11_01_world_335.sql index 2b92b763c2e..2b92b763c2e 100644 --- a/sql/updates/world/3.3.5/2021_12_11_01_world_335.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_11_01_world_335.sql diff --git a/sql/updates/world/3.3.5/2021_12_11_02_world_335.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_11_02_world_335.sql index ad12257260c..ad12257260c 100644 --- a/sql/updates/world/3.3.5/2021_12_11_02_world_335.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_11_02_world_335.sql diff --git a/sql/updates/world/3.3.5/2021_12_11_03_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_11_03_world.sql index 1889329e3a2..1889329e3a2 100644 --- a/sql/updates/world/3.3.5/2021_12_11_03_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_11_03_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_13_00_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_13_00_world.sql index e516f4662da..e516f4662da 100644 --- a/sql/updates/world/3.3.5/2021_12_13_00_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_13_00_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_13_01_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_13_01_world.sql index c0d9eacade0..c0d9eacade0 100644 --- a/sql/updates/world/3.3.5/2021_12_13_01_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_13_01_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_13_02_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_13_02_world.sql index a6bae8dfe74..a6bae8dfe74 100644 --- a/sql/updates/world/3.3.5/2021_12_13_02_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_13_02_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_13_03_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_13_03_world.sql index ff37a5f614c..ff37a5f614c 100644 --- a/sql/updates/world/3.3.5/2021_12_13_03_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_13_03_world.sql diff --git a/sql/updates/world/3.3.5/2021_12_16_00_world.sql b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_16_00_world.sql index 3c94cb0986b..3c94cb0986b 100644 --- a/sql/updates/world/3.3.5/2021_12_16_00_world.sql +++ b/sql/old/3.3.5a/world/21111_2021_12_16/2021_12_16_00_world.sql diff --git a/sql/updates/auth/3.3.5/2021_12_16_00_auth.sql b/sql/updates/auth/3.3.5/2021_12_16_00_auth.sql new file mode 100644 index 00000000000..be51c4501d9 --- /dev/null +++ b/sql/updates/auth/3.3.5/2021_12_16_00_auth.sql @@ -0,0 +1,2 @@ +-- TDB 335.21121 auth +UPDATE `updates` SET `state`='ARCHIVED'; diff --git a/sql/updates/characters/3.3.5/2021_12_16_00_characters.sql b/sql/updates/characters/3.3.5/2021_12_16_00_characters.sql new file mode 100644 index 00000000000..9a5bcd39ffe --- /dev/null +++ b/sql/updates/characters/3.3.5/2021_12_16_00_characters.sql @@ -0,0 +1,2 @@ +-- TDB 335.21121 characters +UPDATE `updates` SET `state`='ARCHIVED'; diff --git a/sql/updates/world/3.3.5/2021_12_16_01_world.sql b/sql/updates/world/3.3.5/2021_12_16_01_world.sql new file mode 100644 index 00000000000..b099c720c6f --- /dev/null +++ b/sql/updates/world/3.3.5/2021_12_16_01_world.sql @@ -0,0 +1,3 @@ +-- TDB 335.21121 world +UPDATE `version` SET `db_version`='TDB 335.21121', `cache_id`=21121 LIMIT 1; +UPDATE `updates` SET `state`='ARCHIVED'; |