diff options
Diffstat (limited to 'sql/base/dev')
-rw-r--r-- | sql/base/dev/hotfixes_database.sql | 6692 | ||||
-rw-r--r-- | sql/base/dev/world_database.sql | 2818 |
2 files changed, 4896 insertions, 4614 deletions
diff --git a/sql/base/dev/hotfixes_database.sql b/sql/base/dev/hotfixes_database.sql index 95c92321a59..e0d3b7c7ba7 100644 --- a/sql/base/dev/hotfixes_database.sql +++ b/sql/base/dev/hotfixes_database.sql @@ -1,13 +1,13 @@ --- MySQL dump 10.16 Distrib 10.1.6-MariaDB, for Win64 (AMD64) +-- MySQL dump 10.17 Distrib 10.3.15-MariaDB, for debian-linux-gnu (x86_64) -- --- Host: localhost Database: hotfixes +-- Host: localhost Database: hotfixes_8 -- ------------------------------------------------------ --- Server version 10.1.6-MariaDB +-- Server version 10.3.15-MariaDB-1 /*!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 */; +/*!40101 SET NAMES utf8mb4 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; @@ -23,22 +23,23 @@ DROP TABLE IF EXISTS `achievement`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `achievement` ( - `Title` text, - `Description` text, - `Reward` text, - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `MapID` smallint(6) NOT NULL DEFAULT '0', - `Supercedes` smallint(5) unsigned NOT NULL DEFAULT '0', - `Category` smallint(5) unsigned NOT NULL DEFAULT '0', - `UIOrder` smallint(5) unsigned NOT NULL DEFAULT '0', - `SharesCriteria` smallint(5) unsigned NOT NULL DEFAULT '0', - `Faction` tinyint(4) NOT NULL DEFAULT '0', - `Points` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinimumCriteria` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `IconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `CriteriaTree` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Description` text DEFAULT NULL, + `Title` text DEFAULT NULL, + `Reward` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `InstanceID` smallint(6) NOT NULL DEFAULT 0, + `Faction` tinyint(4) NOT NULL DEFAULT 0, + `Supercedes` smallint(6) NOT NULL DEFAULT 0, + `Category` smallint(6) NOT NULL DEFAULT 0, + `MinimumCriteria` tinyint(4) NOT NULL DEFAULT 0, + `Points` tinyint(4) NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `UiOrder` smallint(6) NOT NULL DEFAULT 0, + `IconFileID` int(11) NOT NULL DEFAULT 0, + `RewardItemID` int(11) NOT NULL DEFAULT 0, + `CriteriaTree` int(10) unsigned NOT NULL DEFAULT 0, + `SharesCriteria` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -51,12 +52,12 @@ DROP TABLE IF EXISTS `achievement_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `achievement_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Title_lang` text, - `Description_lang` text, - `Reward_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Description_lang` text DEFAULT NULL, + `Title_lang` text DEFAULT NULL, + `Reward_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -69,11 +70,30 @@ DROP TABLE IF EXISTS `anim_kit`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `anim_kit` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `OneShotDuration` int(10) unsigned NOT NULL DEFAULT '0', - `OneShotStopAnimKitID` smallint(5) unsigned NOT NULL DEFAULT '0', - `LowDefAnimKitID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `OneShotDuration` int(10) unsigned NOT NULL DEFAULT 0, + `OneShotStopAnimKitID` smallint(5) unsigned NOT NULL DEFAULT 0, + `LowDefAnimKitID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `animation_data` +-- + +DROP TABLE IF EXISTS `animation_data`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `animation_data` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `BehaviorID` smallint(5) unsigned NOT NULL DEFAULT 0, + `BehaviorTier` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Fallback` int(11) NOT NULL DEFAULT 0, + `Flags1` int(11) NOT NULL DEFAULT 0, + `Flags2` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -86,10 +106,10 @@ DROP TABLE IF EXISTS `area_group_member`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `area_group_member` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `AreaID` smallint(5) unsigned NOT NULL DEFAULT '0', - `AreaGroupID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `AreaID` smallint(5) unsigned NOT NULL DEFAULT 0, + `AreaGroupID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -102,35 +122,35 @@ DROP TABLE IF EXISTS `area_table`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `area_table` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ZoneName` text, - `AreaName` text, - `Flags1` int(10) unsigned NOT NULL DEFAULT '0', - `Flags2` int(10) unsigned NOT NULL DEFAULT '0', - `AmbientMultiplier` float NOT NULL DEFAULT '0', - `MapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ParentAreaID` smallint(5) unsigned NOT NULL DEFAULT '0', - `AreaBit` smallint(6) NOT NULL DEFAULT '0', - `AmbienceID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ZoneMusic` smallint(5) unsigned NOT NULL DEFAULT '0', - `IntroSound` smallint(5) unsigned NOT NULL DEFAULT '0', - `LiquidTypeID1` smallint(5) unsigned NOT NULL DEFAULT '0', - `LiquidTypeID2` smallint(5) unsigned NOT NULL DEFAULT '0', - `LiquidTypeID3` smallint(5) unsigned NOT NULL DEFAULT '0', - `LiquidTypeID4` smallint(5) unsigned NOT NULL DEFAULT '0', - `UWZoneMusic` smallint(5) unsigned NOT NULL DEFAULT '0', - `UWAmbience` smallint(5) unsigned NOT NULL DEFAULT '0', - `PvPCombatWorldStateID` smallint(5) unsigned NOT NULL DEFAULT '0', - `SoundProviderPref` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SoundProviderPrefUnderwater` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ExplorationLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `FactionGroupMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MountFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `WildBattlePetLevelMin` tinyint(3) unsigned NOT NULL DEFAULT '0', - `WildBattlePetLevelMax` tinyint(3) unsigned NOT NULL DEFAULT '0', - `WindSettingsID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `UWIntroSound` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ZoneName` text DEFAULT NULL, + `AreaName` text DEFAULT NULL, + `ContinentID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ParentAreaID` smallint(5) unsigned NOT NULL DEFAULT 0, + `AreaBit` smallint(6) NOT NULL DEFAULT 0, + `SoundProviderPref` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SoundProviderPrefUnderwater` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AmbienceID` smallint(5) unsigned NOT NULL DEFAULT 0, + `UwAmbience` smallint(5) unsigned NOT NULL DEFAULT 0, + `ZoneMusic` smallint(5) unsigned NOT NULL DEFAULT 0, + `UwZoneMusic` smallint(5) unsigned NOT NULL DEFAULT 0, + `ExplorationLevel` tinyint(4) NOT NULL DEFAULT 0, + `IntroSound` smallint(5) unsigned NOT NULL DEFAULT 0, + `UwIntroSound` int(10) unsigned NOT NULL DEFAULT 0, + `FactionGroupMask` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AmbientMultiplier` float NOT NULL DEFAULT 0, + `MountFlags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PvpCombatWorldStateID` smallint(6) NOT NULL DEFAULT 0, + `WildBattlePetLevelMin` tinyint(3) unsigned NOT NULL DEFAULT 0, + `WildBattlePetLevelMax` tinyint(3) unsigned NOT NULL DEFAULT 0, + `WindSettingsID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Flags1` int(11) NOT NULL DEFAULT 0, + `Flags2` int(11) NOT NULL DEFAULT 0, + `LiquidTypeID1` smallint(5) unsigned NOT NULL DEFAULT 0, + `LiquidTypeID2` smallint(5) unsigned NOT NULL DEFAULT 0, + `LiquidTypeID3` smallint(5) unsigned NOT NULL DEFAULT 0, + `LiquidTypeID4` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -143,10 +163,10 @@ DROP TABLE IF EXISTS `area_table_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `area_table_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `AreaName_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `AreaName_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -159,24 +179,24 @@ DROP TABLE IF EXISTS `area_trigger`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `area_trigger` ( - `PosX` float NOT NULL DEFAULT '0', - `PosY` float NOT NULL DEFAULT '0', - `PosZ` float NOT NULL DEFAULT '0', - `Radius` float NOT NULL DEFAULT '0', - `BoxLength` float NOT NULL DEFAULT '0', - `BoxWidth` float NOT NULL DEFAULT '0', - `BoxHeight` float NOT NULL DEFAULT '0', - `BoxYaw` float NOT NULL DEFAULT '0', - `MapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `PhaseID` smallint(5) unsigned NOT NULL DEFAULT '0', - `PhaseGroupID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ShapeID` smallint(5) unsigned NOT NULL DEFAULT '0', - `AreaTriggerActionSetID` smallint(5) unsigned NOT NULL DEFAULT '0', - `PhaseUseFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ShapeType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flag` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `PosX` float NOT NULL DEFAULT 0, + `PosY` float NOT NULL DEFAULT 0, + `PosZ` float NOT NULL DEFAULT 0, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ContinentID` smallint(6) NOT NULL DEFAULT 0, + `PhaseUseFlags` tinyint(4) NOT NULL DEFAULT 0, + `PhaseID` smallint(6) NOT NULL DEFAULT 0, + `PhaseGroupID` smallint(6) NOT NULL DEFAULT 0, + `Radius` float NOT NULL DEFAULT 0, + `BoxLength` float NOT NULL DEFAULT 0, + `BoxWidth` float NOT NULL DEFAULT 0, + `BoxHeight` float NOT NULL DEFAULT 0, + `BoxYaw` float NOT NULL DEFAULT 0, + `ShapeType` tinyint(4) NOT NULL DEFAULT 0, + `ShapeID` smallint(6) NOT NULL DEFAULT 0, + `AreaTriggerActionSetID` smallint(6) NOT NULL DEFAULT 0, + `Flags` tinyint(4) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -189,13 +209,13 @@ DROP TABLE IF EXISTS `armor_location`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `armor_location` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Modifier1` float NOT NULL DEFAULT '0', - `Modifier2` float NOT NULL DEFAULT '0', - `Modifier3` float NOT NULL DEFAULT '0', - `Modifier4` float NOT NULL DEFAULT '0', - `Modifier5` float NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Clothmodifier` float NOT NULL DEFAULT 0, + `Leathermodifier` float NOT NULL DEFAULT 0, + `Chainmodifier` float NOT NULL DEFAULT 0, + `Platemodifier` float NOT NULL DEFAULT 0, + `Modifier` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -208,18 +228,18 @@ DROP TABLE IF EXISTS `artifact`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `artifact` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `BarConnectedColor` int(10) unsigned NOT NULL DEFAULT '0', - `BarDisconnectedColor` int(10) unsigned NOT NULL DEFAULT '0', - `TitleColor` int(10) unsigned NOT NULL DEFAULT '0', - `ClassUiTextureKitID` smallint(5) unsigned NOT NULL DEFAULT '0', - `SpecID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ArtifactCategoryID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `UiModelSceneID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellVisualKitID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `UiTextureKitID` smallint(5) unsigned NOT NULL DEFAULT 0, + `UiNameColor` int(11) NOT NULL DEFAULT 0, + `UiBarOverlayColor` int(11) NOT NULL DEFAULT 0, + `UiBarBackgroundColor` int(11) NOT NULL DEFAULT 0, + `ChrSpecializationID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ArtifactCategoryID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `UiModelSceneID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellVisualKitID` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -232,22 +252,23 @@ DROP TABLE IF EXISTS `artifact_appearance`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `artifact_appearance` ( - `Name` text, - `SwatchColor` int(10) unsigned NOT NULL DEFAULT '0', - `ModelDesaturation` float NOT NULL DEFAULT '0', - `ModelAlpha` float NOT NULL DEFAULT '0', - `ShapeshiftDisplayID` int(10) unsigned NOT NULL DEFAULT '0', - `ArtifactAppearanceSetID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Unknown` smallint(5) unsigned NOT NULL DEFAULT '0', - `DisplayIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AppearanceModID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ModifiesShapeshiftFormDisplay` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT '0', - `ItemAppearanceID` int(10) unsigned NOT NULL DEFAULT '0', - `AltItemAppearanceID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ArtifactAppearanceSetID` smallint(5) unsigned NOT NULL DEFAULT 0, + `DisplayIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `UnlockPlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemAppearanceModifierID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `UiSwatchColor` int(11) NOT NULL DEFAULT 0, + `UiModelSaturation` float NOT NULL DEFAULT 0, + `UiModelOpacity` float NOT NULL DEFAULT 0, + `OverrideShapeshiftFormID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `OverrideShapeshiftDisplayID` int(10) unsigned NOT NULL DEFAULT 0, + `UiItemAppearanceID` int(10) unsigned NOT NULL DEFAULT 0, + `UiAltItemAppearanceID` int(10) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `UiCameraID` smallint(5) unsigned NOT NULL DEFAULT 0, + `UsablePlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -260,10 +281,10 @@ DROP TABLE IF EXISTS `artifact_appearance_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `artifact_appearance_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -276,16 +297,16 @@ DROP TABLE IF EXISTS `artifact_appearance_set`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `artifact_appearance_set` ( - `Name` text, - `Name2` text, - `UiCameraID` smallint(5) unsigned NOT NULL DEFAULT '0', - `AltHandUICameraID` smallint(5) unsigned NOT NULL DEFAULT '0', - `DisplayIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AttachmentPoint` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ArtifactID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name` text DEFAULT NULL, + `Description` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DisplayIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `UiCameraID` smallint(5) unsigned NOT NULL DEFAULT 0, + `AltHandUICameraID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ForgeAttachmentOverride` tinyint(4) NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ArtifactID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -298,11 +319,11 @@ DROP TABLE IF EXISTS `artifact_appearance_set_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `artifact_appearance_set_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `Name2_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `Description_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -315,10 +336,10 @@ DROP TABLE IF EXISTS `artifact_category`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `artifact_category` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ArtifactKnowledgeCurrencyID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ArtifactKnowledgeMultiplierCurveID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `XpMultCurrencyID` smallint(6) NOT NULL DEFAULT 0, + `XpMultCurveID` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -331,10 +352,10 @@ DROP TABLE IF EXISTS `artifact_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `artifact_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -347,15 +368,15 @@ DROP TABLE IF EXISTS `artifact_power`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `artifact_power` ( - `PosX` float NOT NULL DEFAULT '0', - `PosY` float NOT NULL DEFAULT '0', - `ArtifactID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxRank` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ArtifactTier` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `RelicType` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `DisplayPosX` float NOT NULL DEFAULT 0, + `DisplayPosY` float NOT NULL DEFAULT 0, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ArtifactID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MaxPurchasableRank` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Label` int(11) NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Tier` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -368,10 +389,10 @@ DROP TABLE IF EXISTS `artifact_power_link`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `artifact_power_link` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `FromArtifactPowerID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ToArtifactPowerID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `PowerA` smallint(5) unsigned NOT NULL DEFAULT 0, + `PowerB` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -384,9 +405,9 @@ DROP TABLE IF EXISTS `artifact_power_picker`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `artifact_power_picker` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -399,13 +420,13 @@ DROP TABLE IF EXISTS `artifact_power_rank`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `artifact_power_rank` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `Value` float NOT NULL DEFAULT '0', - `Unknown` smallint(5) unsigned NOT NULL DEFAULT '0', - `Rank` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ArtifactPowerID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `RankIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `ItemBonusListID` smallint(5) unsigned NOT NULL DEFAULT 0, + `AuraPointsOverride` float NOT NULL DEFAULT 0, + `ArtifactPowerID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -418,18 +439,56 @@ DROP TABLE IF EXISTS `artifact_quest_xp`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `artifact_quest_xp` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Exp1` int(10) unsigned NOT NULL DEFAULT '0', - `Exp2` int(10) unsigned NOT NULL DEFAULT '0', - `Exp3` int(10) unsigned NOT NULL DEFAULT '0', - `Exp4` int(10) unsigned NOT NULL DEFAULT '0', - `Exp5` int(10) unsigned NOT NULL DEFAULT '0', - `Exp6` int(10) unsigned NOT NULL DEFAULT '0', - `Exp7` int(10) unsigned NOT NULL DEFAULT '0', - `Exp8` int(10) unsigned NOT NULL DEFAULT '0', - `Exp9` int(10) unsigned NOT NULL DEFAULT '0', - `Exp10` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty1` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty2` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty3` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty4` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty5` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty6` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty7` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty8` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty9` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty10` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `artifact_tier` +-- + +DROP TABLE IF EXISTS `artifact_tier`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `artifact_tier` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ArtifactTier` int(10) unsigned NOT NULL DEFAULT 0, + `MaxNumTraits` int(10) unsigned NOT NULL DEFAULT 0, + `MaxArtifactKnowledge` int(10) unsigned NOT NULL DEFAULT 0, + `KnowledgePlayerCondition` int(10) unsigned NOT NULL DEFAULT 0, + `MinimumEmpowerKnowledge` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `artifact_unlock` +-- + +DROP TABLE IF EXISTS `artifact_unlock`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `artifact_unlock` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `PowerID` int(10) unsigned NOT NULL DEFAULT 0, + `PowerRank` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ItemBonusListID` smallint(5) unsigned NOT NULL DEFAULT 0, + `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `ArtifactID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -442,12 +501,12 @@ DROP TABLE IF EXISTS `auction_house`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `auction_house` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `FactionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `DepositRate` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ConsignmentRate` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `FactionID` smallint(5) unsigned NOT NULL DEFAULT 0, + `DepositRate` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ConsignmentRate` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -460,10 +519,10 @@ DROP TABLE IF EXISTS `auction_house_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `auction_house_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -476,9 +535,9 @@ DROP TABLE IF EXISTS `bank_bag_slot_prices`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `bank_bag_slot_prices` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Cost` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Cost` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -491,11 +550,11 @@ DROP TABLE IF EXISTS `banned_addons`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `banned_addons` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Version` text, - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `Version` text DEFAULT NULL, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -508,15 +567,15 @@ DROP TABLE IF EXISTS `barber_shop_style`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `barber_shop_style` ( - `DisplayName` text, - `Description` text, - `CostModifier` float NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Race` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Sex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Data` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `DisplayName` text DEFAULT NULL, + `Description` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Type` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CostModifier` float NOT NULL DEFAULT 0, + `Race` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Sex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Data` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -529,11 +588,11 @@ DROP TABLE IF EXISTS `barber_shop_style_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `barber_shop_style_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `DisplayName_lang` text, - `Description_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `DisplayName_lang` text DEFAULT NULL, + `Description_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -546,10 +605,10 @@ DROP TABLE IF EXISTS `battle_pet_breed_quality`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `battle_pet_breed_quality` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Modifier` float NOT NULL DEFAULT '0', - `Quality` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `StateMultiplier` float NOT NULL DEFAULT 0, + `QualityEnum` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -562,11 +621,11 @@ DROP TABLE IF EXISTS `battle_pet_breed_state`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `battle_pet_breed_state` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Value` smallint(6) NOT NULL DEFAULT '0', - `State` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BreedID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `BattlePetStateID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Value` smallint(5) unsigned NOT NULL DEFAULT 0, + `BattlePetBreedID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -579,18 +638,18 @@ DROP TABLE IF EXISTS `battle_pet_species`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `battle_pet_species` ( - `SourceText` text, - `Description` text, - `CreatureID` int(10) unsigned NOT NULL DEFAULT '0', - `IconFileID` int(10) unsigned NOT NULL DEFAULT '0', - `SummonSpellID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `PetType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Source` tinyint(4) NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `CardModelSceneID` int(10) unsigned NOT NULL DEFAULT '0', - `LoadoutModelSceneID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Description` text DEFAULT NULL, + `SourceText` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `CreatureID` int(11) NOT NULL DEFAULT 0, + `SummonSpellID` int(11) NOT NULL DEFAULT 0, + `IconFileDataID` int(11) NOT NULL DEFAULT 0, + `PetTypeEnum` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Flags` smallint(5) unsigned NOT NULL DEFAULT 0, + `SourceTypeEnum` tinyint(4) NOT NULL DEFAULT 0, + `CardUIModelSceneID` int(11) NOT NULL DEFAULT 0, + `LoadoutUIModelSceneID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -603,11 +662,11 @@ DROP TABLE IF EXISTS `battle_pet_species_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `battle_pet_species_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `SourceText_lang` text, - `Description_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Description_lang` text DEFAULT NULL, + `SourceText_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -620,11 +679,11 @@ DROP TABLE IF EXISTS `battle_pet_species_state`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `battle_pet_species_state` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Value` int(11) NOT NULL DEFAULT '0', - `State` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SpeciesID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `BattlePetStateID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Value` int(11) NOT NULL DEFAULT 0, + `BattlePetSpeciesID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -637,40 +696,40 @@ DROP TABLE IF EXISTS `battlemaster_list`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `battlemaster_list` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `GameType` text, - `ShortDescription` text, - `LongDescription` text, - `IconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `MapID1` smallint(6) NOT NULL DEFAULT '0', - `MapID2` smallint(6) NOT NULL DEFAULT '0', - `MapID3` smallint(6) NOT NULL DEFAULT '0', - `MapID4` smallint(6) NOT NULL DEFAULT '0', - `MapID5` smallint(6) NOT NULL DEFAULT '0', - `MapID6` smallint(6) NOT NULL DEFAULT '0', - `MapID7` smallint(6) NOT NULL DEFAULT '0', - `MapID8` smallint(6) NOT NULL DEFAULT '0', - `MapID9` smallint(6) NOT NULL DEFAULT '0', - `MapID10` smallint(6) NOT NULL DEFAULT '0', - `MapID11` smallint(6) NOT NULL DEFAULT '0', - `MapID12` smallint(6) NOT NULL DEFAULT '0', - `MapID13` smallint(6) NOT NULL DEFAULT '0', - `MapID14` smallint(6) NOT NULL DEFAULT '0', - `MapID15` smallint(6) NOT NULL DEFAULT '0', - `MapID16` smallint(6) NOT NULL DEFAULT '0', - `HolidayWorldState` smallint(5) unsigned NOT NULL DEFAULT '0', - `PlayerConditionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `InstanceType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `GroupsAllowed` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxGroupSize` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RatedPlayers` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinPlayers` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxPlayers` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `GameType` text DEFAULT NULL, + `ShortDescription` text DEFAULT NULL, + `LongDescription` text DEFAULT NULL, + `InstanceType` tinyint(4) NOT NULL DEFAULT 0, + `MinLevel` tinyint(4) NOT NULL DEFAULT 0, + `MaxLevel` tinyint(4) NOT NULL DEFAULT 0, + `RatedPlayers` tinyint(4) NOT NULL DEFAULT 0, + `MinPlayers` tinyint(4) NOT NULL DEFAULT 0, + `MaxPlayers` tinyint(4) NOT NULL DEFAULT 0, + `GroupsAllowed` tinyint(4) NOT NULL DEFAULT 0, + `MaxGroupSize` tinyint(4) NOT NULL DEFAULT 0, + `HolidayWorldState` smallint(6) NOT NULL DEFAULT 0, + `Flags` tinyint(4) NOT NULL DEFAULT 0, + `IconFileDataID` int(11) NOT NULL DEFAULT 0, + `RequiredPlayerConditionID` smallint(6) NOT NULL DEFAULT 0, + `MapID1` smallint(6) NOT NULL DEFAULT 0, + `MapID2` smallint(6) NOT NULL DEFAULT 0, + `MapID3` smallint(6) NOT NULL DEFAULT 0, + `MapID4` smallint(6) NOT NULL DEFAULT 0, + `MapID5` smallint(6) NOT NULL DEFAULT 0, + `MapID6` smallint(6) NOT NULL DEFAULT 0, + `MapID7` smallint(6) NOT NULL DEFAULT 0, + `MapID8` smallint(6) NOT NULL DEFAULT 0, + `MapID9` smallint(6) NOT NULL DEFAULT 0, + `MapID10` smallint(6) NOT NULL DEFAULT 0, + `MapID11` smallint(6) NOT NULL DEFAULT 0, + `MapID12` smallint(6) NOT NULL DEFAULT 0, + `MapID13` smallint(6) NOT NULL DEFAULT 0, + `MapID14` smallint(6) NOT NULL DEFAULT 0, + `MapID15` smallint(6) NOT NULL DEFAULT 0, + `MapID16` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -683,13 +742,13 @@ DROP TABLE IF EXISTS `battlemaster_list_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `battlemaster_list_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `GameType_lang` text, - `ShortDescription_lang` text, - `LongDescription_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `GameType_lang` text DEFAULT NULL, + `ShortDescription_lang` text DEFAULT NULL, + `LongDescription_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -702,22 +761,23 @@ DROP TABLE IF EXISTS `broadcast_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `broadcast_text` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `MaleText` text, - `FemaleText` text, - `EmoteID1` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteID2` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteID3` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay1` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay2` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay3` smallint(5) unsigned NOT NULL DEFAULT '0', - `UnkEmoteID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Language` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT '0', - `SoundID1` int(10) unsigned NOT NULL DEFAULT '0', - `SoundID2` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Text` text DEFAULT NULL, + `Text1` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `LanguageID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ConditionID` int(11) NOT NULL DEFAULT 0, + `EmotesID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ChatBubbleDurationMs` int(10) unsigned NOT NULL DEFAULT 0, + `SoundEntriesID1` int(10) unsigned NOT NULL DEFAULT 0, + `SoundEntriesID2` int(10) unsigned NOT NULL DEFAULT 0, + `EmoteID1` smallint(5) unsigned NOT NULL DEFAULT 0, + `EmoteID2` smallint(5) unsigned NOT NULL DEFAULT 0, + `EmoteID3` smallint(5) unsigned NOT NULL DEFAULT 0, + `EmoteDelay1` smallint(5) unsigned NOT NULL DEFAULT 0, + `EmoteDelay2` smallint(5) unsigned NOT NULL DEFAULT 0, + `EmoteDelay3` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -730,16 +790,35 @@ DROP TABLE IF EXISTS `broadcast_text_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `broadcast_text_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `MaleText_lang` text, - `FemaleText_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Text_lang` text DEFAULT NULL, + `Text1_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- +-- Table structure for table `cfg_regions` +-- + +DROP TABLE IF EXISTS `cfg_regions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `cfg_regions` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Tag` text DEFAULT NULL, + `RegionID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Raidorigin` int(10) unsigned NOT NULL DEFAULT 0, + `RegionGroupMask` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ChallengeOrigin` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- -- Table structure for table `char_base_section` -- @@ -747,11 +826,11 @@ DROP TABLE IF EXISTS `char_base_section`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `char_base_section` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Variation` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ResolutionVariation` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Resolution` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `LayoutResType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VariationEnum` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ResolutionVariationEnum` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -764,17 +843,17 @@ DROP TABLE IF EXISTS `char_sections`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `char_sections` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `TextureFileDataID1` int(10) unsigned NOT NULL DEFAULT '0', - `TextureFileDataID2` int(10) unsigned NOT NULL DEFAULT '0', - `TextureFileDataID3` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `RaceID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SexID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BaseSection` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VariationIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ColorIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `RaceID` tinyint(4) NOT NULL DEFAULT 0, + `SexID` tinyint(4) NOT NULL DEFAULT 0, + `BaseSection` tinyint(4) NOT NULL DEFAULT 0, + `VariationIndex` tinyint(4) NOT NULL DEFAULT 0, + `ColorIndex` tinyint(4) NOT NULL DEFAULT 0, + `Flags` smallint(6) NOT NULL DEFAULT 0, + `MaterialResourcesID1` int(11) NOT NULL DEFAULT 0, + `MaterialResourcesID2` int(11) NOT NULL DEFAULT 0, + `MaterialResourcesID3` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -787,38 +866,38 @@ DROP TABLE IF EXISTS `char_start_outfit`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `char_start_outfit` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID1` int(11) NOT NULL DEFAULT '0', - `ItemID2` int(11) NOT NULL DEFAULT '0', - `ItemID3` int(11) NOT NULL DEFAULT '0', - `ItemID4` int(11) NOT NULL DEFAULT '0', - `ItemID5` int(11) NOT NULL DEFAULT '0', - `ItemID6` int(11) NOT NULL DEFAULT '0', - `ItemID7` int(11) NOT NULL DEFAULT '0', - `ItemID8` int(11) NOT NULL DEFAULT '0', - `ItemID9` int(11) NOT NULL DEFAULT '0', - `ItemID10` int(11) NOT NULL DEFAULT '0', - `ItemID11` int(11) NOT NULL DEFAULT '0', - `ItemID12` int(11) NOT NULL DEFAULT '0', - `ItemID13` int(11) NOT NULL DEFAULT '0', - `ItemID14` int(11) NOT NULL DEFAULT '0', - `ItemID15` int(11) NOT NULL DEFAULT '0', - `ItemID16` int(11) NOT NULL DEFAULT '0', - `ItemID17` int(11) NOT NULL DEFAULT '0', - `ItemID18` int(11) NOT NULL DEFAULT '0', - `ItemID19` int(11) NOT NULL DEFAULT '0', - `ItemID20` int(11) NOT NULL DEFAULT '0', - `ItemID21` int(11) NOT NULL DEFAULT '0', - `ItemID22` int(11) NOT NULL DEFAULT '0', - `ItemID23` int(11) NOT NULL DEFAULT '0', - `ItemID24` int(11) NOT NULL DEFAULT '0', - `PetDisplayID` int(10) unsigned NOT NULL DEFAULT '0', - `ClassID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `GenderID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `OutfitID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PetFamilyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RaceID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ClassID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SexID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `OutfitID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PetDisplayID` int(10) unsigned NOT NULL DEFAULT 0, + `PetFamilyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ItemID1` int(11) NOT NULL DEFAULT 0, + `ItemID2` int(11) NOT NULL DEFAULT 0, + `ItemID3` int(11) NOT NULL DEFAULT 0, + `ItemID4` int(11) NOT NULL DEFAULT 0, + `ItemID5` int(11) NOT NULL DEFAULT 0, + `ItemID6` int(11) NOT NULL DEFAULT 0, + `ItemID7` int(11) NOT NULL DEFAULT 0, + `ItemID8` int(11) NOT NULL DEFAULT 0, + `ItemID9` int(11) NOT NULL DEFAULT 0, + `ItemID10` int(11) NOT NULL DEFAULT 0, + `ItemID11` int(11) NOT NULL DEFAULT 0, + `ItemID12` int(11) NOT NULL DEFAULT 0, + `ItemID13` int(11) NOT NULL DEFAULT 0, + `ItemID14` int(11) NOT NULL DEFAULT 0, + `ItemID15` int(11) NOT NULL DEFAULT 0, + `ItemID16` int(11) NOT NULL DEFAULT 0, + `ItemID17` int(11) NOT NULL DEFAULT 0, + `ItemID18` int(11) NOT NULL DEFAULT 0, + `ItemID19` int(11) NOT NULL DEFAULT 0, + `ItemID20` int(11) NOT NULL DEFAULT 0, + `ItemID21` int(11) NOT NULL DEFAULT 0, + `ItemID22` int(11) NOT NULL DEFAULT 0, + `ItemID23` int(11) NOT NULL DEFAULT 0, + `ItemID24` int(11) NOT NULL DEFAULT 0, + `RaceID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -831,12 +910,12 @@ DROP TABLE IF EXISTS `char_titles`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `char_titles` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `NameMale` text, - `NameFemale` text, - `MaskID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `Name1` text DEFAULT NULL, + `MaskID` smallint(6) NOT NULL DEFAULT 0, + `Flags` tinyint(4) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -849,11 +928,11 @@ DROP TABLE IF EXISTS `char_titles_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `char_titles_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `NameMale_lang` text, - `NameFemale_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `Name1_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -866,16 +945,16 @@ DROP TABLE IF EXISTS `character_facial_hair_styles`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `character_facial_hair_styles` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Geoset1` int(10) unsigned NOT NULL DEFAULT '0', - `Geoset2` int(10) unsigned NOT NULL DEFAULT '0', - `Geoset3` int(10) unsigned NOT NULL DEFAULT '0', - `Geoset4` int(10) unsigned NOT NULL DEFAULT '0', - `Geoset5` int(10) unsigned NOT NULL DEFAULT '0', - `RaceID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SexID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VariationID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Geoset1` int(11) NOT NULL DEFAULT 0, + `Geoset2` int(11) NOT NULL DEFAULT 0, + `Geoset3` int(11) NOT NULL DEFAULT 0, + `Geoset4` int(11) NOT NULL DEFAULT 0, + `Geoset5` int(11) NOT NULL DEFAULT 0, + `RaceID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SexID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VariationID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -888,12 +967,12 @@ DROP TABLE IF EXISTS `chat_channels`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `chat_channels` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Shortcut` text, - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `FactionGroup` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `Shortcut` text DEFAULT NULL, + `Flags` int(11) NOT NULL DEFAULT 0, + `FactionGroup` tinyint(4) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -906,11 +985,11 @@ DROP TABLE IF EXISTS `chat_channels_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `chat_channels_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `Shortcut_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `Shortcut_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -923,27 +1002,28 @@ DROP TABLE IF EXISTS `chr_classes`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `chr_classes` ( - `PetNameToken` text, - `Name` text, - `NameFemale` text, - `NameMale` text, - `Filename` text, - `CreateScreenFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `SelectScreenFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `IconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `LowResScreenFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `StartingLevel` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `CinematicSequenceID` smallint(5) unsigned NOT NULL DEFAULT '0', - `DefaultSpec` smallint(5) unsigned NOT NULL DEFAULT '0', - `PowerType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SpellClassSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AttackPowerPerStrength` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AttackPowerPerAgility` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RangedAttackPowerPerAgility` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Unk1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name` text DEFAULT NULL, + `Filename` text DEFAULT NULL, + `NameMale` text DEFAULT NULL, + `NameFemale` text DEFAULT NULL, + `PetNameToken` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `CreateScreenFileDataID` int(10) unsigned NOT NULL DEFAULT 0, + `SelectScreenFileDataID` int(10) unsigned NOT NULL DEFAULT 0, + `IconFileDataID` int(10) unsigned NOT NULL DEFAULT 0, + `LowResScreenFileDataID` int(10) unsigned NOT NULL DEFAULT 0, + `StartingLevel` int(11) NOT NULL DEFAULT 0, + `SpellTextureBlobFileDataID` int(10) unsigned NOT NULL DEFAULT 0, + `Flags` smallint(5) unsigned NOT NULL DEFAULT 0, + `CinematicSequenceID` smallint(5) unsigned NOT NULL DEFAULT 0, + `DefaultSpec` smallint(5) unsigned NOT NULL DEFAULT 0, + `PrimaryStatPriority` tinyint(3) unsigned NOT NULL DEFAULT 0, + `DisplayPower` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RangedAttackPowerPerAgility` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AttackPowerPerAgility` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AttackPowerPerStrength` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SpellClassSet` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -956,12 +1036,12 @@ DROP TABLE IF EXISTS `chr_classes_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `chr_classes_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `NameFemale_lang` text, - `NameMale_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `NameMale_lang` text DEFAULT NULL, + `NameFemale_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -974,10 +1054,10 @@ DROP TABLE IF EXISTS `chr_classes_x_power_types`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `chr_classes_x_power_types` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `PowerType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ClassID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `PowerType` tinyint(4) NOT NULL DEFAULT 0, + `ClassID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -990,53 +1070,61 @@ DROP TABLE IF EXISTS `chr_races`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `chr_races` ( - `ClientPrefix` text, - `ClientFileString` text, - `Name` text, - `NameFemale` text, - `LowercaseName` text, - `LowercaseNameFemale` text, - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `MaleDisplayID` int(10) unsigned NOT NULL DEFAULT '0', - `FemaleDisplayID` int(10) unsigned NOT NULL DEFAULT '0', - `CreateScreenFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `SelectScreenFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `MaleCustomizeOffset1` float NOT NULL DEFAULT '0', - `MaleCustomizeOffset2` float NOT NULL DEFAULT '0', - `MaleCustomizeOffset3` float NOT NULL DEFAULT '0', - `FemaleCustomizeOffset1` float NOT NULL DEFAULT '0', - `FemaleCustomizeOffset2` float NOT NULL DEFAULT '0', - `FemaleCustomizeOffset3` float NOT NULL DEFAULT '0', - `LowResScreenFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `StartingLevel` int(10) unsigned NOT NULL DEFAULT '0', - `UIDisplayOrder` int(10) unsigned NOT NULL DEFAULT '0', - `FactionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ResSicknessSpellID` smallint(5) unsigned NOT NULL DEFAULT '0', - `SplashSoundID` smallint(5) unsigned NOT NULL DEFAULT '0', - `CinematicSequenceID` smallint(5) unsigned NOT NULL DEFAULT '0', - `BaseLanguage` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CreatureType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `TeamID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RaceRelated` tinyint(3) unsigned NOT NULL DEFAULT '0', - `UnalteredVisualRaceID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CharComponentTextureLayoutID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DefaultClassID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `NeutralRaceID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ItemAppearanceFrameRaceID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CharComponentTexLayoutHiResID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `HighResMaleDisplayID` int(10) unsigned NOT NULL DEFAULT '0', - `HighResFemaleDisplayID` int(10) unsigned NOT NULL DEFAULT '0', - `HeritageArmorAchievementID` int(10) unsigned NOT NULL DEFAULT '0', - `MaleCorpseBonesModelFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `FemaleCorpseBonesModelFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `AlteredFormTransitionSpellVisualID1` int(10) unsigned NOT NULL DEFAULT '0', - `AlteredFormTransitionSpellVisualID2` int(10) unsigned NOT NULL DEFAULT '0', - `AlteredFormTransitionSpellVisualID3` int(10) unsigned NOT NULL DEFAULT '0', - `AlteredFormTransitionSpellVisualKitID1` int(10) unsigned NOT NULL DEFAULT '0', - `AlteredFormTransitionSpellVisualKitID2` int(10) unsigned NOT NULL DEFAULT '0', - `AlteredFormTransitionSpellVisualKitID3` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ClientPrefix` text DEFAULT NULL, + `ClientFileString` text DEFAULT NULL, + `Name` text DEFAULT NULL, + `NameFemale` text DEFAULT NULL, + `NameLowercase` text DEFAULT NULL, + `NameFemaleLowercase` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `MaleDisplayId` int(10) unsigned NOT NULL DEFAULT 0, + `FemaleDisplayId` int(10) unsigned NOT NULL DEFAULT 0, + `HighResMaleDisplayId` int(10) unsigned NOT NULL DEFAULT 0, + `HighResFemaleDisplayId` int(10) unsigned NOT NULL DEFAULT 0, + `CreateScreenFileDataID` int(11) NOT NULL DEFAULT 0, + `SelectScreenFileDataID` int(11) NOT NULL DEFAULT 0, + `MaleCustomizeOffset1` float NOT NULL DEFAULT 0, + `MaleCustomizeOffset2` float NOT NULL DEFAULT 0, + `MaleCustomizeOffset3` float NOT NULL DEFAULT 0, + `FemaleCustomizeOffset1` float NOT NULL DEFAULT 0, + `FemaleCustomizeOffset2` float NOT NULL DEFAULT 0, + `FemaleCustomizeOffset3` float NOT NULL DEFAULT 0, + `LowResScreenFileDataID` int(11) NOT NULL DEFAULT 0, + `AlteredFormStartVisualKitID1` int(10) unsigned NOT NULL DEFAULT 0, + `AlteredFormStartVisualKitID2` int(10) unsigned NOT NULL DEFAULT 0, + `AlteredFormStartVisualKitID3` int(10) unsigned NOT NULL DEFAULT 0, + `AlteredFormFinishVisualKitID1` int(10) unsigned NOT NULL DEFAULT 0, + `AlteredFormFinishVisualKitID2` int(10) unsigned NOT NULL DEFAULT 0, + `AlteredFormFinishVisualKitID3` int(10) unsigned NOT NULL DEFAULT 0, + `HeritageArmorAchievementID` int(11) NOT NULL DEFAULT 0, + `StartingLevel` int(11) NOT NULL DEFAULT 0, + `UiDisplayOrder` int(11) NOT NULL DEFAULT 0, + `FemaleSkeletonFileDataID` int(11) NOT NULL DEFAULT 0, + `MaleSkeletonFileDataID` int(11) NOT NULL DEFAULT 0, + `HelmVisFallbackRaceID` int(11) NOT NULL DEFAULT 0, + `FactionID` smallint(6) NOT NULL DEFAULT 0, + `CinematicSequenceID` smallint(6) NOT NULL DEFAULT 0, + `ResSicknessSpellID` smallint(6) NOT NULL DEFAULT 0, + `SplashSoundID` smallint(6) NOT NULL DEFAULT 0, + `BaseLanguage` tinyint(4) NOT NULL DEFAULT 0, + `CreatureType` tinyint(4) NOT NULL DEFAULT 0, + `Alliance` tinyint(4) NOT NULL DEFAULT 0, + `RaceRelated` tinyint(4) NOT NULL DEFAULT 0, + `UnalteredVisualRaceID` tinyint(4) NOT NULL DEFAULT 0, + `CharComponentTextureLayoutID` tinyint(4) NOT NULL DEFAULT 0, + `CharComponentTexLayoutHiResID` tinyint(4) NOT NULL DEFAULT 0, + `DefaultClassID` tinyint(4) NOT NULL DEFAULT 0, + `NeutralRaceID` tinyint(4) NOT NULL DEFAULT 0, + `MaleModelFallbackRaceID` tinyint(4) NOT NULL DEFAULT 0, + `MaleModelFallbackSex` tinyint(4) NOT NULL DEFAULT 0, + `FemaleModelFallbackRaceID` tinyint(4) NOT NULL DEFAULT 0, + `FemaleModelFallbackSex` tinyint(4) NOT NULL DEFAULT 0, + `MaleTextureFallbackRaceID` tinyint(4) NOT NULL DEFAULT 0, + `MaleTextureFallbackSex` tinyint(4) NOT NULL DEFAULT 0, + `FemaleTextureFallbackRaceID` tinyint(4) NOT NULL DEFAULT 0, + `FemaleTextureFallbackSex` tinyint(4) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1049,13 +1137,13 @@ DROP TABLE IF EXISTS `chr_races_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `chr_races_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `NameFemale_lang` text, - `LowercaseName_lang` text, - `LowercaseNameFemale_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `NameFemale_lang` text DEFAULT NULL, + `NameLowercase_lang` text DEFAULT NULL, + `NameFemaleLowercase_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1068,21 +1156,21 @@ DROP TABLE IF EXISTS `chr_specialization`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `chr_specialization` ( - `Name` text, - `Name2` text, - `Description` text, - `MasterySpellID1` int(10) unsigned NOT NULL DEFAULT '0', - `MasterySpellID2` int(10) unsigned NOT NULL DEFAULT '0', - `ClassID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PetTalentType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Role` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PrimaryStatOrder` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `IconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `AnimReplacementSetID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name` text DEFAULT NULL, + `FemaleName` text DEFAULT NULL, + `Description` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ClassID` tinyint(4) NOT NULL DEFAULT 0, + `OrderIndex` tinyint(4) NOT NULL DEFAULT 0, + `PetTalentType` tinyint(4) NOT NULL DEFAULT 0, + `Role` tinyint(4) NOT NULL DEFAULT 0, + `Flags` int(10) unsigned NOT NULL DEFAULT 0, + `SpellIconFileID` int(11) NOT NULL DEFAULT 0, + `PrimaryStatPriority` tinyint(4) NOT NULL DEFAULT 0, + `AnimReplacements` int(11) NOT NULL DEFAULT 0, + `MasterySpellID1` int(11) NOT NULL DEFAULT 0, + `MasterySpellID2` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1095,12 +1183,12 @@ DROP TABLE IF EXISTS `chr_specialization_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `chr_specialization_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `Name2_lang` text, - `Description_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `FemaleName_lang` text DEFAULT NULL, + `Description_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1113,14 +1201,14 @@ DROP TABLE IF EXISTS `cinematic_camera`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `cinematic_camera` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SoundID` int(10) unsigned NOT NULL DEFAULT '0', - `OriginX` float NOT NULL DEFAULT '0', - `OriginY` float NOT NULL DEFAULT '0', - `OriginZ` float NOT NULL DEFAULT '0', - `OriginFacing` float NOT NULL DEFAULT '0', - `ModelFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `OriginX` float NOT NULL DEFAULT 0, + `OriginY` float NOT NULL DEFAULT 0, + `OriginZ` float NOT NULL DEFAULT 0, + `SoundID` int(10) unsigned NOT NULL DEFAULT 0, + `OriginFacing` float NOT NULL DEFAULT 0, + `FileDataID` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1133,17 +1221,51 @@ DROP TABLE IF EXISTS `cinematic_sequences`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `cinematic_sequences` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SoundID` int(10) unsigned NOT NULL DEFAULT '0', - `Camera1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Camera2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Camera3` smallint(5) unsigned NOT NULL DEFAULT '0', - `Camera4` smallint(5) unsigned NOT NULL DEFAULT '0', - `Camera5` smallint(5) unsigned NOT NULL DEFAULT '0', - `Camera6` smallint(5) unsigned NOT NULL DEFAULT '0', - `Camera7` smallint(5) unsigned NOT NULL DEFAULT '0', - `Camera8` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SoundID` int(10) unsigned NOT NULL DEFAULT 0, + `Camera1` smallint(5) unsigned NOT NULL DEFAULT 0, + `Camera2` smallint(5) unsigned NOT NULL DEFAULT 0, + `Camera3` smallint(5) unsigned NOT NULL DEFAULT 0, + `Camera4` smallint(5) unsigned NOT NULL DEFAULT 0, + `Camera5` smallint(5) unsigned NOT NULL DEFAULT 0, + `Camera6` smallint(5) unsigned NOT NULL DEFAULT 0, + `Camera7` smallint(5) unsigned NOT NULL DEFAULT 0, + `Camera8` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `content_tuning` +-- + +DROP TABLE IF EXISTS `content_tuning`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `content_tuning` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `MinLevel` int(11) NOT NULL DEFAULT 0, + `MaxLevel` int(11) NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `ExpansionID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `content_tuning_x_expected` +-- + +DROP TABLE IF EXISTS `content_tuning_x_expected`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `content_tuning_x_expected` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ExpectedStatModID` int(11) NOT NULL DEFAULT 0, + `ContentTuningID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1156,16 +1278,16 @@ DROP TABLE IF EXISTS `conversation_line`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `conversation_line` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `BroadcastTextID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellVisualKitID` int(10) unsigned NOT NULL DEFAULT '0', - `Duration` int(10) unsigned NOT NULL DEFAULT '0', - `NextLineID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Unk1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Yell` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Unk2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Unk3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `BroadcastTextID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellVisualKitID` int(10) unsigned NOT NULL DEFAULT 0, + `AdditionalDuration` int(11) NOT NULL DEFAULT 0, + `NextConversationLineID` smallint(5) unsigned NOT NULL DEFAULT 0, + `AnimKitID` smallint(5) unsigned NOT NULL DEFAULT 0, + `SpeechType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `StartAnimation` tinyint(3) unsigned NOT NULL DEFAULT 0, + `EndAnimation` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1178,28 +1300,28 @@ DROP TABLE IF EXISTS `creature`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ItemID1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ItemID2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ItemID3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Mount` mediumint(8) unsigned NOT NULL DEFAULT '0', - `DisplayID1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `DisplayID2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `DisplayID3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `DisplayID4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `DisplayIDProbability1` float NOT NULL DEFAULT '0', - `DisplayIDProbability2` float NOT NULL DEFAULT '0', - `DisplayIDProbability3` float NOT NULL DEFAULT '0', - `DisplayIDProbability4` float NOT NULL DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `ItemID1` mediumint(8) unsigned NOT NULL DEFAULT 0, + `ItemID2` mediumint(8) unsigned NOT NULL DEFAULT 0, + `ItemID3` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Mount` mediumint(8) unsigned NOT NULL DEFAULT 0, + `DisplayID1` mediumint(8) unsigned NOT NULL DEFAULT 0, + `DisplayID2` mediumint(8) unsigned NOT NULL DEFAULT 0, + `DisplayID3` mediumint(8) unsigned NOT NULL DEFAULT 0, + `DisplayID4` mediumint(8) unsigned NOT NULL DEFAULT 0, + `DisplayIDProbability1` float NOT NULL DEFAULT 0, + `DisplayIDProbability2` float NOT NULL DEFAULT 0, + `DisplayIDProbability3` float NOT NULL DEFAULT 0, + `DisplayIDProbability4` float NOT NULL DEFAULT 0, `Name` text NOT NULL, `FemaleName` text NOT NULL, `SubName` text NOT NULL, `FemaleSubName` text NOT NULL, - `Type` mediumint(3) unsigned NOT NULL DEFAULT '0', - `Family` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Classification` tinyint(3) unsigned NOT NULL DEFAULT '0', - `InhabitType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `Type` mediumint(3) unsigned NOT NULL DEFAULT 0, + `Family` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Classification` tinyint(3) unsigned NOT NULL DEFAULT 0, + `InhabitType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1212,20 +1334,20 @@ DROP TABLE IF EXISTS `creature_difficulty`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_difficulty` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `CreatureID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Flags1` int(10) unsigned NOT NULL DEFAULT '0', - `Flags2` int(10) unsigned NOT NULL DEFAULT '0', - `Flags3` int(10) unsigned NOT NULL DEFAULT '0', - `Flags4` int(10) unsigned NOT NULL DEFAULT '0', - `Flags5` int(10) unsigned NOT NULL DEFAULT '0', - `Flags6` int(10) unsigned NOT NULL DEFAULT '0', - `Flags7` int(10) unsigned NOT NULL DEFAULT '0', - `FactionTemplateID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Expansion` tinyint(4) NOT NULL DEFAULT '0', - `MinLevel` tinyint(4) NOT NULL DEFAULT '0', - `MaxLevel` tinyint(4) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `CreatureID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Flags1` int(10) unsigned NOT NULL DEFAULT 0, + `Flags2` int(10) unsigned NOT NULL DEFAULT 0, + `Flags3` int(10) unsigned NOT NULL DEFAULT 0, + `Flags4` int(10) unsigned NOT NULL DEFAULT 0, + `Flags5` int(10) unsigned NOT NULL DEFAULT 0, + `Flags6` int(10) unsigned NOT NULL DEFAULT 0, + `Flags7` int(10) unsigned NOT NULL DEFAULT 0, + `FactionTemplateID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Expansion` tinyint(4) NOT NULL DEFAULT 0, + `MinLevel` tinyint(4) NOT NULL DEFAULT 0, + `MaxLevel` tinyint(4) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1238,32 +1360,34 @@ DROP TABLE IF EXISTS `creature_display_info`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_display_info` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `CreatureModelScale` float NOT NULL DEFAULT '0', - `ModelID` smallint(5) unsigned NOT NULL DEFAULT '0', - `NPCSoundID` smallint(5) unsigned NOT NULL DEFAULT '0', - `SizeClass` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Gender` tinyint(4) NOT NULL DEFAULT '0', - `ExtendedDisplayInfoID` int(10) unsigned NOT NULL DEFAULT '0', - `PortraitTextureFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `CreatureModelAlpha` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SoundID` smallint(5) unsigned NOT NULL DEFAULT '0', - `PlayerModelScale` float NOT NULL DEFAULT '0', - `PortraitCreatureDisplayInfoID` int(10) unsigned NOT NULL DEFAULT '0', - `BloodID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ParticleColorID` smallint(5) unsigned NOT NULL DEFAULT '0', - `CreatureGeosetData` int(10) unsigned NOT NULL DEFAULT '0', - `ObjectEffectPackageID` smallint(5) unsigned NOT NULL DEFAULT '0', - `AnimReplacementSetID` smallint(5) unsigned NOT NULL DEFAULT '0', - `UnarmedWeaponSubclass` tinyint(4) NOT NULL DEFAULT '0', - `StateSpellVisualKitID` int(10) unsigned NOT NULL DEFAULT '0', - `InstanceOtherPlayerPetScale` float NOT NULL DEFAULT '0', - `MountSpellVisualKitID` int(10) unsigned NOT NULL DEFAULT '0', - `TextureVariation1` int(10) unsigned NOT NULL DEFAULT '0', - `TextureVariation2` int(10) unsigned NOT NULL DEFAULT '0', - `TextureVariation3` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ModelID` smallint(5) unsigned NOT NULL DEFAULT 0, + `SoundID` smallint(5) unsigned NOT NULL DEFAULT 0, + `SizeClass` tinyint(4) NOT NULL DEFAULT 0, + `CreatureModelScale` float NOT NULL DEFAULT 0, + `CreatureModelAlpha` tinyint(3) unsigned NOT NULL DEFAULT 0, + `BloodID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ExtendedDisplayInfoID` int(11) NOT NULL DEFAULT 0, + `NPCSoundID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ParticleColorID` smallint(5) unsigned NOT NULL DEFAULT 0, + `PortraitCreatureDisplayInfoID` int(11) NOT NULL DEFAULT 0, + `PortraitTextureFileDataID` int(11) NOT NULL DEFAULT 0, + `ObjectEffectPackageID` smallint(5) unsigned NOT NULL DEFAULT 0, + `AnimReplacementSetID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `StateSpellVisualKitID` int(11) NOT NULL DEFAULT 0, + `PlayerOverrideScale` float NOT NULL DEFAULT 0, + `PetInstanceScale` float NOT NULL DEFAULT 0, + `UnarmedWeaponType` tinyint(4) NOT NULL DEFAULT 0, + `MountPoofSpellVisualKitID` int(11) NOT NULL DEFAULT 0, + `DissolveEffectID` int(11) NOT NULL DEFAULT 0, + `Gender` tinyint(4) NOT NULL DEFAULT 0, + `DissolveOutEffectID` int(11) NOT NULL DEFAULT 0, + `CreatureModelMinLod` tinyint(4) NOT NULL DEFAULT 0, + `TextureVariationFileDataID1` int(11) NOT NULL DEFAULT 0, + `TextureVariationFileDataID2` int(11) NOT NULL DEFAULT 0, + `TextureVariationFileDataID3` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1276,22 +1400,22 @@ DROP TABLE IF EXISTS `creature_display_info_extra`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_display_info_extra` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `FileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `HDFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `DisplayRaceID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DisplaySexID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DisplayClassID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SkinID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `FaceID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `HairStyleID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `HairColorID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `FacialHairID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CustomDisplayOption1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CustomDisplayOption2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CustomDisplayOption3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DisplayRaceID` tinyint(4) NOT NULL DEFAULT 0, + `DisplaySexID` tinyint(4) NOT NULL DEFAULT 0, + `DisplayClassID` tinyint(4) NOT NULL DEFAULT 0, + `SkinID` tinyint(4) NOT NULL DEFAULT 0, + `FaceID` tinyint(4) NOT NULL DEFAULT 0, + `HairStyleID` tinyint(4) NOT NULL DEFAULT 0, + `HairColorID` tinyint(4) NOT NULL DEFAULT 0, + `FacialHairID` tinyint(4) NOT NULL DEFAULT 0, + `Flags` tinyint(4) NOT NULL DEFAULT 0, + `BakeMaterialResourcesID` int(11) NOT NULL DEFAULT 0, + `HDBakeMaterialResourcesID` int(11) NOT NULL DEFAULT 0, + `CustomDisplayOption1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CustomDisplayOption2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CustomDisplayOption3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1304,18 +1428,18 @@ DROP TABLE IF EXISTS `creature_family`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_family` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `MinScale` float NOT NULL DEFAULT '0', - `MaxScale` float NOT NULL DEFAULT '0', - `IconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `SkillLine1` smallint(5) unsigned NOT NULL DEFAULT '0', - `SkillLine2` smallint(5) unsigned NOT NULL DEFAULT '0', - `PetFoodMask` smallint(5) unsigned NOT NULL DEFAULT '0', - `MinScaleLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxScaleLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PetTalentType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `MinScale` float NOT NULL DEFAULT 0, + `MinScaleLevel` tinyint(4) NOT NULL DEFAULT 0, + `MaxScale` float NOT NULL DEFAULT 0, + `MaxScaleLevel` tinyint(4) NOT NULL DEFAULT 0, + `PetFoodMask` smallint(6) NOT NULL DEFAULT 0, + `PetTalentType` tinyint(4) NOT NULL DEFAULT 0, + `IconFileID` int(11) NOT NULL DEFAULT 0, + `SkillLine1` smallint(6) NOT NULL DEFAULT 0, + `SkillLine2` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1328,10 +1452,10 @@ DROP TABLE IF EXISTS `creature_family_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_family_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1344,41 +1468,45 @@ DROP TABLE IF EXISTS `creature_model_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_model_data` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ModelScale` float NOT NULL DEFAULT '0', - `FootprintTextureLength` float NOT NULL DEFAULT '0', - `FootprintTextureWidth` float NOT NULL DEFAULT '0', - `FootprintParticleScale` float NOT NULL DEFAULT '0', - `CollisionWidth` float NOT NULL DEFAULT '0', - `CollisionHeight` float NOT NULL DEFAULT '0', - `MountHeight` float NOT NULL DEFAULT '0', - `GeoBoxMin1` float NOT NULL DEFAULT '0', - `GeoBoxMin2` float NOT NULL DEFAULT '0', - `GeoBoxMin3` float NOT NULL DEFAULT '0', - `GeoBoxMax1` float NOT NULL DEFAULT '0', - `GeoBoxMax2` float NOT NULL DEFAULT '0', - `GeoBoxMax3` float NOT NULL DEFAULT '0', - `WorldEffectScale` float NOT NULL DEFAULT '0', - `AttachedEffectScale` float NOT NULL DEFAULT '0', - `MissileCollisionRadius` float NOT NULL DEFAULT '0', - `MissileCollisionPush` float NOT NULL DEFAULT '0', - `MissileCollisionRaise` float NOT NULL DEFAULT '0', - `OverrideLootEffectScale` float NOT NULL DEFAULT '0', - `OverrideNameScale` float NOT NULL DEFAULT '0', - `OverrideSelectionRadius` float NOT NULL DEFAULT '0', - `TamedPetBaseScale` float NOT NULL DEFAULT '0', - `HoverHeight` float NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `FileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `SizeClass` int(10) unsigned NOT NULL DEFAULT '0', - `BloodID` int(10) unsigned NOT NULL DEFAULT '0', - `FootprintTextureID` int(10) unsigned NOT NULL DEFAULT '0', - `FoleyMaterialID` int(10) unsigned NOT NULL DEFAULT '0', - `FootstepEffectID` int(10) unsigned NOT NULL DEFAULT '0', - `DeathThudEffectID` int(10) unsigned NOT NULL DEFAULT '0', - `SoundID` int(10) unsigned NOT NULL DEFAULT '0', - `CreatureGeosetDataID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `GeoBox1` float NOT NULL DEFAULT 0, + `GeoBox2` float NOT NULL DEFAULT 0, + `GeoBox3` float NOT NULL DEFAULT 0, + `GeoBox4` float NOT NULL DEFAULT 0, + `GeoBox5` float NOT NULL DEFAULT 0, + `GeoBox6` float NOT NULL DEFAULT 0, + `Flags` int(10) unsigned NOT NULL DEFAULT 0, + `FileDataID` int(10) unsigned NOT NULL DEFAULT 0, + `BloodID` int(10) unsigned NOT NULL DEFAULT 0, + `FootprintTextureID` int(10) unsigned NOT NULL DEFAULT 0, + `FootprintTextureLength` float NOT NULL DEFAULT 0, + `FootprintTextureWidth` float NOT NULL DEFAULT 0, + `FootprintParticleScale` float NOT NULL DEFAULT 0, + `FoleyMaterialID` int(10) unsigned NOT NULL DEFAULT 0, + `FootstepCameraEffectID` int(10) unsigned NOT NULL DEFAULT 0, + `DeathThudCameraEffectID` int(10) unsigned NOT NULL DEFAULT 0, + `SoundID` int(10) unsigned NOT NULL DEFAULT 0, + `SizeClass` int(10) unsigned NOT NULL DEFAULT 0, + `CollisionWidth` float NOT NULL DEFAULT 0, + `CollisionHeight` float NOT NULL DEFAULT 0, + `WorldEffectScale` float NOT NULL DEFAULT 0, + `CreatureGeosetDataID` int(10) unsigned NOT NULL DEFAULT 0, + `HoverHeight` float NOT NULL DEFAULT 0, + `AttachedEffectScale` float NOT NULL DEFAULT 0, + `ModelScale` float NOT NULL DEFAULT 0, + `MissileCollisionRadius` float NOT NULL DEFAULT 0, + `MissileCollisionPush` float NOT NULL DEFAULT 0, + `MissileCollisionRaise` float NOT NULL DEFAULT 0, + `MountHeight` float NOT NULL DEFAULT 0, + `OverrideLootEffectScale` float NOT NULL DEFAULT 0, + `OverrideNameScale` float NOT NULL DEFAULT 0, + `OverrideSelectionRadius` float NOT NULL DEFAULT 0, + `TamedPetBaseScale` float NOT NULL DEFAULT 0, + `Unknown820_1` tinyint(4) NOT NULL DEFAULT 0, + `Unknown820_2` float NOT NULL DEFAULT 0, + `Unknown820_31` float NOT NULL DEFAULT 0, + `Unknown820_32` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1391,10 +1519,10 @@ DROP TABLE IF EXISTS `creature_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_type` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1407,10 +1535,10 @@ DROP TABLE IF EXISTS `creature_type_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_type_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1423,19 +1551,19 @@ DROP TABLE IF EXISTS `criteria`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `criteria` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Asset` int(10) unsigned NOT NULL DEFAULT '0', - `StartAsset` int(10) unsigned NOT NULL DEFAULT '0', - `FailAsset` int(10) unsigned NOT NULL DEFAULT '0', - `ModifierTreeId` int(10) unsigned NOT NULL DEFAULT '0', - `StartTimer` smallint(5) unsigned NOT NULL DEFAULT '0', - `EligibilityWorldStateID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StartEvent` tinyint(3) unsigned NOT NULL DEFAULT '0', - `FailEvent` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `EligibilityWorldStateValue` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Type` smallint(6) NOT NULL DEFAULT 0, + `Asset` int(10) NOT NULL DEFAULT 0, + `ModifierTreeId` int(10) unsigned NOT NULL DEFAULT 0, + `StartEvent` tinyint(3) unsigned NOT NULL DEFAULT 0, + `StartAsset` int(11) NOT NULL DEFAULT 0, + `StartTimer` smallint(5) unsigned NOT NULL DEFAULT 0, + `FailEvent` tinyint(3) unsigned NOT NULL DEFAULT 0, + `FailAsset` int(11) NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `EligibilityWorldStateID` smallint(6) NOT NULL DEFAULT 0, + `EligibilityWorldStateValue` tinyint(4) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1448,15 +1576,15 @@ DROP TABLE IF EXISTS `criteria_tree`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `criteria_tree` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Description` text, - `Amount` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `Operator` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CriteriaID` int(10) unsigned NOT NULL DEFAULT '0', - `Parent` int(10) unsigned NOT NULL DEFAULT '0', - `OrderIndex` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Description` text DEFAULT NULL, + `Parent` int(10) unsigned NOT NULL DEFAULT 0, + `Amount` int(10) unsigned NOT NULL DEFAULT 0, + `Operator` tinyint(4) NOT NULL DEFAULT 0, + `CriteriaID` int(10) unsigned NOT NULL DEFAULT 0, + `OrderIndex` int(11) NOT NULL DEFAULT 0, + `Flags` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1469,10 +1597,10 @@ DROP TABLE IF EXISTS `criteria_tree_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `criteria_tree_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Description_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Description_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1485,18 +1613,20 @@ DROP TABLE IF EXISTS `currency_types`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `currency_types` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Description` text, - `MaxQty` int(10) unsigned NOT NULL DEFAULT '0', - `MaxEarnablePerWeek` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `CategoryID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SpellCategory` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Quality` tinyint(3) unsigned NOT NULL DEFAULT '0', - `InventoryIconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellWeight` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `Description` text DEFAULT NULL, + `CategoryID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `InventoryIconFileID` int(11) NOT NULL DEFAULT 0, + `SpellWeight` int(10) unsigned NOT NULL DEFAULT 0, + `SpellCategory` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MaxQty` int(10) unsigned NOT NULL DEFAULT 0, + `MaxEarnablePerWeek` int(10) unsigned NOT NULL DEFAULT 0, + `Flags` int(10) unsigned NOT NULL DEFAULT 0, + `Quality` tinyint(4) NOT NULL DEFAULT 0, + `FactionID` int(11) NOT NULL DEFAULT 0, + `ItemGroupSoundsID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1509,11 +1639,11 @@ DROP TABLE IF EXISTS `currency_types_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `currency_types_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `Description_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `Description_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1526,10 +1656,10 @@ DROP TABLE IF EXISTS `curve`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `curve` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Unused` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Type` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1542,12 +1672,12 @@ DROP TABLE IF EXISTS `curve_point`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `curve_point` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `X` float NOT NULL DEFAULT '0', - `Y` float NOT NULL DEFAULT '0', - `CurveID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Index` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `PosX` float NOT NULL DEFAULT 0, + `PosY` float NOT NULL DEFAULT 0, + `CurveID` smallint(5) unsigned NOT NULL DEFAULT 0, + `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1560,30 +1690,30 @@ DROP TABLE IF EXISTS `destructible_model_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `destructible_model_data` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `StateDamagedDisplayID` smallint(5) unsigned NOT NULL DEFAULT '0', - `StateDestroyedDisplayID` smallint(5) unsigned NOT NULL DEFAULT '0', - `StateRebuildingDisplayID` smallint(5) unsigned NOT NULL DEFAULT '0', - `StateSmokeDisplayID` smallint(5) unsigned NOT NULL DEFAULT '0', - `HealEffectSpeed` smallint(5) unsigned NOT NULL DEFAULT '0', - `StateDamagedImpactEffectDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StateDamagedAmbientDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StateDamagedNameSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StateDestroyedDestructionDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StateDestroyedImpactEffectDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StateDestroyedAmbientDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StateDestroyedNameSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StateRebuildingDestructionDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StateRebuildingImpactEffectDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StateRebuildingAmbientDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StateRebuildingNameSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StateSmokeInitDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StateSmokeAmbientDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StateSmokeNameSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `EjectDirection` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DoNotHighlight` tinyint(3) unsigned NOT NULL DEFAULT '0', - `HealEffect` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `State0ImpactEffectDoodadSet` tinyint(4) NOT NULL DEFAULT 0, + `State0AmbientDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT 0, + `State1Wmo` smallint(5) unsigned NOT NULL DEFAULT 0, + `State1DestructionDoodadSet` tinyint(4) NOT NULL DEFAULT 0, + `State1ImpactEffectDoodadSet` tinyint(4) NOT NULL DEFAULT 0, + `State1AmbientDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT 0, + `State2Wmo` smallint(5) unsigned NOT NULL DEFAULT 0, + `State2DestructionDoodadSet` tinyint(4) NOT NULL DEFAULT 0, + `State2ImpactEffectDoodadSet` tinyint(4) NOT NULL DEFAULT 0, + `State2AmbientDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT 0, + `State3Wmo` smallint(5) unsigned NOT NULL DEFAULT 0, + `State3InitDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT 0, + `State3AmbientDoodadSet` tinyint(3) unsigned NOT NULL DEFAULT 0, + `EjectDirection` tinyint(3) unsigned NOT NULL DEFAULT 0, + `DoNotHighlight` tinyint(3) unsigned NOT NULL DEFAULT 0, + `State0Wmo` smallint(5) unsigned NOT NULL DEFAULT 0, + `HealEffect` tinyint(3) unsigned NOT NULL DEFAULT 0, + `HealEffectSpeed` smallint(5) unsigned NOT NULL DEFAULT 0, + `State0NameSet` tinyint(4) NOT NULL DEFAULT 0, + `State1NameSet` tinyint(4) NOT NULL DEFAULT 0, + `State2NameSet` tinyint(4) NOT NULL DEFAULT 0, + `State3NameSet` tinyint(4) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1596,21 +1726,21 @@ DROP TABLE IF EXISTS `difficulty`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `difficulty` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `GroupSizeHealthCurveID` smallint(5) unsigned NOT NULL DEFAULT '0', - `GroupSizeDmgCurveID` smallint(5) unsigned NOT NULL DEFAULT '0', - `GroupSizeSpellPointsCurveID` smallint(5) unsigned NOT NULL DEFAULT '0', - `FallbackDifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `InstanceType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinPlayers` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxPlayers` tinyint(3) unsigned NOT NULL DEFAULT '0', - `OldEnumValue` tinyint(4) NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ToggleDifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ItemBonusTreeModID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `InstanceType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `OldEnumValue` tinyint(4) NOT NULL DEFAULT 0, + `FallbackDifficultyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinPlayers` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MaxPlayers` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Flags` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemContext` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ToggleDifficultyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `GroupSizeHealthCurveID` smallint(5) unsigned NOT NULL DEFAULT 0, + `GroupSizeDmgCurveID` smallint(5) unsigned NOT NULL DEFAULT 0, + `GroupSizeSpellPointsCurveID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1623,10 +1753,10 @@ DROP TABLE IF EXISTS `difficulty_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `difficulty_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1639,16 +1769,18 @@ DROP TABLE IF EXISTS `dungeon_encounter`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `dungeon_encounter` ( - `Name` text, - `CreatureDisplayID` int(10) unsigned NOT NULL DEFAULT '0', - `MapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Bit` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `OrderIndex` int(11) NOT NULL DEFAULT '0', - `TextureFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `MapID` smallint(6) NOT NULL DEFAULT 0, + `DifficultyID` tinyint(4) NOT NULL DEFAULT 0, + `OrderIndex` int(11) NOT NULL DEFAULT 0, + `CompleteWorldStateID` int(11) NOT NULL DEFAULT 0, + `Bit` tinyint(4) NOT NULL DEFAULT 0, + `CreatureDisplayID` int(11) NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SpellIconFileID` int(11) NOT NULL DEFAULT 0, + `Faction` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1661,10 +1793,10 @@ DROP TABLE IF EXISTS `dungeon_encounter_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `dungeon_encounter_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1677,37 +1809,37 @@ DROP TABLE IF EXISTS `durability_costs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `durability_costs` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost1` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost2` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost3` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost4` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost5` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost6` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost7` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost8` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost9` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost10` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost11` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost12` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost13` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost14` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost15` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost16` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost17` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost18` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost19` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost20` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeaponSubClassCost21` smallint(5) unsigned NOT NULL DEFAULT '0', - `ArmorSubClassCost1` smallint(5) unsigned NOT NULL DEFAULT '0', - `ArmorSubClassCost2` smallint(5) unsigned NOT NULL DEFAULT '0', - `ArmorSubClassCost3` smallint(5) unsigned NOT NULL DEFAULT '0', - `ArmorSubClassCost4` smallint(5) unsigned NOT NULL DEFAULT '0', - `ArmorSubClassCost5` smallint(5) unsigned NOT NULL DEFAULT '0', - `ArmorSubClassCost6` smallint(5) unsigned NOT NULL DEFAULT '0', - `ArmorSubClassCost7` smallint(5) unsigned NOT NULL DEFAULT '0', - `ArmorSubClassCost8` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost1` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost2` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost3` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost4` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost5` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost6` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost7` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost8` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost9` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost10` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost11` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost12` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost13` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost14` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost15` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost16` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost17` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost18` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost19` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost20` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeaponSubClassCost21` smallint(5) unsigned NOT NULL DEFAULT 0, + `ArmorSubClassCost1` smallint(5) unsigned NOT NULL DEFAULT 0, + `ArmorSubClassCost2` smallint(5) unsigned NOT NULL DEFAULT 0, + `ArmorSubClassCost3` smallint(5) unsigned NOT NULL DEFAULT 0, + `ArmorSubClassCost4` smallint(5) unsigned NOT NULL DEFAULT 0, + `ArmorSubClassCost5` smallint(5) unsigned NOT NULL DEFAULT 0, + `ArmorSubClassCost6` smallint(5) unsigned NOT NULL DEFAULT 0, + `ArmorSubClassCost7` smallint(5) unsigned NOT NULL DEFAULT 0, + `ArmorSubClassCost8` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1720,9 +1852,9 @@ DROP TABLE IF EXISTS `durability_quality`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `durability_quality` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `QualityMod` float NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Data` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1735,17 +1867,17 @@ DROP TABLE IF EXISTS `emotes`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `emotes` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `RaceMask` bigint(20) NOT NULL DEFAULT '0', - `EmoteSlashCommand` text, - `SpellVisualKitID` int(10) unsigned NOT NULL DEFAULT '0', - `EmoteFlags` int(10) unsigned NOT NULL DEFAULT '0', - `AnimID` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteSpecProc` tinyint(3) unsigned NOT NULL DEFAULT '0', - `EmoteSpecProcParam` int(10) unsigned NOT NULL DEFAULT '0', - `EmoteSoundID` int(10) unsigned NOT NULL DEFAULT '0', - `ClassMask` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `RaceMask` bigint(20) NOT NULL DEFAULT 0, + `EmoteSlashCommand` text DEFAULT NULL, + `AnimID` int(11) NOT NULL DEFAULT 0, + `EmoteFlags` int(10) unsigned NOT NULL DEFAULT 0, + `EmoteSpecProc` tinyint(3) unsigned NOT NULL DEFAULT 0, + `EmoteSpecProcParam` int(10) unsigned NOT NULL DEFAULT 0, + `EventSoundID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellVisualKitID` int(10) unsigned NOT NULL DEFAULT 0, + `ClassMask` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1758,45 +1890,77 @@ DROP TABLE IF EXISTS `emotes_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `emotes_text` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `EmoteID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `EmoteID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `emotes_text_locale` +-- Table structure for table `emotes_text_sound` -- -DROP TABLE IF EXISTS `emotes_text_locale`; +DROP TABLE IF EXISTS `emotes_text_sound`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `emotes_text_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`,`locale`) +CREATE TABLE `emotes_text_sound` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `RaceID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ClassID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SexID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SoundID` int(10) unsigned NOT NULL DEFAULT 0, + `EmotesTextID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `emotes_text_sound` +-- Table structure for table `expected_stat` -- -DROP TABLE IF EXISTS `emotes_text_sound`; +DROP TABLE IF EXISTS `expected_stat`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `emotes_text_sound` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `RaceId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SexId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ClassId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SoundId` int(10) unsigned NOT NULL DEFAULT '0', - `EmotesTextId` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', +CREATE TABLE `expected_stat` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ExpansionID` int(11) NOT NULL DEFAULT 0, + `CreatureHealth` float NOT NULL DEFAULT 0, + `PlayerHealth` float NOT NULL DEFAULT 0, + `CreatureAutoAttackDps` float NOT NULL DEFAULT 0, + `CreatureArmor` float NOT NULL DEFAULT 0, + `PlayerMana` float NOT NULL DEFAULT 0, + `PlayerPrimaryStat` float NOT NULL DEFAULT 0, + `PlayerSecondaryStat` float NOT NULL DEFAULT 0, + `ArmorConstant` float NOT NULL DEFAULT 0, + `CreatureSpellDamage` float NOT NULL DEFAULT 0, + `Lvl` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `expected_stat_mod` +-- + +DROP TABLE IF EXISTS `expected_stat_mod`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `expected_stat_mod` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `CreatureHealthMod` float NOT NULL DEFAULT 0, + `PlayerHealthMod` float NOT NULL DEFAULT 0, + `CreatureAutoAttackDPSMod` float NOT NULL DEFAULT 0, + `CreatureArmorMod` float NOT NULL DEFAULT 0, + `PlayerManaMod` float NOT NULL DEFAULT 0, + `PlayerPrimaryStatMod` float NOT NULL DEFAULT 0, + `PlayerSecondaryStatMod` float NOT NULL DEFAULT 0, + `ArmorConstantMod` float NOT NULL DEFAULT 0, + `CreatureSpellDamageMod` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1809,40 +1973,40 @@ DROP TABLE IF EXISTS `faction`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `faction` ( - `ReputationRaceMask1` bigint(20) unsigned NOT NULL DEFAULT '0', - `ReputationRaceMask2` bigint(20) unsigned NOT NULL DEFAULT '0', - `ReputationRaceMask3` bigint(20) unsigned NOT NULL DEFAULT '0', - `ReputationRaceMask4` bigint(20) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Description` text, - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ReputationBase1` int(11) NOT NULL DEFAULT '0', - `ReputationBase2` int(11) NOT NULL DEFAULT '0', - `ReputationBase3` int(11) NOT NULL DEFAULT '0', - `ReputationBase4` int(11) NOT NULL DEFAULT '0', - `ParentFactionModIn` float NOT NULL DEFAULT '0', - `ParentFactionModOut` float NOT NULL DEFAULT '0', - `ReputationMax1` int(10) unsigned NOT NULL DEFAULT '0', - `ReputationMax2` int(10) unsigned NOT NULL DEFAULT '0', - `ReputationMax3` int(10) unsigned NOT NULL DEFAULT '0', - `ReputationMax4` int(10) unsigned NOT NULL DEFAULT '0', - `ReputationIndex` smallint(6) NOT NULL DEFAULT '0', - `ReputationClassMask1` smallint(5) unsigned NOT NULL DEFAULT '0', - `ReputationClassMask2` smallint(5) unsigned NOT NULL DEFAULT '0', - `ReputationClassMask3` smallint(5) unsigned NOT NULL DEFAULT '0', - `ReputationClassMask4` smallint(5) unsigned NOT NULL DEFAULT '0', - `ReputationFlags1` smallint(5) unsigned NOT NULL DEFAULT '0', - `ReputationFlags2` smallint(5) unsigned NOT NULL DEFAULT '0', - `ReputationFlags3` smallint(5) unsigned NOT NULL DEFAULT '0', - `ReputationFlags4` smallint(5) unsigned NOT NULL DEFAULT '0', - `ParentFactionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ParagonFactionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ParentFactionCapIn` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ParentFactionCapOut` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Expansion` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `FriendshipRepID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ReputationRaceMask1` bigint(20) NOT NULL DEFAULT 0, + `ReputationRaceMask2` bigint(20) NOT NULL DEFAULT 0, + `ReputationRaceMask3` bigint(20) NOT NULL DEFAULT 0, + `ReputationRaceMask4` bigint(20) NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `Description` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ReputationIndex` smallint(6) NOT NULL DEFAULT 0, + `ParentFactionID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Expansion` tinyint(3) unsigned NOT NULL DEFAULT 0, + `FriendshipRepID` int(10) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ParagonFactionID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ReputationClassMask1` smallint(6) NOT NULL DEFAULT 0, + `ReputationClassMask2` smallint(6) NOT NULL DEFAULT 0, + `ReputationClassMask3` smallint(6) NOT NULL DEFAULT 0, + `ReputationClassMask4` smallint(6) NOT NULL DEFAULT 0, + `ReputationFlags1` smallint(5) unsigned NOT NULL DEFAULT 0, + `ReputationFlags2` smallint(5) unsigned NOT NULL DEFAULT 0, + `ReputationFlags3` smallint(5) unsigned NOT NULL DEFAULT 0, + `ReputationFlags4` smallint(5) unsigned NOT NULL DEFAULT 0, + `ReputationBase1` int(11) NOT NULL DEFAULT 0, + `ReputationBase2` int(11) NOT NULL DEFAULT 0, + `ReputationBase3` int(11) NOT NULL DEFAULT 0, + `ReputationBase4` int(11) NOT NULL DEFAULT 0, + `ReputationMax1` int(11) NOT NULL DEFAULT 0, + `ReputationMax2` int(11) NOT NULL DEFAULT 0, + `ReputationMax3` int(11) NOT NULL DEFAULT 0, + `ReputationMax4` int(11) NOT NULL DEFAULT 0, + `ParentFactionMod1` float NOT NULL DEFAULT 0, + `ParentFactionMod2` float NOT NULL DEFAULT 0, + `ParentFactionCap1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ParentFactionCap2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1855,11 +2019,11 @@ DROP TABLE IF EXISTS `faction_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `faction_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `Description_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `Description_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1872,21 +2036,21 @@ DROP TABLE IF EXISTS `faction_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `faction_template` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Faction` smallint(5) unsigned NOT NULL DEFAULT '0', - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `Enemies1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Enemies2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Enemies3` smallint(5) unsigned NOT NULL DEFAULT '0', - `Enemies4` smallint(5) unsigned NOT NULL DEFAULT '0', - `Friends1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Friends2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Friends3` smallint(5) unsigned NOT NULL DEFAULT '0', - `Friends4` smallint(5) unsigned NOT NULL DEFAULT '0', - `Mask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `FriendMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `EnemyMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Faction` smallint(5) unsigned NOT NULL DEFAULT 0, + `Flags` smallint(5) unsigned NOT NULL DEFAULT 0, + `FactionGroup` tinyint(3) unsigned NOT NULL DEFAULT 0, + `FriendGroup` tinyint(3) unsigned NOT NULL DEFAULT 0, + `EnemyGroup` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Enemies1` smallint(5) unsigned NOT NULL DEFAULT 0, + `Enemies2` smallint(5) unsigned NOT NULL DEFAULT 0, + `Enemies3` smallint(5) unsigned NOT NULL DEFAULT 0, + `Enemies4` smallint(5) unsigned NOT NULL DEFAULT 0, + `Friend1` smallint(5) unsigned NOT NULL DEFAULT 0, + `Friend2` smallint(5) unsigned NOT NULL DEFAULT 0, + `Friend3` smallint(5) unsigned NOT NULL DEFAULT 0, + `Friend4` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1899,18 +2063,18 @@ DROP TABLE IF EXISTS `gameobject_display_info`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gameobject_display_info` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `FileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `GeoBoxMinX` float NOT NULL DEFAULT '0', - `GeoBoxMinY` float NOT NULL DEFAULT '0', - `GeoBoxMinZ` float NOT NULL DEFAULT '0', - `GeoBoxMaxX` float NOT NULL DEFAULT '0', - `GeoBoxMaxY` float NOT NULL DEFAULT '0', - `GeoBoxMaxZ` float NOT NULL DEFAULT '0', - `OverrideLootEffectScale` float NOT NULL DEFAULT '0', - `OverrideNameScale` float NOT NULL DEFAULT '0', - `ObjectEffectPackageID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `GeoBoxMinX` float NOT NULL DEFAULT 0, + `GeoBoxMinY` float NOT NULL DEFAULT 0, + `GeoBoxMinZ` float NOT NULL DEFAULT 0, + `GeoBoxMaxX` float NOT NULL DEFAULT 0, + `GeoBoxMaxY` float NOT NULL DEFAULT 0, + `GeoBoxMaxZ` float NOT NULL DEFAULT 0, + `FileDataID` int(11) NOT NULL DEFAULT 0, + `ObjectEffectPackageID` smallint(6) NOT NULL DEFAULT 0, + `OverrideLootEffectScale` float NOT NULL DEFAULT 0, + `OverrideNameScale` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1923,31 +2087,31 @@ DROP TABLE IF EXISTS `gameobjects`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gameobjects` ( - `Name` text, - `PositionX` float NOT NULL DEFAULT '0', - `PositionY` float NOT NULL DEFAULT '0', - `PositionZ` float NOT NULL DEFAULT '0', - `RotationX` float NOT NULL DEFAULT '0', - `RotationY` float NOT NULL DEFAULT '0', - `RotationZ` float NOT NULL DEFAULT '0', - `RotationW` float NOT NULL DEFAULT '0', - `Size` float NOT NULL DEFAULT '0', - `Data1` int(11) NOT NULL DEFAULT '0', - `Data2` int(11) NOT NULL DEFAULT '0', - `Data3` int(11) NOT NULL DEFAULT '0', - `Data4` int(11) NOT NULL DEFAULT '0', - `Data5` int(11) NOT NULL DEFAULT '0', - `Data6` int(11) NOT NULL DEFAULT '0', - `Data7` int(11) NOT NULL DEFAULT '0', - `Data8` int(11) NOT NULL DEFAULT '0', - `MapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `DisplayID` smallint(5) unsigned NOT NULL DEFAULT '0', - `PhaseID` smallint(5) unsigned NOT NULL DEFAULT '0', - `PhaseGroupID` smallint(5) unsigned NOT NULL DEFAULT '0', - `PhaseUseFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name` text DEFAULT NULL, + `PosX` float NOT NULL DEFAULT 0, + `PosY` float NOT NULL DEFAULT 0, + `PosZ` float NOT NULL DEFAULT 0, + `Rot1` float NOT NULL DEFAULT 0, + `Rot2` float NOT NULL DEFAULT 0, + `Rot3` float NOT NULL DEFAULT 0, + `Rot4` float NOT NULL DEFAULT 0, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `OwnerID` smallint(5) unsigned NOT NULL DEFAULT 0, + `DisplayID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Scale` float NOT NULL DEFAULT 0, + `TypeID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PhaseUseFlags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PhaseID` smallint(5) unsigned NOT NULL DEFAULT 0, + `PhaseGroupID` smallint(5) unsigned NOT NULL DEFAULT 0, + `PropValue1` int(11) NOT NULL DEFAULT 0, + `PropValue2` int(11) NOT NULL DEFAULT 0, + `PropValue3` int(11) NOT NULL DEFAULT 0, + `PropValue4` int(11) NOT NULL DEFAULT 0, + `PropValue5` int(11) NOT NULL DEFAULT 0, + `PropValue6` int(11) NOT NULL DEFAULT 0, + `PropValue7` int(11) NOT NULL DEFAULT 0, + `PropValue8` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1960,10 +2124,10 @@ DROP TABLE IF EXISTS `gameobjects_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gameobjects_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1976,15 +2140,15 @@ DROP TABLE IF EXISTS `garr_ability`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_ability` ( - `Name` text, - `Description` text, - `IconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `OtherFactionGarrAbilityID` smallint(5) unsigned NOT NULL DEFAULT '0', - `GarrAbilityCategoryID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `FollowerTypeID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name` text DEFAULT NULL, + `Description` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `GarrAbilityCategoryID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `GarrFollowerTypeID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `IconFileDataID` int(11) NOT NULL DEFAULT 0, + `FactionChangeGarrAbilityID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Flags` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1997,11 +2161,11 @@ DROP TABLE IF EXISTS `garr_ability_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_ability_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `Description_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `Description_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2014,32 +2178,32 @@ DROP TABLE IF EXISTS `garr_building`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_building` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `NameAlliance` text, - `NameHorde` text, - `Description` text, - `Tooltip` text, - `HordeGameObjectID` int(10) unsigned NOT NULL DEFAULT '0', - `AllianceGameObjectID` int(10) unsigned NOT NULL DEFAULT '0', - `IconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `CostCurrencyID` smallint(5) unsigned NOT NULL DEFAULT '0', - `HordeTexPrefixKitID` smallint(5) unsigned NOT NULL DEFAULT '0', - `AllianceTexPrefixKitID` smallint(5) unsigned NOT NULL DEFAULT '0', - `AllianceActivationScenePackageID` smallint(5) unsigned NOT NULL DEFAULT '0', - `HordeActivationScenePackageID` smallint(5) unsigned NOT NULL DEFAULT '0', - `FollowerRequiredGarrAbilityID` smallint(5) unsigned NOT NULL DEFAULT '0', - `FollowerGarrAbilityEffectID` smallint(5) unsigned NOT NULL DEFAULT '0', - `CostMoney` smallint(6) NOT NULL DEFAULT '0', - `Unknown` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Level` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxShipments` tinyint(3) unsigned NOT NULL DEFAULT '0', - `GarrTypeID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BuildDuration` int(11) NOT NULL DEFAULT '0', - `CostCurrencyAmount` int(11) NOT NULL DEFAULT '0', - `BonusAmount` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `HordeName` text DEFAULT NULL, + `AllianceName` text DEFAULT NULL, + `Description` text DEFAULT NULL, + `Tooltip` text DEFAULT NULL, + `GarrTypeID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `BuildingType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `HordeGameObjectID` int(11) NOT NULL DEFAULT 0, + `AllianceGameObjectID` int(11) NOT NULL DEFAULT 0, + `GarrSiteID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `UpgradeLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `BuildSeconds` int(11) NOT NULL DEFAULT 0, + `CurrencyTypeID` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrencyQty` int(11) NOT NULL DEFAULT 0, + `HordeUiTextureKitID` smallint(5) unsigned NOT NULL DEFAULT 0, + `AllianceUiTextureKitID` smallint(5) unsigned NOT NULL DEFAULT 0, + `IconFileDataID` int(11) NOT NULL DEFAULT 0, + `AllianceSceneScriptPackageID` smallint(5) unsigned NOT NULL DEFAULT 0, + `HordeSceneScriptPackageID` smallint(5) unsigned NOT NULL DEFAULT 0, + `MaxAssignments` int(11) NOT NULL DEFAULT 0, + `ShipmentCapacity` tinyint(3) unsigned NOT NULL DEFAULT 0, + `GarrAbilityID` smallint(5) unsigned NOT NULL DEFAULT 0, + `BonusGarrAbilityID` smallint(5) unsigned NOT NULL DEFAULT 0, + `GoldCost` smallint(5) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2052,13 +2216,13 @@ DROP TABLE IF EXISTS `garr_building_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_building_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `NameAlliance_lang` text, - `NameHorde_lang` text, - `Description_lang` text, - `Tooltip_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `HordeName_lang` text DEFAULT NULL, + `AllianceName_lang` text DEFAULT NULL, + `Description_lang` text DEFAULT NULL, + `Tooltip_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2071,13 +2235,13 @@ DROP TABLE IF EXISTS `garr_building_plot_inst`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_building_plot_inst` ( - `LandmarkOffsetX` float NOT NULL DEFAULT '0', - `LandmarkOffsetY` float NOT NULL DEFAULT '0', - `UiTextureAtlasMemberID` smallint(5) unsigned NOT NULL DEFAULT '0', - `GarrSiteLevelPlotInstID` smallint(5) unsigned NOT NULL DEFAULT '0', - `GarrBuildingID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `MapOffsetX` float NOT NULL DEFAULT 0, + `MapOffsetY` float NOT NULL DEFAULT 0, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `GarrBuildingID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `GarrSiteLevelPlotInstID` smallint(5) unsigned NOT NULL DEFAULT 0, + `UiTextureAtlasMemberID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2090,15 +2254,15 @@ DROP TABLE IF EXISTS `garr_class_spec`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_class_spec` ( - `NameMale` text, - `NameFemale` text, - `NameGenderless` text, - `ClassAtlasID` smallint(5) unsigned NOT NULL DEFAULT '0', - `GarrFollItemSetID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Limit` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ClassSpec` text DEFAULT NULL, + `ClassSpecMale` text DEFAULT NULL, + `ClassSpecFemale` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `UiTextureAtlasMemberID` smallint(5) unsigned NOT NULL DEFAULT 0, + `GarrFollItemSetID` smallint(5) unsigned NOT NULL DEFAULT 0, + `FollowerClassLimit` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2111,12 +2275,12 @@ DROP TABLE IF EXISTS `garr_class_spec_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_class_spec_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `NameMale_lang` text, - `NameFemale_lang` text, - `NameGenderless_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ClassSpec_lang` text DEFAULT NULL, + `ClassSpecMale_lang` text DEFAULT NULL, + `ClassSpecFemale_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2129,39 +2293,39 @@ DROP TABLE IF EXISTS `garr_follower`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_follower` ( - `HordeSourceText` text, - `AllianceSourceText` text, - `Name` text, - `HordeCreatureID` int(10) unsigned NOT NULL DEFAULT '0', - `AllianceCreatureID` int(10) unsigned NOT NULL DEFAULT '0', - `HordePortraitIconID` int(10) unsigned NOT NULL DEFAULT '0', - `AlliancePortraitIconID` int(10) unsigned NOT NULL DEFAULT '0', - `HordeAddedBroadcastTextID` int(10) unsigned NOT NULL DEFAULT '0', - `AllianceAddedBroadcastTextID` int(10) unsigned NOT NULL DEFAULT '0', - `HordeGarrFollItemSetID` smallint(5) unsigned NOT NULL DEFAULT '0', - `AllianceGarrFollItemSetID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemLevelWeapon` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemLevelArmor` smallint(5) unsigned NOT NULL DEFAULT '0', - `HordeListPortraitTextureKitID` smallint(5) unsigned NOT NULL DEFAULT '0', - `AllianceListPortraitTextureKitID` smallint(5) unsigned NOT NULL DEFAULT '0', - `FollowerTypeID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `HordeUiAnimRaceInfoID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AllianceUiAnimRaceInfoID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Quality` tinyint(3) unsigned NOT NULL DEFAULT '0', - `HordeGarrClassSpecID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AllianceGarrClassSpecID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Level` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Unknown1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Unknown2` tinyint(4) NOT NULL DEFAULT '0', - `Unknown3` tinyint(4) NOT NULL DEFAULT '0', - `GarrTypeID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxDurability` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Class` tinyint(3) unsigned NOT NULL DEFAULT '0', - `HordeFlavorTextGarrStringID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AllianceFlavorTextGarrStringID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `HordeSourceText` text DEFAULT NULL, + `AllianceSourceText` text DEFAULT NULL, + `TitleName` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `GarrTypeID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `GarrFollowerTypeID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `HordeCreatureID` int(11) NOT NULL DEFAULT 0, + `AllianceCreatureID` int(11) NOT NULL DEFAULT 0, + `HordeGarrFollRaceID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AllianceGarrFollRaceID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `HordeGarrClassSpecID` int(11) NOT NULL DEFAULT 0, + `AllianceGarrClassSpecID` int(11) NOT NULL DEFAULT 0, + `Quality` tinyint(3) unsigned NOT NULL DEFAULT 0, + `FollowerLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ItemLevelWeapon` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemLevelArmor` smallint(5) unsigned NOT NULL DEFAULT 0, + `HordeSourceTypeEnum` tinyint(4) NOT NULL DEFAULT 0, + `AllianceSourceTypeEnum` tinyint(4) NOT NULL DEFAULT 0, + `HordeIconFileDataID` int(11) NOT NULL DEFAULT 0, + `AllianceIconFileDataID` int(11) NOT NULL DEFAULT 0, + `HordeGarrFollItemSetID` smallint(5) unsigned NOT NULL DEFAULT 0, + `AllianceGarrFollItemSetID` smallint(5) unsigned NOT NULL DEFAULT 0, + `HordeUITextureKitID` smallint(5) unsigned NOT NULL DEFAULT 0, + `AllianceUITextureKitID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Vitality` tinyint(3) unsigned NOT NULL DEFAULT 0, + `HordeFlavorGarrStringID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AllianceFlavorGarrStringID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `HordeSlottingBroadcastTextID` int(10) unsigned NOT NULL DEFAULT 0, + `AllySlottingBroadcastTextID` int(10) unsigned NOT NULL DEFAULT 0, + `ChrClassID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Gender` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2174,12 +2338,12 @@ DROP TABLE IF EXISTS `garr_follower_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_follower_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `HordeSourceText_lang` text, - `AllianceSourceText_lang` text, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `HordeSourceText_lang` text DEFAULT NULL, + `AllianceSourceText_lang` text DEFAULT NULL, + `TitleName_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2192,11 +2356,12 @@ DROP TABLE IF EXISTS `garr_follower_x_ability`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_follower_x_ability` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `GarrAbilityID` smallint(5) unsigned NOT NULL DEFAULT '0', - `FactionIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `GarrFollowerID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `FactionIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `GarrAbilityID` smallint(5) unsigned NOT NULL DEFAULT 0, + `GarrFollowerID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2209,16 +2374,16 @@ DROP TABLE IF EXISTS `garr_plot`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_plot` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `AllianceConstructionGameObjectID` int(10) unsigned NOT NULL DEFAULT '0', - `HordeConstructionGameObjectID` int(10) unsigned NOT NULL DEFAULT '0', - `GarrPlotUICategoryID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PlotType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCount` int(10) unsigned NOT NULL DEFAULT '0', - `MaxCount` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `PlotType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `HordeConstructObjID` int(11) NOT NULL DEFAULT 0, + `AllianceConstructObjID` int(11) NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `UiCategoryID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `UpgradeRequirement1` int(10) unsigned NOT NULL DEFAULT 0, + `UpgradeRequirement2` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2231,10 +2396,10 @@ DROP TABLE IF EXISTS `garr_plot_building`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_plot_building` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `GarrPlotID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `GarrBuildingID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `GarrPlotID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `GarrBuildingID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2247,47 +2412,15 @@ DROP TABLE IF EXISTS `garr_plot_instance`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_plot_instance` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `GarrPlotID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `GarrPlotID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `garr_plot_instance_locale` --- - -DROP TABLE IF EXISTS `garr_plot_instance_locale`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `garr_plot_instance_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Table structure for table `garr_plot_locale` --- - -DROP TABLE IF EXISTS `garr_plot_locale`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `garr_plot_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- -- Table structure for table `garr_site_level` -- @@ -2295,18 +2428,18 @@ DROP TABLE IF EXISTS `garr_site_level`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_site_level` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `TownHallX` float NOT NULL DEFAULT '0', - `TownHallY` float NOT NULL DEFAULT '0', - `MapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `SiteID` smallint(5) unsigned NOT NULL DEFAULT '0', - `MovieID` smallint(5) unsigned NOT NULL DEFAULT '0', - `UpgradeResourceCost` smallint(5) unsigned NOT NULL DEFAULT '0', - `UpgradeMoneyCost` smallint(5) unsigned NOT NULL DEFAULT '0', - `Level` tinyint(3) unsigned NOT NULL DEFAULT '0', - `UITextureKitID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Level2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `TownHallUiPosX` float NOT NULL DEFAULT 0, + `TownHallUiPosY` float NOT NULL DEFAULT 0, + `GarrSiteID` int(10) unsigned NOT NULL DEFAULT 0, + `GarrLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MapID` smallint(5) unsigned NOT NULL DEFAULT 0, + `UpgradeMovieID` smallint(5) unsigned NOT NULL DEFAULT 0, + `UiTextureKitID` smallint(5) unsigned NOT NULL DEFAULT 0, + `MaxBuildingLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `UpgradeCost` smallint(5) unsigned NOT NULL DEFAULT 0, + `UpgradeGoldCost` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2319,13 +2452,13 @@ DROP TABLE IF EXISTS `garr_site_level_plot_inst`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garr_site_level_plot_inst` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `LandmarkX` float NOT NULL DEFAULT '0', - `LandmarkY` float NOT NULL DEFAULT '0', - `GarrSiteLevelID` smallint(5) unsigned NOT NULL DEFAULT '0', - `GarrPlotInstanceID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Unknown` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `UiMarkerPosX` float NOT NULL DEFAULT 0, + `UiMarkerPosY` float NOT NULL DEFAULT 0, + `GarrSiteLevelID` smallint(5) unsigned NOT NULL DEFAULT 0, + `GarrPlotInstanceID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `UiMarkerSize` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2338,11 +2471,11 @@ DROP TABLE IF EXISTS `gem_properties`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gem_properties` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Type` int(10) unsigned NOT NULL DEFAULT '0', - `EnchantID` smallint(5) unsigned NOT NULL DEFAULT '0', - `MinItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `EnchantId` smallint(5) unsigned NOT NULL DEFAULT 0, + `Type` int(11) NOT NULL DEFAULT 0, + `MinItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2355,10 +2488,10 @@ DROP TABLE IF EXISTS `glyph_bindable_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `glyph_bindable_spell` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `GlyphPropertiesID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `GlyphPropertiesID` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2371,12 +2504,12 @@ DROP TABLE IF EXISTS `glyph_properties`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `glyph_properties` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellIconID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `GlyphExclusiveCategoryID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(10) unsigned NOT NULL DEFAULT 0, + `GlyphType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `GlyphExclusiveCategoryID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SpellIconFileDataID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2389,10 +2522,10 @@ DROP TABLE IF EXISTS `glyph_required_spec`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `glyph_required_spec` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ChrSpecializationID` smallint(5) unsigned NOT NULL DEFAULT '0', - `GlyphPropertiesID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ChrSpecializationID` smallint(5) unsigned NOT NULL DEFAULT 0, + `GlyphPropertiesID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2405,11 +2538,11 @@ DROP TABLE IF EXISTS `guild_color_background`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `guild_color_background` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Red` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Green` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Blue` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Red` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Blue` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Green` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2422,11 +2555,11 @@ DROP TABLE IF EXISTS `guild_color_border`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `guild_color_border` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Red` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Green` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Blue` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Red` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Blue` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Green` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2439,11 +2572,11 @@ DROP TABLE IF EXISTS `guild_color_emblem`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `guild_color_emblem` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Red` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Green` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Blue` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Red` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Blue` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Green` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2456,9 +2589,9 @@ DROP TABLE IF EXISTS `guild_perk_spells`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `guild_perk_spells` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2471,21 +2604,23 @@ DROP TABLE IF EXISTS `heirloom`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `heirloom` ( - `SourceText` text, - `ItemID` int(10) unsigned NOT NULL DEFAULT '0', - `OldItem1` int(10) unsigned NOT NULL DEFAULT '0', - `OldItem2` int(10) unsigned NOT NULL DEFAULT '0', - `NextDifficultyItemID` int(10) unsigned NOT NULL DEFAULT '0', - `UpgradeItemID1` int(10) unsigned NOT NULL DEFAULT '0', - `UpgradeItemID2` int(10) unsigned NOT NULL DEFAULT '0', - `UpgradeItemID3` int(10) unsigned NOT NULL DEFAULT '0', - `ItemBonusListID1` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemBonusListID2` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemBonusListID3` smallint(5) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Source` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `SourceText` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID` int(11) NOT NULL DEFAULT 0, + `LegacyUpgradedItemID` int(11) NOT NULL DEFAULT 0, + `StaticUpgradedItemID` int(11) NOT NULL DEFAULT 0, + `SourceTypeEnum` tinyint(4) NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LegacyItemID` int(11) NOT NULL DEFAULT 0, + `UpgradeItemID1` int(11) NOT NULL DEFAULT 0, + `UpgradeItemID2` int(11) NOT NULL DEFAULT 0, + `UpgradeItemID3` int(11) NOT NULL DEFAULT 0, + `UpgradeItemID4` int(11) NOT NULL DEFAULT 0, + `UpgradeItemBonusListID1` smallint(5) unsigned NOT NULL DEFAULT 0, + `UpgradeItemBonusListID2` smallint(5) unsigned NOT NULL DEFAULT 0, + `UpgradeItemBonusListID3` smallint(5) unsigned NOT NULL DEFAULT 0, + `UpgradeItemBonusListID4` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2498,10 +2633,10 @@ DROP TABLE IF EXISTS `heirloom_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `heirloom_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `SourceText_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `SourceText_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2514,55 +2649,80 @@ DROP TABLE IF EXISTS `holidays`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `holidays` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Date1` int(10) unsigned NOT NULL DEFAULT '0', - `Date2` int(10) unsigned NOT NULL DEFAULT '0', - `Date3` int(10) unsigned NOT NULL DEFAULT '0', - `Date4` int(10) unsigned NOT NULL DEFAULT '0', - `Date5` int(10) unsigned NOT NULL DEFAULT '0', - `Date6` int(10) unsigned NOT NULL DEFAULT '0', - `Date7` int(10) unsigned NOT NULL DEFAULT '0', - `Date8` int(10) unsigned NOT NULL DEFAULT '0', - `Date9` int(10) unsigned NOT NULL DEFAULT '0', - `Date10` int(10) unsigned NOT NULL DEFAULT '0', - `Date11` int(10) unsigned NOT NULL DEFAULT '0', - `Date12` int(10) unsigned NOT NULL DEFAULT '0', - `Date13` int(10) unsigned NOT NULL DEFAULT '0', - `Date14` int(10) unsigned NOT NULL DEFAULT '0', - `Date15` int(10) unsigned NOT NULL DEFAULT '0', - `Date16` int(10) unsigned NOT NULL DEFAULT '0', - `Duration1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Duration2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Duration3` smallint(5) unsigned NOT NULL DEFAULT '0', - `Duration4` smallint(5) unsigned NOT NULL DEFAULT '0', - `Duration5` smallint(5) unsigned NOT NULL DEFAULT '0', - `Duration6` smallint(5) unsigned NOT NULL DEFAULT '0', - `Duration7` smallint(5) unsigned NOT NULL DEFAULT '0', - `Duration8` smallint(5) unsigned NOT NULL DEFAULT '0', - `Duration9` smallint(5) unsigned NOT NULL DEFAULT '0', - `Duration10` smallint(5) unsigned NOT NULL DEFAULT '0', - `Region` smallint(5) unsigned NOT NULL DEFAULT '0', - `Looping` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CalendarFlags1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CalendarFlags2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CalendarFlags3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CalendarFlags4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CalendarFlags5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CalendarFlags6` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CalendarFlags7` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CalendarFlags8` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CalendarFlags9` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CalendarFlags10` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Priority` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CalendarFilterType` tinyint(4) NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `HolidayNameID` int(10) unsigned NOT NULL DEFAULT '0', - `HolidayDescriptionID` int(10) unsigned NOT NULL DEFAULT '0', - `TextureFileDataID1` int(11) NOT NULL DEFAULT '0', - `TextureFileDataID2` int(11) NOT NULL DEFAULT '0', - `TextureFileDataID3` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`) + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Region` smallint(5) unsigned NOT NULL DEFAULT 0, + `Looping` tinyint(3) unsigned NOT NULL DEFAULT 0, + `HolidayNameID` int(10) unsigned NOT NULL DEFAULT 0, + `HolidayDescriptionID` int(10) unsigned NOT NULL DEFAULT 0, + `Priority` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CalendarFilterType` tinyint(4) NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Duration1` smallint(5) unsigned NOT NULL DEFAULT 0, + `Duration2` smallint(5) unsigned NOT NULL DEFAULT 0, + `Duration3` smallint(5) unsigned NOT NULL DEFAULT 0, + `Duration4` smallint(5) unsigned NOT NULL DEFAULT 0, + `Duration5` smallint(5) unsigned NOT NULL DEFAULT 0, + `Duration6` smallint(5) unsigned NOT NULL DEFAULT 0, + `Duration7` smallint(5) unsigned NOT NULL DEFAULT 0, + `Duration8` smallint(5) unsigned NOT NULL DEFAULT 0, + `Duration9` smallint(5) unsigned NOT NULL DEFAULT 0, + `Duration10` smallint(5) unsigned NOT NULL DEFAULT 0, + `Date1` int(10) unsigned NOT NULL DEFAULT 0, + `Date2` int(10) unsigned NOT NULL DEFAULT 0, + `Date3` int(10) unsigned NOT NULL DEFAULT 0, + `Date4` int(10) unsigned NOT NULL DEFAULT 0, + `Date5` int(10) unsigned NOT NULL DEFAULT 0, + `Date6` int(10) unsigned NOT NULL DEFAULT 0, + `Date7` int(10) unsigned NOT NULL DEFAULT 0, + `Date8` int(10) unsigned NOT NULL DEFAULT 0, + `Date9` int(10) unsigned NOT NULL DEFAULT 0, + `Date10` int(10) unsigned NOT NULL DEFAULT 0, + `Date11` int(10) unsigned NOT NULL DEFAULT 0, + `Date12` int(10) unsigned NOT NULL DEFAULT 0, + `Date13` int(10) unsigned NOT NULL DEFAULT 0, + `Date14` int(10) unsigned NOT NULL DEFAULT 0, + `Date15` int(10) unsigned NOT NULL DEFAULT 0, + `Date16` int(10) unsigned NOT NULL DEFAULT 0, + `Date17` int(10) unsigned NOT NULL DEFAULT 0, + `Date18` int(10) unsigned NOT NULL DEFAULT 0, + `Date19` int(10) unsigned NOT NULL DEFAULT 0, + `Date20` int(10) unsigned NOT NULL DEFAULT 0, + `Date21` int(10) unsigned NOT NULL DEFAULT 0, + `Date22` int(10) unsigned NOT NULL DEFAULT 0, + `Date23` int(10) unsigned NOT NULL DEFAULT 0, + `Date24` int(10) unsigned NOT NULL DEFAULT 0, + `Date25` int(10) unsigned NOT NULL DEFAULT 0, + `Date26` int(10) unsigned NOT NULL DEFAULT 0, + `CalendarFlags1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CalendarFlags2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CalendarFlags3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CalendarFlags4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CalendarFlags5` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CalendarFlags6` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CalendarFlags7` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CalendarFlags8` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CalendarFlags9` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CalendarFlags10` tinyint(3) unsigned NOT NULL DEFAULT 0, + `TextureFileDataID1` int(11) NOT NULL DEFAULT 0, + `TextureFileDataID2` int(11) NOT NULL DEFAULT 0, + `TextureFileDataID3` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `hotfix_blob` +-- + +DROP TABLE IF EXISTS `hotfix_blob`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `hotfix_blob` ( + `TableHash` int(10) unsigned NOT NULL, + `RecordId` int(11) NOT NULL, + `Blob` blob DEFAULT NULL, + PRIMARY KEY (`TableHash`,`RecordId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2577,7 +2737,7 @@ CREATE TABLE `hotfix_data` ( `Id` int(11) NOT NULL, `TableHash` int(10) unsigned NOT NULL, `RecordId` int(11) NOT NULL, - `Deleted` tinyint(3) unsigned DEFAULT '0', + `Deleted` tinyint(3) unsigned DEFAULT 0, PRIMARY KEY (`Id`,`TableHash`,`RecordId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2590,12 +2750,12 @@ DROP TABLE IF EXISTS `import_price_armor`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `import_price_armor` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ClothFactor` float NOT NULL DEFAULT '0', - `LeatherFactor` float NOT NULL DEFAULT '0', - `MailFactor` float NOT NULL DEFAULT '0', - `PlateFactor` float NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ClothModifier` float NOT NULL DEFAULT 0, + `LeatherModifier` float NOT NULL DEFAULT 0, + `ChainModifier` float NOT NULL DEFAULT 0, + `PlateModifier` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2608,9 +2768,9 @@ DROP TABLE IF EXISTS `import_price_quality`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `import_price_quality` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Factor` float NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Data` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2623,9 +2783,9 @@ DROP TABLE IF EXISTS `import_price_shield`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `import_price_shield` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Factor` float NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Data` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2638,9 +2798,9 @@ DROP TABLE IF EXISTS `import_price_weapon`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `import_price_weapon` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Factor` float NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Data` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2653,16 +2813,16 @@ DROP TABLE IF EXISTS `item`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `FileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `Class` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SubClass` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SoundOverrideSubclass` tinyint(4) NOT NULL DEFAULT '0', - `Material` tinyint(4) NOT NULL DEFAULT '0', - `InventoryType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Sheath` tinyint(3) unsigned NOT NULL DEFAULT '0', - `GroupSoundsID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ClassID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SubclassID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Material` tinyint(3) unsigned NOT NULL DEFAULT 0, + `InventoryType` tinyint(4) NOT NULL DEFAULT 0, + `SheatheType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SoundOverrideSubclassID` tinyint(4) NOT NULL DEFAULT 0, + `IconFileDataID` int(11) NOT NULL DEFAULT 0, + `ItemGroupSoundsID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2675,12 +2835,12 @@ DROP TABLE IF EXISTS `item_appearance`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_appearance` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `DisplayID` int(10) unsigned NOT NULL DEFAULT '0', - `IconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `UIOrder` int(10) unsigned NOT NULL DEFAULT '0', - `ObjectComponentSlot` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DisplayType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ItemDisplayInfoID` int(11) NOT NULL DEFAULT 0, + `DefaultIconFileDataID` int(11) NOT NULL DEFAULT 0, + `UiOrder` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2693,16 +2853,15 @@ DROP TABLE IF EXISTS `item_armor_quality`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_armor_quality` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `QualityMod1` float NOT NULL DEFAULT '0', - `QualityMod2` float NOT NULL DEFAULT '0', - `QualityMod3` float NOT NULL DEFAULT '0', - `QualityMod4` float NOT NULL DEFAULT '0', - `QualityMod5` float NOT NULL DEFAULT '0', - `QualityMod6` float NOT NULL DEFAULT '0', - `QualityMod7` float NOT NULL DEFAULT '0', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Qualitymod1` float NOT NULL DEFAULT 0, + `Qualitymod2` float NOT NULL DEFAULT 0, + `Qualitymod3` float NOT NULL DEFAULT 0, + `Qualitymod4` float NOT NULL DEFAULT 0, + `Qualitymod5` float NOT NULL DEFAULT 0, + `Qualitymod6` float NOT NULL DEFAULT 0, + `Qualitymod7` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2715,16 +2874,16 @@ DROP TABLE IF EXISTS `item_armor_shield`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_armor_shield` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Quality1` float NOT NULL DEFAULT '0', - `Quality2` float NOT NULL DEFAULT '0', - `Quality3` float NOT NULL DEFAULT '0', - `Quality4` float NOT NULL DEFAULT '0', - `Quality5` float NOT NULL DEFAULT '0', - `Quality6` float NOT NULL DEFAULT '0', - `Quality7` float NOT NULL DEFAULT '0', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Quality1` float NOT NULL DEFAULT 0, + `Quality2` float NOT NULL DEFAULT 0, + `Quality3` float NOT NULL DEFAULT 0, + `Quality4` float NOT NULL DEFAULT 0, + `Quality5` float NOT NULL DEFAULT 0, + `Quality6` float NOT NULL DEFAULT 0, + `Quality7` float NOT NULL DEFAULT 0, + `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2737,13 +2896,13 @@ DROP TABLE IF EXISTS `item_armor_total`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_armor_total` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Value1` float NOT NULL DEFAULT '0', - `Value2` float NOT NULL DEFAULT '0', - `Value3` float NOT NULL DEFAULT '0', - `Value4` float NOT NULL DEFAULT '0', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemLevel` smallint(6) NOT NULL DEFAULT 0, + `Cloth` float NOT NULL DEFAULT 0, + `Leather` float NOT NULL DEFAULT 0, + `Mail` float NOT NULL DEFAULT 0, + `Plate` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2756,9 +2915,9 @@ DROP TABLE IF EXISTS `item_bag_family`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_bag_family` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2771,10 +2930,10 @@ DROP TABLE IF EXISTS `item_bag_family_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_bag_family_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2787,14 +2946,14 @@ DROP TABLE IF EXISTS `item_bonus`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_bonus` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Value1` int(11) NOT NULL DEFAULT '0', - `Value2` int(11) NOT NULL DEFAULT '0', - `Value3` int(11) NOT NULL DEFAULT '0', - `BonusListID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Index` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Value1` int(11) NOT NULL DEFAULT 0, + `Value2` int(11) NOT NULL DEFAULT 0, + `Value3` int(11) NOT NULL DEFAULT 0, + `ParentItemBonusListID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Type` tinyint(3) unsigned NOT NULL DEFAULT 0, + `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2807,9 +2966,9 @@ DROP TABLE IF EXISTS `item_bonus_list_level_delta`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_bonus_list_level_delta` ( - `Delta` smallint(6) NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ItemLevelDelta` smallint(6) NOT NULL DEFAULT 0, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2822,13 +2981,13 @@ DROP TABLE IF EXISTS `item_bonus_tree_node`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_bonus_tree_node` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SubTreeID` smallint(5) unsigned NOT NULL DEFAULT '0', - `BonusListID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemLevelSelectorID` smallint(5) unsigned NOT NULL DEFAULT '0', - `BonusTreeModID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BonusTreeID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemContext` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ChildItemBonusTreeID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ChildItemBonusListID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ChildItemLevelSelectorID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ParentItemBonusTreeID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2841,11 +3000,11 @@ DROP TABLE IF EXISTS `item_child_equipment`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_child_equipment` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `AltItemID` int(10) unsigned NOT NULL DEFAULT '0', - `AltEquipmentSlot` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ItemID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ParentItemID` int(11) NOT NULL DEFAULT 0, + `ChildItemID` int(11) NOT NULL DEFAULT 0, + `ChildItemEquipSlot` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2858,12 +3017,12 @@ DROP TABLE IF EXISTS `item_class`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_class` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `PriceMod` float NOT NULL DEFAULT '0', - `OldEnumValue` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ClassName` text DEFAULT NULL, + `ClassID` tinyint(4) NOT NULL DEFAULT 0, + `PriceModifier` float NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2876,10 +3035,10 @@ DROP TABLE IF EXISTS `item_class_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_class_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ClassName_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2892,9 +3051,9 @@ DROP TABLE IF EXISTS `item_currency_cost`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_currency_cost` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ItemId` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2907,16 +3066,16 @@ DROP TABLE IF EXISTS `item_damage_ammo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_damage_ammo` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `DPS1` float NOT NULL DEFAULT '0', - `DPS2` float NOT NULL DEFAULT '0', - `DPS3` float NOT NULL DEFAULT '0', - `DPS4` float NOT NULL DEFAULT '0', - `DPS5` float NOT NULL DEFAULT '0', - `DPS6` float NOT NULL DEFAULT '0', - `DPS7` float NOT NULL DEFAULT '0', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `Quality1` float NOT NULL DEFAULT 0, + `Quality2` float NOT NULL DEFAULT 0, + `Quality3` float NOT NULL DEFAULT 0, + `Quality4` float NOT NULL DEFAULT 0, + `Quality5` float NOT NULL DEFAULT 0, + `Quality6` float NOT NULL DEFAULT 0, + `Quality7` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2929,16 +3088,16 @@ DROP TABLE IF EXISTS `item_damage_one_hand`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_damage_one_hand` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `DPS1` float NOT NULL DEFAULT '0', - `DPS2` float NOT NULL DEFAULT '0', - `DPS3` float NOT NULL DEFAULT '0', - `DPS4` float NOT NULL DEFAULT '0', - `DPS5` float NOT NULL DEFAULT '0', - `DPS6` float NOT NULL DEFAULT '0', - `DPS7` float NOT NULL DEFAULT '0', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `Quality1` float NOT NULL DEFAULT 0, + `Quality2` float NOT NULL DEFAULT 0, + `Quality3` float NOT NULL DEFAULT 0, + `Quality4` float NOT NULL DEFAULT 0, + `Quality5` float NOT NULL DEFAULT 0, + `Quality6` float NOT NULL DEFAULT 0, + `Quality7` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2951,16 +3110,16 @@ DROP TABLE IF EXISTS `item_damage_one_hand_caster`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_damage_one_hand_caster` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `DPS1` float NOT NULL DEFAULT '0', - `DPS2` float NOT NULL DEFAULT '0', - `DPS3` float NOT NULL DEFAULT '0', - `DPS4` float NOT NULL DEFAULT '0', - `DPS5` float NOT NULL DEFAULT '0', - `DPS6` float NOT NULL DEFAULT '0', - `DPS7` float NOT NULL DEFAULT '0', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `Quality1` float NOT NULL DEFAULT 0, + `Quality2` float NOT NULL DEFAULT 0, + `Quality3` float NOT NULL DEFAULT 0, + `Quality4` float NOT NULL DEFAULT 0, + `Quality5` float NOT NULL DEFAULT 0, + `Quality6` float NOT NULL DEFAULT 0, + `Quality7` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2973,16 +3132,16 @@ DROP TABLE IF EXISTS `item_damage_two_hand`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_damage_two_hand` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `DPS1` float NOT NULL DEFAULT '0', - `DPS2` float NOT NULL DEFAULT '0', - `DPS3` float NOT NULL DEFAULT '0', - `DPS4` float NOT NULL DEFAULT '0', - `DPS5` float NOT NULL DEFAULT '0', - `DPS6` float NOT NULL DEFAULT '0', - `DPS7` float NOT NULL DEFAULT '0', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `Quality1` float NOT NULL DEFAULT 0, + `Quality2` float NOT NULL DEFAULT 0, + `Quality3` float NOT NULL DEFAULT 0, + `Quality4` float NOT NULL DEFAULT 0, + `Quality5` float NOT NULL DEFAULT 0, + `Quality6` float NOT NULL DEFAULT 0, + `Quality7` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2995,16 +3154,16 @@ DROP TABLE IF EXISTS `item_damage_two_hand_caster`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_damage_two_hand_caster` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `DPS1` float NOT NULL DEFAULT '0', - `DPS2` float NOT NULL DEFAULT '0', - `DPS3` float NOT NULL DEFAULT '0', - `DPS4` float NOT NULL DEFAULT '0', - `DPS5` float NOT NULL DEFAULT '0', - `DPS6` float NOT NULL DEFAULT '0', - `DPS7` float NOT NULL DEFAULT '0', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `Quality1` float NOT NULL DEFAULT 0, + `Quality2` float NOT NULL DEFAULT 0, + `Quality3` float NOT NULL DEFAULT 0, + `Quality4` float NOT NULL DEFAULT 0, + `Quality5` float NOT NULL DEFAULT 0, + `Quality6` float NOT NULL DEFAULT 0, + `Quality7` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3017,15 +3176,15 @@ DROP TABLE IF EXISTS `item_disenchant_loot`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_disenchant_loot` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `MinItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `MaxItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredDisenchantSkill` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemSubClass` tinyint(4) NOT NULL DEFAULT '0', - `ItemQuality` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Expansion` tinyint(4) NOT NULL DEFAULT '0', - `ItemClass` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Subclass` tinyint(4) NOT NULL DEFAULT 0, + `Quality` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `MaxLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `SkillRequired` smallint(5) unsigned NOT NULL DEFAULT 0, + `ExpansionID` tinyint(4) NOT NULL DEFAULT 0, + `Class` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3038,17 +3197,17 @@ DROP TABLE IF EXISTS `item_effect`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_effect` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `Cooldown` int(11) NOT NULL DEFAULT '0', - `CategoryCooldown` int(11) NOT NULL DEFAULT '0', - `Charges` smallint(6) NOT NULL DEFAULT '0', - `Category` smallint(5) unsigned NOT NULL DEFAULT '0', - `ChrSpecializationID` smallint(5) unsigned NOT NULL DEFAULT '0', - `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Trigger` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ItemID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `LegacySlotIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `TriggerType` tinyint(4) NOT NULL DEFAULT 0, + `Charges` smallint(6) NOT NULL DEFAULT 0, + `CoolDownMSec` int(11) NOT NULL DEFAULT 0, + `CategoryCoolDownMSec` int(11) NOT NULL DEFAULT 0, + `SpellCategoryID` smallint(5) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `ChrSpecializationID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ParentItemID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3061,34 +3220,34 @@ DROP TABLE IF EXISTS `item_extended_cost`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_extended_cost` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItem1` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItem2` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItem3` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItem4` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredItem5` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount1` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount2` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount3` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount4` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredCurrencyCount5` int(10) unsigned NOT NULL DEFAULT '0', - `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', - `RequiredPersonalArenaRating` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredCurrency1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredCurrency2` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredCurrency3` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredCurrency4` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredCurrency5` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredArenaSlot` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredFactionId` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredFactionStanding` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequirementFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredAchievement` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `RequiredArenaRating` smallint(5) unsigned NOT NULL DEFAULT 0, + `ArenaBracket` tinyint(4) NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinFactionID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinReputation` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RequiredAchievement` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ItemID1` int(11) NOT NULL DEFAULT 0, + `ItemID2` int(11) NOT NULL DEFAULT 0, + `ItemID3` int(11) NOT NULL DEFAULT 0, + `ItemID4` int(11) NOT NULL DEFAULT 0, + `ItemID5` int(11) 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, + `CurrencyID1` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrencyID2` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrencyID3` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrencyID4` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrencyID5` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrencyCount1` int(10) unsigned NOT NULL DEFAULT 0, + `CurrencyCount2` int(10) unsigned NOT NULL DEFAULT 0, + `CurrencyCount3` int(10) unsigned NOT NULL DEFAULT 0, + `CurrencyCount4` int(10) unsigned NOT NULL DEFAULT 0, + `CurrencyCount5` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3101,10 +3260,11 @@ DROP TABLE IF EXISTS `item_level_selector`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_level_selector` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemLevelSelectorQualitySetID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `MinItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemLevelSelectorQualitySetID` smallint(5) unsigned NOT NULL DEFAULT 0, + `AzeriteUnlockMappingSet` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3117,11 +3277,11 @@ DROP TABLE IF EXISTS `item_level_selector_quality`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_level_selector_quality` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ItemBonusListID` int(10) unsigned NOT NULL DEFAULT '0', - `Quality` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ItemLevelSelectorQualitySetID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `QualityItemBonusListID` int(11) NOT NULL DEFAULT 0, + `Quality` tinyint(4) NOT NULL DEFAULT 0, + `ParentILSQualitySetID` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3134,10 +3294,10 @@ DROP TABLE IF EXISTS `item_level_selector_quality_set`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_level_selector_quality_set` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ItemLevelMin` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemLevelMax` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `IlvlRare` smallint(6) NOT NULL DEFAULT 0, + `IlvlEpic` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3150,11 +3310,28 @@ DROP TABLE IF EXISTS `item_limit_category`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_limit_category` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Quantity` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `Quantity` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `item_limit_category_condition` +-- + +DROP TABLE IF EXISTS `item_limit_category_condition`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `item_limit_category_condition` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `AddQuantity` tinyint(4) NOT NULL DEFAULT 0, + `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `ParentItemLimitCategoryID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3167,10 +3344,10 @@ DROP TABLE IF EXISTS `item_limit_category_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_limit_category_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3183,13 +3360,13 @@ DROP TABLE IF EXISTS `item_modified_appearance`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_modified_appearance` ( - `ItemID` int(10) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `AppearanceModID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AppearanceID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Index` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SourceType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID` int(11) NOT NULL DEFAULT 0, + `ItemAppearanceModifierID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ItemAppearanceID` smallint(5) unsigned NOT NULL DEFAULT 0, + `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `TransmogSourceTypeEnum` tinyint(4) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3202,93 +3379,16 @@ DROP TABLE IF EXISTS `item_price_base`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_price_base` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ArmorFactor` float NOT NULL DEFAULT '0', - `WeaponFactor` float NOT NULL DEFAULT '0', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Table structure for table `item_random_properties` --- - -DROP TABLE IF EXISTS `item_random_properties`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `item_random_properties` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Enchantment1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Enchantment2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Enchantment3` smallint(5) unsigned NOT NULL DEFAULT '0', - `Enchantment4` smallint(5) unsigned NOT NULL DEFAULT '0', - `Enchantment5` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Table structure for table `item_random_properties_locale` --- - -DROP TABLE IF EXISTS `item_random_properties_locale`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `item_random_properties_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Table structure for table `item_random_suffix` --- - -DROP TABLE IF EXISTS `item_random_suffix`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `item_random_suffix` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Enchantment1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Enchantment2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Enchantment3` smallint(5) unsigned NOT NULL DEFAULT '0', - `Enchantment4` smallint(5) unsigned NOT NULL DEFAULT '0', - `Enchantment5` smallint(5) unsigned NOT NULL DEFAULT '0', - `AllocationPct1` smallint(5) unsigned NOT NULL DEFAULT '0', - `AllocationPct2` smallint(5) unsigned NOT NULL DEFAULT '0', - `AllocationPct3` smallint(5) unsigned NOT NULL DEFAULT '0', - `AllocationPct4` smallint(5) unsigned NOT NULL DEFAULT '0', - `AllocationPct5` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `Armor` float NOT NULL DEFAULT 0, + `Weapon` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `item_random_suffix_locale` --- - -DROP TABLE IF EXISTS `item_random_suffix_locale`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `item_random_suffix_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- -- Table structure for table `item_search_name` -- @@ -3296,23 +3396,24 @@ DROP TABLE IF EXISTS `item_search_name`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_search_name` ( - `AllowableRace` bigint(20) unsigned NOT NULL DEFAULT '0', - `Name` text, - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags1` int(10) unsigned NOT NULL DEFAULT '0', - `Flags2` int(10) unsigned NOT NULL DEFAULT '0', - `Flags3` int(10) unsigned NOT NULL DEFAULT '0', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `Quality` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredExpansion` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredReputationFaction` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredReputationRank` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AllowableClass` int(11) NOT NULL DEFAULT '0', - `RequiredSkill` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSkillRank` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSpell` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `AllowableRace` bigint(20) NOT NULL DEFAULT 0, + `Display` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `OverallQualityID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ExpansionID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinFactionID` smallint(5) unsigned NOT NULL DEFAULT 0, + `MinReputation` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AllowableClass` int(11) NOT NULL DEFAULT 0, + `RequiredLevel` tinyint(4) NOT NULL DEFAULT 0, + `RequiredSkill` smallint(5) unsigned NOT NULL DEFAULT 0, + `RequiredSkillRank` smallint(5) unsigned NOT NULL DEFAULT 0, + `RequiredAbility` int(10) unsigned NOT NULL DEFAULT 0, + `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `Flags1` int(11) NOT NULL DEFAULT 0, + `Flags2` int(11) NOT NULL DEFAULT 0, + `Flags3` int(11) NOT NULL DEFAULT 0, + `Flags4` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3325,10 +3426,10 @@ DROP TABLE IF EXISTS `item_search_name_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_search_name_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Display_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3341,29 +3442,29 @@ DROP TABLE IF EXISTS `item_set`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_set` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `ItemID1` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID2` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID3` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID4` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID5` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID6` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID7` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID8` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID9` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID10` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID11` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID12` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID13` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID14` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID15` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID16` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID17` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredSkillRank` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSkill` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `SetFlags` int(10) unsigned NOT NULL DEFAULT 0, + `RequiredSkill` int(10) unsigned NOT NULL DEFAULT 0, + `RequiredSkillRank` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemID1` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID2` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID3` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID4` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID5` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID6` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID7` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID8` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID9` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID10` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID11` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID12` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID13` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID14` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID15` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID16` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID17` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3376,10 +3477,10 @@ DROP TABLE IF EXISTS `item_set_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_set_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3392,12 +3493,12 @@ DROP TABLE IF EXISTS `item_set_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_set_spell` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `ChrSpecID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Threshold` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ItemSetID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ChrSpecID` smallint(5) unsigned NOT NULL DEFAULT 0, + `SpellID` int(10) unsigned NOT NULL DEFAULT 0, + `Threshold` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ItemSetID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3410,113 +3511,102 @@ DROP TABLE IF EXISTS `item_sparse`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_sparse` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `AllowableRace` bigint(20) NOT NULL DEFAULT '0', - `Name` text, - `Name2` text, - `Name3` text, - `Name4` text, - `Description` text, - `Flags1` int(10) unsigned NOT NULL DEFAULT '0', - `Flags2` int(10) unsigned NOT NULL DEFAULT '0', - `Flags3` int(10) unsigned NOT NULL DEFAULT '0', - `Flags4` int(10) unsigned NOT NULL DEFAULT '0', - `Unk1` float NOT NULL DEFAULT '0', - `Unk2` float NOT NULL DEFAULT '0', - `BuyCount` int(10) unsigned NOT NULL DEFAULT '0', - `BuyPrice` int(10) unsigned NOT NULL DEFAULT '0', - `SellPrice` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredSpell` int(10) unsigned NOT NULL DEFAULT '0', - `MaxCount` int(10) unsigned NOT NULL DEFAULT '0', - `Stackable` int(10) unsigned NOT NULL DEFAULT '0', - `ItemStatAllocation1` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation2` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation3` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation4` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation5` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation6` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation7` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation8` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation9` int(11) NOT NULL DEFAULT '0', - `ItemStatAllocation10` int(11) NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier1` float NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier2` float NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier3` float NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier4` float NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier5` float NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier6` float NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier7` float NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier8` float NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier9` float NOT NULL DEFAULT '0', - `ItemStatSocketCostMultiplier10` float NOT NULL DEFAULT '0', - `RangedModRange` float NOT NULL DEFAULT '0', - `BagFamily` int(10) unsigned NOT NULL DEFAULT '0', - `ArmorDamageModifier` float NOT NULL DEFAULT '0', - `Duration` int(10) unsigned NOT NULL DEFAULT '0', - `StatScalingFactor` float NOT NULL DEFAULT '0', - `AllowableClass` smallint(6) NOT NULL DEFAULT '0', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSkill` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSkillRank` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredReputationFaction` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemStatValue1` smallint(6) NOT NULL DEFAULT '0', - `ItemStatValue2` smallint(6) NOT NULL DEFAULT '0', - `ItemStatValue3` smallint(6) NOT NULL DEFAULT '0', - `ItemStatValue4` smallint(6) NOT NULL DEFAULT '0', - `ItemStatValue5` smallint(6) NOT NULL DEFAULT '0', - `ItemStatValue6` smallint(6) NOT NULL DEFAULT '0', - `ItemStatValue7` smallint(6) NOT NULL DEFAULT '0', - `ItemStatValue8` smallint(6) NOT NULL DEFAULT '0', - `ItemStatValue9` smallint(6) NOT NULL DEFAULT '0', - `ItemStatValue10` smallint(6) NOT NULL DEFAULT '0', - `ScalingStatDistribution` smallint(5) unsigned NOT NULL DEFAULT '0', - `Delay` smallint(5) unsigned NOT NULL DEFAULT '0', - `PageText` smallint(5) unsigned NOT NULL DEFAULT '0', - `StartQuest` smallint(5) unsigned NOT NULL DEFAULT '0', - `LockID` smallint(5) unsigned NOT NULL DEFAULT '0', - `RandomProperty` smallint(5) unsigned NOT NULL DEFAULT '0', - `RandomSuffix` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemSet` smallint(5) unsigned NOT NULL DEFAULT '0', - `Area` smallint(5) unsigned NOT NULL DEFAULT '0', - `Map` smallint(5) unsigned NOT NULL DEFAULT '0', - `TotemCategory` smallint(5) unsigned NOT NULL DEFAULT '0', - `SocketBonus` smallint(5) unsigned NOT NULL DEFAULT '0', - `GemProperties` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemLimitCategory` smallint(5) unsigned NOT NULL DEFAULT '0', - `HolidayID` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredTransmogHolidayID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemNameDescriptionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Quality` tinyint(3) unsigned NOT NULL DEFAULT '0', - `InventoryType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredLevel` tinyint(4) NOT NULL DEFAULT '0', - `RequiredHonorRank` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredCityRank` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredReputationRank` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ContainerSlots` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ItemStatType1` tinyint(4) NOT NULL DEFAULT '0', - `ItemStatType2` tinyint(4) NOT NULL DEFAULT '0', - `ItemStatType3` tinyint(4) NOT NULL DEFAULT '0', - `ItemStatType4` tinyint(4) NOT NULL DEFAULT '0', - `ItemStatType5` tinyint(4) NOT NULL DEFAULT '0', - `ItemStatType6` tinyint(4) NOT NULL DEFAULT '0', - `ItemStatType7` tinyint(4) NOT NULL DEFAULT '0', - `ItemStatType8` tinyint(4) NOT NULL DEFAULT '0', - `ItemStatType9` tinyint(4) NOT NULL DEFAULT '0', - `ItemStatType10` tinyint(4) NOT NULL DEFAULT '0', - `DamageType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Bonding` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LanguageID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PageMaterial` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Material` tinyint(4) NOT NULL DEFAULT '0', - `Sheath` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SocketColor1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SocketColor2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SocketColor3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CurrencySubstitutionID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CurrencySubstitutionCount` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ArtifactID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredExpansion` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `AllowableRace` bigint(20) NOT NULL DEFAULT 0, + `Description` text DEFAULT NULL, + `Display3` text DEFAULT NULL, + `Display2` text DEFAULT NULL, + `Display1` text DEFAULT NULL, + `Display` text DEFAULT NULL, + `DmgVariance` float NOT NULL DEFAULT 0, + `DurationInInventory` int(10) unsigned NOT NULL DEFAULT 0, + `QualityModifier` float NOT NULL DEFAULT 0, + `BagFamily` int(10) unsigned NOT NULL DEFAULT 0, + `ItemRange` float NOT NULL DEFAULT 0, + `StatPercentageOfSocket1` float NOT NULL DEFAULT 0, + `StatPercentageOfSocket2` float NOT NULL DEFAULT 0, + `StatPercentageOfSocket3` float NOT NULL DEFAULT 0, + `StatPercentageOfSocket4` float NOT NULL DEFAULT 0, + `StatPercentageOfSocket5` float NOT NULL DEFAULT 0, + `StatPercentageOfSocket6` float NOT NULL DEFAULT 0, + `StatPercentageOfSocket7` float NOT NULL DEFAULT 0, + `StatPercentageOfSocket8` float NOT NULL DEFAULT 0, + `StatPercentageOfSocket9` float NOT NULL DEFAULT 0, + `StatPercentageOfSocket10` float NOT NULL DEFAULT 0, + `StatPercentEditor1` int(11) NOT NULL DEFAULT 0, + `StatPercentEditor2` int(11) NOT NULL DEFAULT 0, + `StatPercentEditor3` int(11) NOT NULL DEFAULT 0, + `StatPercentEditor4` int(11) NOT NULL DEFAULT 0, + `StatPercentEditor5` int(11) NOT NULL DEFAULT 0, + `StatPercentEditor6` int(11) NOT NULL DEFAULT 0, + `StatPercentEditor7` int(11) NOT NULL DEFAULT 0, + `StatPercentEditor8` int(11) NOT NULL DEFAULT 0, + `StatPercentEditor9` int(11) NOT NULL DEFAULT 0, + `StatPercentEditor10` int(11) NOT NULL DEFAULT 0, + `Stackable` int(11) NOT NULL DEFAULT 0, + `MaxCount` int(11) NOT NULL DEFAULT 0, + `RequiredAbility` int(10) unsigned NOT NULL DEFAULT 0, + `SellPrice` int(10) unsigned NOT NULL DEFAULT 0, + `BuyPrice` int(10) unsigned NOT NULL DEFAULT 0, + `VendorStackCount` int(10) unsigned NOT NULL DEFAULT 0, + `PriceVariance` float NOT NULL DEFAULT 0, + `PriceRandomValue` float NOT NULL DEFAULT 0, + `Flags1` int(11) NOT NULL DEFAULT 0, + `Flags2` int(11) NOT NULL DEFAULT 0, + `Flags3` int(11) NOT NULL DEFAULT 0, + `Flags4` int(11) NOT NULL DEFAULT 0, + `FactionRelated` int(11) NOT NULL DEFAULT 0, + `ItemNameDescriptionID` smallint(5) unsigned NOT NULL DEFAULT 0, + `RequiredTransmogHoliday` smallint(5) unsigned NOT NULL DEFAULT 0, + `RequiredHoliday` smallint(5) unsigned NOT NULL DEFAULT 0, + `LimitCategory` smallint(5) unsigned NOT NULL DEFAULT 0, + `GemProperties` smallint(5) unsigned NOT NULL DEFAULT 0, + `SocketMatchEnchantmentId` smallint(5) unsigned NOT NULL DEFAULT 0, + `TotemCategoryID` smallint(5) unsigned NOT NULL DEFAULT 0, + `InstanceBound` smallint(5) unsigned NOT NULL DEFAULT 0, + `ZoneBound` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemSet` smallint(5) unsigned NOT NULL DEFAULT 0, + `LockID` smallint(5) unsigned NOT NULL DEFAULT 0, + `StartQuestID` smallint(5) unsigned NOT NULL DEFAULT 0, + `PageID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemDelay` smallint(5) unsigned NOT NULL DEFAULT 0, + `ScalingStatDistributionID` smallint(5) unsigned NOT NULL DEFAULT 0, + `MinFactionID` smallint(5) unsigned NOT NULL DEFAULT 0, + `RequiredSkillRank` smallint(5) unsigned NOT NULL DEFAULT 0, + `RequiredSkill` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `AllowableClass` smallint(6) NOT NULL DEFAULT 0, + `ExpansionID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ArtifactID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SpellWeight` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SpellWeightCategory` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SocketType1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SocketType2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SocketType3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SheatheType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Material` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PageMaterialID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LanguageID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Bonding` tinyint(3) unsigned NOT NULL DEFAULT 0, + `DamageDamageType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `StatModifierBonusStat1` tinyint(4) NOT NULL DEFAULT 0, + `StatModifierBonusStat2` tinyint(4) NOT NULL DEFAULT 0, + `StatModifierBonusStat3` tinyint(4) NOT NULL DEFAULT 0, + `StatModifierBonusStat4` tinyint(4) NOT NULL DEFAULT 0, + `StatModifierBonusStat5` tinyint(4) NOT NULL DEFAULT 0, + `StatModifierBonusStat6` tinyint(4) NOT NULL DEFAULT 0, + `StatModifierBonusStat7` tinyint(4) NOT NULL DEFAULT 0, + `StatModifierBonusStat8` tinyint(4) NOT NULL DEFAULT 0, + `StatModifierBonusStat9` tinyint(4) NOT NULL DEFAULT 0, + `StatModifierBonusStat10` tinyint(4) NOT NULL DEFAULT 0, + `ContainerSlots` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinReputation` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RequiredPVPMedal` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RequiredPVPRank` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RequiredLevel` tinyint(4) NOT NULL DEFAULT 0, + `InventoryType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `OverallQualityID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3529,14 +3619,14 @@ DROP TABLE IF EXISTS `item_sparse_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_sparse_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `Name2_lang` text, - `Name3_lang` text, - `Name4_lang` text, - `Description_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Description_lang` text DEFAULT NULL, + `Display3_lang` text DEFAULT NULL, + `Display2_lang` text DEFAULT NULL, + `Display1_lang` text DEFAULT NULL, + `Display_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3549,14 +3639,14 @@ DROP TABLE IF EXISTS `item_spec`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_spec` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpecID` smallint(5) unsigned NOT NULL DEFAULT '0', - `MinLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ItemType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PrimaryStat` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SecondaryStat` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `MinLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MaxLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ItemType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PrimaryStat` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SecondaryStat` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SpecializationID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3569,10 +3659,10 @@ DROP TABLE IF EXISTS `item_spec_override`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_spec_override` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpecID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SpecID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3585,13 +3675,13 @@ DROP TABLE IF EXISTS `item_upgrade`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_upgrade` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `CurrencyCost` int(10) unsigned NOT NULL DEFAULT '0', - `PrevItemUpgradeID` smallint(5) unsigned NOT NULL DEFAULT '0', - `CurrencyID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemUpgradePathID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ItemLevelBonus` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemUpgradePathID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ItemLevelIncrement` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PrerequisiteID` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrencyType` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrencyAmount` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3604,10 +3694,10 @@ DROP TABLE IF EXISTS `item_x_bonus_tree`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_x_bonus_tree` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `BonusTreeID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemBonusTreeID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3620,40 +3710,40 @@ DROP TABLE IF EXISTS `keychain`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `keychain` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Key1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key6` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key7` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key8` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key9` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key10` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key11` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key12` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key13` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key14` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key15` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key16` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key17` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key18` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key19` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key20` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key21` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key22` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key23` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key24` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key25` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key26` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key27` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key28` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key29` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key30` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key31` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key32` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Key1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key5` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key6` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key7` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key8` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key9` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key10` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key11` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key12` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key13` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key14` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key15` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key16` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key17` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key18` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key19` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key20` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key21` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key22` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key23` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key24` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key25` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key26` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key27` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key28` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key29` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key30` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key31` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key32` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3666,41 +3756,42 @@ DROP TABLE IF EXISTS `lfg_dungeons`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lfg_dungeons` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Description` text, - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `MinItemLevel` float NOT NULL DEFAULT '0', - `MaxLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `TargetLevelMax` smallint(5) unsigned NOT NULL DEFAULT '0', - `MapID` smallint(6) NOT NULL DEFAULT '0', - `RandomID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ScenarioID` smallint(5) unsigned NOT NULL DEFAULT '0', - `LastBossJournalEncounterID` smallint(5) unsigned NOT NULL DEFAULT '0', - `BonusReputationAmount` smallint(5) unsigned NOT NULL DEFAULT '0', - `MentorItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `PlayerConditionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `MinLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `TargetLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `TargetLevelMin` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Faction` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Expansion` tinyint(3) unsigned NOT NULL DEFAULT '0', - `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `GroupID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CountTank` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CountHealer` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CountDamage` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCountTank` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCountHealer` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinCountDamage` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SubType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MentorCharLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `TextureFileDataID` int(11) NOT NULL DEFAULT '0', - `RewardIconFileDataID` int(11) NOT NULL DEFAULT '0', - `ProposalTextureFileDataID` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `Description` text DEFAULT NULL, + `MinLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MaxLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `TypeID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Subtype` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Faction` tinyint(4) NOT NULL DEFAULT 0, + `IconTextureFileID` int(11) NOT NULL DEFAULT 0, + `RewardsBgTextureFileID` int(11) NOT NULL DEFAULT 0, + `PopupBgTextureFileID` int(11) NOT NULL DEFAULT 0, + `ExpansionLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MapID` smallint(6) NOT NULL DEFAULT 0, + `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinGear` float NOT NULL DEFAULT 0, + `GroupID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RequiredPlayerConditionId` int(10) unsigned NOT NULL DEFAULT 0, + `TargetLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `TargetLevelMin` tinyint(3) unsigned NOT NULL DEFAULT 0, + `TargetLevelMax` smallint(5) unsigned NOT NULL DEFAULT 0, + `RandomID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ScenarioID` smallint(5) unsigned NOT NULL DEFAULT 0, + `FinalEncounterID` smallint(5) unsigned NOT NULL DEFAULT 0, + `CountTank` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CountHealer` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CountDamage` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinCountTank` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinCountHealer` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinCountDamage` tinyint(3) unsigned NOT NULL DEFAULT 0, + `BonusReputationAmount` smallint(5) unsigned NOT NULL DEFAULT 0, + `MentorItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `MentorCharLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Flags1` int(11) NOT NULL DEFAULT 0, + `Flags2` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3713,11 +3804,11 @@ DROP TABLE IF EXISTS `lfg_dungeons_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lfg_dungeons_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `Description_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `Description_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3730,22 +3821,22 @@ DROP TABLE IF EXISTS `light`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `light` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `PosX` float NOT NULL DEFAULT '0', - `PosY` float NOT NULL DEFAULT '0', - `PosZ` float NOT NULL DEFAULT '0', - `FalloffStart` float NOT NULL DEFAULT '0', - `FalloffEnd` float NOT NULL DEFAULT '0', - `MapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `LightParamsID1` smallint(5) unsigned NOT NULL DEFAULT '0', - `LightParamsID2` smallint(5) unsigned NOT NULL DEFAULT '0', - `LightParamsID3` smallint(5) unsigned NOT NULL DEFAULT '0', - `LightParamsID4` smallint(5) unsigned NOT NULL DEFAULT '0', - `LightParamsID5` smallint(5) unsigned NOT NULL DEFAULT '0', - `LightParamsID6` smallint(5) unsigned NOT NULL DEFAULT '0', - `LightParamsID7` smallint(5) unsigned NOT NULL DEFAULT '0', - `LightParamsID8` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `GameCoordsX` float NOT NULL DEFAULT 0, + `GameCoordsY` float NOT NULL DEFAULT 0, + `GameCoordsZ` float NOT NULL DEFAULT 0, + `GameFalloffStart` float NOT NULL DEFAULT 0, + `GameFalloffEnd` float NOT NULL DEFAULT 0, + `ContinentID` smallint(6) NOT NULL DEFAULT 0, + `LightParamsID1` smallint(5) unsigned NOT NULL DEFAULT 0, + `LightParamsID2` smallint(5) unsigned NOT NULL DEFAULT 0, + `LightParamsID3` smallint(5) unsigned NOT NULL DEFAULT 0, + `LightParamsID4` smallint(5) unsigned NOT NULL DEFAULT 0, + `LightParamsID5` smallint(5) unsigned NOT NULL DEFAULT 0, + `LightParamsID6` smallint(5) unsigned NOT NULL DEFAULT 0, + `LightParamsID7` smallint(5) unsigned NOT NULL DEFAULT 0, + `LightParamsID8` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3758,75 +3849,64 @@ DROP TABLE IF EXISTS `liquid_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `liquid_type` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Texture1` text, - `Texture2` text, - `Texture3` text, - `Texture4` text, - `Texture5` text, - `Texture6` text, - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `MaxDarkenDepth` float NOT NULL DEFAULT '0', - `FogDarkenIntensity` float NOT NULL DEFAULT '0', - `AmbDarkenIntensity` float NOT NULL DEFAULT '0', - `DirDarkenIntensity` float NOT NULL DEFAULT '0', - `ParticleScale` float NOT NULL DEFAULT '0', - `Color1` int(10) unsigned NOT NULL DEFAULT '0', - `Color2` int(10) unsigned NOT NULL DEFAULT '0', - `Float1` float NOT NULL DEFAULT '0', - `Float2` float NOT NULL DEFAULT '0', - `Float3` float NOT NULL DEFAULT '0', - `Float4` float NOT NULL DEFAULT '0', - `Float5` float NOT NULL DEFAULT '0', - `Float6` float NOT NULL DEFAULT '0', - `Float7` float NOT NULL DEFAULT '0', - `Float8` float NOT NULL DEFAULT '0', - `Float9` float NOT NULL DEFAULT '0', - `Float10` float NOT NULL DEFAULT '0', - `Float11` float NOT NULL DEFAULT '0', - `Float12` float NOT NULL DEFAULT '0', - `Float13` float NOT NULL DEFAULT '0', - `Float14` float NOT NULL DEFAULT '0', - `Float15` float NOT NULL DEFAULT '0', - `Float16` float NOT NULL DEFAULT '0', - `Float17` float NOT NULL DEFAULT '0', - `Float18` float NOT NULL DEFAULT '0', - `Int1` int(10) unsigned NOT NULL DEFAULT '0', - `Int2` int(10) unsigned NOT NULL DEFAULT '0', - `Int3` int(10) unsigned NOT NULL DEFAULT '0', - `Int4` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `LightID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ParticleMovement` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ParticleTexSlots` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaterialID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DepthTexCount1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DepthTexCount2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DepthTexCount3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DepthTexCount4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DepthTexCount5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DepthTexCount6` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SoundID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Table structure for table `liquid_type_locale` --- - -DROP TABLE IF EXISTS `liquid_type_locale`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `liquid_type_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`,`locale`) + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `Texture1` text DEFAULT NULL, + `Texture2` text DEFAULT NULL, + `Texture3` text DEFAULT NULL, + `Texture4` text DEFAULT NULL, + `Texture5` text DEFAULT NULL, + `Texture6` text DEFAULT NULL, + `Flags` smallint(5) unsigned NOT NULL DEFAULT 0, + `SoundBank` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SoundID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(10) unsigned NOT NULL DEFAULT 0, + `MaxDarkenDepth` float NOT NULL DEFAULT 0, + `FogDarkenIntensity` float NOT NULL DEFAULT 0, + `AmbDarkenIntensity` float NOT NULL DEFAULT 0, + `DirDarkenIntensity` float NOT NULL DEFAULT 0, + `LightID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ParticleScale` float NOT NULL DEFAULT 0, + `ParticleMovement` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ParticleTexSlots` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MaterialID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinimapStaticCol` int(11) NOT NULL DEFAULT 0, + `FrameCountTexture1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `FrameCountTexture2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `FrameCountTexture3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `FrameCountTexture4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `FrameCountTexture5` tinyint(3) unsigned NOT NULL DEFAULT 0, + `FrameCountTexture6` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Color1` int(11) NOT NULL DEFAULT 0, + `Color2` int(11) NOT NULL DEFAULT 0, + `Float1` float NOT NULL DEFAULT 0, + `Float2` float NOT NULL DEFAULT 0, + `Float3` float NOT NULL DEFAULT 0, + `Float4` float NOT NULL DEFAULT 0, + `Float5` float NOT NULL DEFAULT 0, + `Float6` float NOT NULL DEFAULT 0, + `Float7` float NOT NULL DEFAULT 0, + `Float8` float NOT NULL DEFAULT 0, + `Float9` float NOT NULL DEFAULT 0, + `Float10` float NOT NULL DEFAULT 0, + `Float11` float NOT NULL DEFAULT 0, + `Float12` float NOT NULL DEFAULT 0, + `Float13` float NOT NULL DEFAULT 0, + `Float14` float NOT NULL DEFAULT 0, + `Float15` float NOT NULL DEFAULT 0, + `Float16` float NOT NULL DEFAULT 0, + `Float17` float NOT NULL DEFAULT 0, + `Float18` float NOT NULL DEFAULT 0, + `Int1` int(10) unsigned NOT NULL DEFAULT 0, + `Int2` int(10) unsigned NOT NULL DEFAULT 0, + `Int3` int(10) unsigned NOT NULL DEFAULT 0, + `Int4` int(10) unsigned NOT NULL DEFAULT 0, + `Coefficient1` float NOT NULL DEFAULT 0, + `Coefficient2` float NOT NULL DEFAULT 0, + `Coefficient3` float NOT NULL DEFAULT 0, + `Coefficient4` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3838,40 +3918,40 @@ DROP TABLE IF EXISTS `lock`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lock` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Index1` int(10) unsigned NOT NULL DEFAULT '0', - `Index2` int(10) unsigned NOT NULL DEFAULT '0', - `Index3` int(10) unsigned NOT NULL DEFAULT '0', - `Index4` int(10) unsigned NOT NULL DEFAULT '0', - `Index5` int(10) unsigned NOT NULL DEFAULT '0', - `Index6` int(10) unsigned NOT NULL DEFAULT '0', - `Index7` int(10) unsigned NOT NULL DEFAULT '0', - `Index8` int(10) unsigned NOT NULL DEFAULT '0', - `Skill1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Skill2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Skill3` smallint(5) unsigned NOT NULL DEFAULT '0', - `Skill4` smallint(5) unsigned NOT NULL DEFAULT '0', - `Skill5` smallint(5) unsigned NOT NULL DEFAULT '0', - `Skill6` smallint(5) unsigned NOT NULL DEFAULT '0', - `Skill7` smallint(5) unsigned NOT NULL DEFAULT '0', - `Skill8` smallint(5) unsigned NOT NULL DEFAULT '0', - `Type1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Type2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Type3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Type4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Type5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Type6` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Type7` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Type8` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Action1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Action2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Action3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Action4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Action5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Action6` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Action7` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Action8` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Index1` int(11) NOT NULL DEFAULT 0, + `Index2` int(11) NOT NULL DEFAULT 0, + `Index3` int(11) NOT NULL DEFAULT 0, + `Index4` int(11) NOT NULL DEFAULT 0, + `Index5` int(11) NOT NULL DEFAULT 0, + `Index6` int(11) NOT NULL DEFAULT 0, + `Index7` int(11) NOT NULL DEFAULT 0, + `Index8` int(11) NOT NULL DEFAULT 0, + `Skill1` smallint(5) unsigned NOT NULL DEFAULT 0, + `Skill2` smallint(5) unsigned NOT NULL DEFAULT 0, + `Skill3` smallint(5) unsigned NOT NULL DEFAULT 0, + `Skill4` smallint(5) unsigned NOT NULL DEFAULT 0, + `Skill5` smallint(5) unsigned NOT NULL DEFAULT 0, + `Skill6` smallint(5) unsigned NOT NULL DEFAULT 0, + `Skill7` smallint(5) unsigned NOT NULL DEFAULT 0, + `Skill8` smallint(5) unsigned NOT NULL DEFAULT 0, + `Type1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Type2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Type3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Type4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Type5` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Type6` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Type7` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Type8` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Action1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Action2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Action3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Action4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Action5` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Action6` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Action7` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Action8` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3884,9 +3964,9 @@ DROP TABLE IF EXISTS `mail_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `mail_template` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Body` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Body` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3899,10 +3979,10 @@ DROP TABLE IF EXISTS `mail_template_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `mail_template_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Body_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Body_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3915,31 +3995,33 @@ DROP TABLE IF EXISTS `map`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `map` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Directory` text, - `MapName` text, - `MapDescription0` text, - `MapDescription1` text, - `ShortDescription` text, - `LongDescription` text, - `Flags1` int(10) unsigned NOT NULL DEFAULT '0', - `Flags2` int(10) unsigned NOT NULL DEFAULT '0', - `MinimapIconScale` float NOT NULL DEFAULT '0', - `CorpsePosX` float NOT NULL DEFAULT '0', - `CorpsePosY` float NOT NULL DEFAULT '0', - `AreaTableID` smallint(5) unsigned NOT NULL DEFAULT '0', - `LoadingScreenID` smallint(5) unsigned NOT NULL DEFAULT '0', - `CorpseMapID` smallint(6) NOT NULL DEFAULT '0', - `TimeOfDayOverride` smallint(5) unsigned NOT NULL DEFAULT '0', - `ParentMapID` smallint(6) NOT NULL DEFAULT '0', - `CosmeticParentMapID` smallint(6) NOT NULL DEFAULT '0', - `WindSettingsID` smallint(5) unsigned NOT NULL DEFAULT '0', - `InstanceType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `unk5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ExpansionID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxPlayers` tinyint(3) unsigned NOT NULL DEFAULT '0', - `TimeOffset` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Directory` text DEFAULT NULL, + `MapName` text DEFAULT NULL, + `MapDescription0` text DEFAULT NULL, + `MapDescription1` text DEFAULT NULL, + `PvpShortDescription` text DEFAULT NULL, + `PvpLongDescription` text DEFAULT NULL, + `CorpseX` float NOT NULL DEFAULT 0, + `CorpseY` float NOT NULL DEFAULT 0, + `MapType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `InstanceType` tinyint(4) NOT NULL DEFAULT 0, + `ExpansionID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AreaTableID` smallint(5) unsigned NOT NULL DEFAULT 0, + `LoadingScreenID` smallint(6) NOT NULL DEFAULT 0, + `TimeOfDayOverride` smallint(6) NOT NULL DEFAULT 0, + `ParentMapID` smallint(6) NOT NULL DEFAULT 0, + `CosmeticParentMapID` smallint(6) NOT NULL DEFAULT 0, + `TimeOffset` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinimapIconScale` float NOT NULL DEFAULT 0, + `CorpseMapID` smallint(6) NOT NULL DEFAULT 0, + `MaxPlayers` tinyint(3) unsigned NOT NULL DEFAULT 0, + `WindSettingsID` smallint(6) NOT NULL DEFAULT 0, + `ZmpFileDataID` int(11) NOT NULL DEFAULT 0, + `WdtFileDataID` int(11) NOT NULL DEFAULT 0, + `Flags1` int(11) NOT NULL DEFAULT 0, + `Flags2` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3952,17 +4034,18 @@ DROP TABLE IF EXISTS `map_difficulty`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `map_difficulty` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Message` text, - `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RaidDurationType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxPlayers` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LockID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ItemBonusTreeModID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Context` int(10) unsigned NOT NULL DEFAULT '0', - `MapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Message` text DEFAULT NULL, + `DifficultyID` int(11) NOT NULL DEFAULT 0, + `LockID` int(11) NOT NULL DEFAULT 0, + `ResetInterval` tinyint(4) NOT NULL DEFAULT 0, + `MaxPlayers` int(11) NOT NULL DEFAULT 0, + `ItemContext` int(11) NOT NULL DEFAULT 0, + `ItemContextPickerID` int(11) NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `ContentTuningID` int(11) NOT NULL DEFAULT 0, + `MapID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3975,10 +4058,10 @@ DROP TABLE IF EXISTS `map_difficulty_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `map_difficulty_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Message_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Message_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3991,14 +4074,14 @@ DROP TABLE IF EXISTS `map_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `map_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `MapName_lang` text, - `MapDescription0_lang` text, - `MapDescription1_lang` text, - `ShortDescription_lang` text, - `LongDescription_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `MapName_lang` text DEFAULT NULL, + `MapDescription0_lang` text DEFAULT NULL, + `MapDescription1_lang` text DEFAULT NULL, + `PvpShortDescription_lang` text DEFAULT NULL, + `PvpLongDescription_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4011,15 +4094,15 @@ DROP TABLE IF EXISTS `modifier_tree`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `modifier_tree` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Asset1` int(10) unsigned NOT NULL DEFAULT '0', - `Asset2` int(10) unsigned NOT NULL DEFAULT '0', - `Parent` int(10) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Unk700` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Operator` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Amount` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Parent` int(10) unsigned NOT NULL DEFAULT 0, + `Operator` tinyint(4) NOT NULL DEFAULT 0, + `Amount` tinyint(4) NOT NULL DEFAULT 0, + `Type` int(11) NOT NULL DEFAULT 0, + `Asset` int(11) NOT NULL DEFAULT 0, + `SecondaryAsset` int(11) NOT NULL DEFAULT 0, + `TertiaryAsset` tinyint(4) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4032,18 +4115,18 @@ DROP TABLE IF EXISTS `mount`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `mount` ( - `Name` text, - `Description` text, - `SourceDescription` text, - `SpellId` int(10) unsigned NOT NULL DEFAULT '0', - `CameraPivotMultiplier` float NOT NULL DEFAULT '0', - `MountTypeId` smallint(5) unsigned NOT NULL DEFAULT '0', - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `Source` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `PlayerConditionId` int(10) unsigned NOT NULL DEFAULT '0', - `UiModelSceneID` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name` text DEFAULT NULL, + `SourceText` text DEFAULT NULL, + `Description` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `MountTypeID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Flags` smallint(5) unsigned NOT NULL DEFAULT 0, + `SourceTypeEnum` tinyint(4) NOT NULL DEFAULT 0, + `SourceSpellID` int(11) NOT NULL DEFAULT 0, + `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `MountFlyRideHeight` float NOT NULL DEFAULT 0, + `UiModelSceneID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4056,15 +4139,16 @@ DROP TABLE IF EXISTS `mount_capability`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `mount_capability` ( - `RequiredSpell` int(10) unsigned NOT NULL DEFAULT '0', - `SpeedModSpell` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredRidingSkill` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredArea` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredMap` smallint(6) NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredAura` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ReqRidingSkill` smallint(5) unsigned NOT NULL DEFAULT 0, + `ReqAreaID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ReqSpellAuraID` int(10) unsigned NOT NULL DEFAULT 0, + `ReqSpellKnownID` int(11) NOT NULL DEFAULT 0, + `ModSpellAuraID` int(11) NOT NULL DEFAULT 0, + `ReqMapID` smallint(6) NOT NULL DEFAULT 0, + `PlayerConditionID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4077,12 +4161,12 @@ DROP TABLE IF EXISTS `mount_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `mount_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `Description_lang` text, - `SourceDescription_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `SourceText_lang` text DEFAULT NULL, + `Description_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4095,11 +4179,11 @@ DROP TABLE IF EXISTS `mount_type_x_capability`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `mount_type_x_capability` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `MountTypeID` smallint(5) unsigned NOT NULL DEFAULT '0', - `MountCapabilityID` smallint(5) unsigned NOT NULL DEFAULT '0', - `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `MountTypeID` smallint(5) unsigned NOT NULL DEFAULT 0, + `MountCapabilityID` smallint(5) unsigned NOT NULL DEFAULT 0, + `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4112,11 +4196,11 @@ DROP TABLE IF EXISTS `mount_x_display`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `mount_x_display` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `DisplayID` int(10) unsigned NOT NULL DEFAULT '0', - `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT '0', - `MountID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `CreatureDisplayInfoID` int(11) NOT NULL DEFAULT 0, + `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `MountID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4129,12 +4213,12 @@ DROP TABLE IF EXISTS `movie`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `movie` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `AudioFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `SubtitleFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `Volume` tinyint(3) unsigned NOT NULL DEFAULT '0', - `KeyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Volume` tinyint(3) unsigned NOT NULL DEFAULT 0, + `KeyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AudioFileDataID` int(10) unsigned NOT NULL DEFAULT 0, + `SubtitleFileDataID` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4147,32 +4231,16 @@ DROP TABLE IF EXISTS `name_gen`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `name_gen` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Race` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Sex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `RaceID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Sex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `name_gen_locale` --- - -DROP TABLE IF EXISTS `name_gen_locale`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `name_gen_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`,`locale`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- -- Table structure for table `names_profanity` -- @@ -4180,10 +4248,10 @@ DROP TABLE IF EXISTS `names_profanity`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `names_profanity` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Language` tinyint(4) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `Language` tinyint(4) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4196,9 +4264,9 @@ DROP TABLE IF EXISTS `names_reserved`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `names_reserved` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4211,10 +4279,27 @@ DROP TABLE IF EXISTS `names_reserved_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `names_reserved_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `LocaleMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `LocaleMask` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `num_talents_at_level` +-- + +DROP TABLE IF EXISTS `num_talents_at_level`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `num_talents_at_level` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `NumTalents` int(11) NOT NULL DEFAULT 0, + `NumTalentsDeathKnight` int(11) NOT NULL DEFAULT 0, + `NumTalentsDemonHunter` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4227,20 +4312,20 @@ DROP TABLE IF EXISTS `override_spell_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `override_spell_data` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID1` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID2` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID3` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID4` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID5` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID6` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID7` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID8` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID9` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID10` int(10) unsigned NOT NULL DEFAULT '0', - `PlayerActionbarFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Spells1` int(11) NOT NULL DEFAULT 0, + `Spells2` int(11) NOT NULL DEFAULT 0, + `Spells3` int(11) NOT NULL DEFAULT 0, + `Spells4` int(11) NOT NULL DEFAULT 0, + `Spells5` int(11) NOT NULL DEFAULT 0, + `Spells6` int(11) NOT NULL DEFAULT 0, + `Spells7` int(11) NOT NULL DEFAULT 0, + `Spells8` int(11) NOT NULL DEFAULT 0, + `Spells9` int(11) NOT NULL DEFAULT 0, + `Spells10` int(11) NOT NULL DEFAULT 0, + `PlayerActionBarFileDataID` int(11) NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4253,9 +4338,9 @@ DROP TABLE IF EXISTS `phase`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `phase` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Flags` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4268,10 +4353,10 @@ DROP TABLE IF EXISTS `phase_x_phase_group`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `phase_x_phase_group` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `PhaseID` smallint(5) unsigned NOT NULL DEFAULT '0', - `PhaseGroupID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `PhaseID` smallint(5) unsigned NOT NULL DEFAULT 0, + `PhaseGroupID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4284,154 +4369,154 @@ DROP TABLE IF EXISTS `player_condition`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `player_condition` ( - `RaceMask` bigint(20) NOT NULL DEFAULT '0', - `FailureDescription` text, - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `MaxLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `ClassMask` int(11) NOT NULL DEFAULT '0', - `Gender` tinyint(4) NOT NULL DEFAULT '0', - `NativeGender` tinyint(4) NOT NULL DEFAULT '0', - `SkillLogic` int(10) unsigned NOT NULL DEFAULT '0', - `LanguageID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinLanguage` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxLanguage` int(11) NOT NULL DEFAULT '0', - `MaxFactionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `MaxReputation` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ReputationLogic` int(10) unsigned NOT NULL DEFAULT '0', - `Unknown1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinPVPRank` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxPVPRank` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PvpMedal` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PrevQuestLogic` int(10) unsigned NOT NULL DEFAULT '0', - `CurrQuestLogic` int(10) unsigned NOT NULL DEFAULT '0', - `CurrentCompletedQuestLogic` int(10) unsigned NOT NULL DEFAULT '0', - `SpellLogic` int(10) unsigned NOT NULL DEFAULT '0', - `ItemLogic` int(10) unsigned NOT NULL DEFAULT '0', - `ItemFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AuraSpellLogic` int(10) unsigned NOT NULL DEFAULT '0', - `WorldStateExpressionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `WeatherID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PartyStatus` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LifetimeMaxPVPRank` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AchievementLogic` int(10) unsigned NOT NULL DEFAULT '0', - `LfgLogic` int(10) unsigned NOT NULL DEFAULT '0', - `AreaLogic` int(10) unsigned NOT NULL DEFAULT '0', - `CurrencyLogic` int(10) unsigned NOT NULL DEFAULT '0', - `QuestKillID` smallint(5) unsigned NOT NULL DEFAULT '0', - `QuestKillLogic` int(10) unsigned NOT NULL DEFAULT '0', - `MinExpansionLevel` tinyint(4) NOT NULL DEFAULT '0', - `MaxExpansionLevel` tinyint(4) NOT NULL DEFAULT '0', - `MinExpansionTier` tinyint(4) NOT NULL DEFAULT '0', - `MaxExpansionTier` tinyint(4) NOT NULL DEFAULT '0', - `MinGuildLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxGuildLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PhaseUseFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PhaseID` smallint(5) unsigned NOT NULL DEFAULT '0', - `PhaseGroupID` int(10) unsigned NOT NULL DEFAULT '0', - `MinAvgItemLevel` int(11) NOT NULL DEFAULT '0', - `MaxAvgItemLevel` int(11) NOT NULL DEFAULT '0', - `MinAvgEquippedItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `MaxAvgEquippedItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `ChrSpecializationIndex` tinyint(4) NOT NULL DEFAULT '0', - `ChrSpecializationRole` tinyint(4) NOT NULL DEFAULT '0', - `PowerType` tinyint(4) NOT NULL DEFAULT '0', - `PowerTypeComp` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PowerTypeValue` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ModifierTreeID` int(10) unsigned NOT NULL DEFAULT '0', - `MainHandItemSubclassMask` int(11) NOT NULL DEFAULT '0', - `SkillID1` smallint(5) unsigned NOT NULL DEFAULT '0', - `SkillID2` smallint(5) unsigned NOT NULL DEFAULT '0', - `SkillID3` smallint(5) unsigned NOT NULL DEFAULT '0', - `SkillID4` smallint(5) unsigned NOT NULL DEFAULT '0', - `MinSkill1` smallint(5) unsigned NOT NULL DEFAULT '0', - `MinSkill2` smallint(5) unsigned NOT NULL DEFAULT '0', - `MinSkill3` smallint(5) unsigned NOT NULL DEFAULT '0', - `MinSkill4` smallint(5) unsigned NOT NULL DEFAULT '0', - `MaxSkill1` smallint(5) unsigned NOT NULL DEFAULT '0', - `MaxSkill2` smallint(5) unsigned NOT NULL DEFAULT '0', - `MaxSkill3` smallint(5) unsigned NOT NULL DEFAULT '0', - `MaxSkill4` smallint(5) unsigned NOT NULL DEFAULT '0', - `MinFactionID1` int(10) unsigned NOT NULL DEFAULT '0', - `MinFactionID2` int(10) unsigned NOT NULL DEFAULT '0', - `MinFactionID3` int(10) unsigned NOT NULL DEFAULT '0', - `MinReputation1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinReputation2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinReputation3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PrevQuestID1` smallint(5) unsigned NOT NULL DEFAULT '0', - `PrevQuestID2` smallint(5) unsigned NOT NULL DEFAULT '0', - `PrevQuestID3` smallint(5) unsigned NOT NULL DEFAULT '0', - `PrevQuestID4` smallint(5) unsigned NOT NULL DEFAULT '0', - `CurrQuestID1` smallint(5) unsigned NOT NULL DEFAULT '0', - `CurrQuestID2` smallint(5) unsigned NOT NULL DEFAULT '0', - `CurrQuestID3` smallint(5) unsigned NOT NULL DEFAULT '0', - `CurrQuestID4` smallint(5) unsigned NOT NULL DEFAULT '0', - `CurrentCompletedQuestID1` smallint(5) unsigned NOT NULL DEFAULT '0', - `CurrentCompletedQuestID2` smallint(5) unsigned NOT NULL DEFAULT '0', - `CurrentCompletedQuestID3` smallint(5) unsigned NOT NULL DEFAULT '0', - `CurrentCompletedQuestID4` smallint(5) unsigned NOT NULL DEFAULT '0', - `SpellID1` int(11) NOT NULL DEFAULT '0', - `SpellID2` int(11) NOT NULL DEFAULT '0', - `SpellID3` int(11) NOT NULL DEFAULT '0', - `SpellID4` int(11) NOT NULL DEFAULT '0', - `ItemID1` int(11) NOT NULL DEFAULT '0', - `ItemID2` int(11) NOT NULL DEFAULT '0', - `ItemID3` int(11) NOT NULL DEFAULT '0', - `ItemID4` int(11) NOT NULL DEFAULT '0', - `ItemCount1` int(10) unsigned NOT NULL DEFAULT '0', - `ItemCount2` int(10) unsigned NOT NULL DEFAULT '0', - `ItemCount3` int(10) unsigned NOT NULL DEFAULT '0', - `ItemCount4` int(10) unsigned NOT NULL DEFAULT '0', - `Explored1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Explored2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Time1` int(10) unsigned NOT NULL DEFAULT '0', - `Time2` int(10) unsigned NOT NULL DEFAULT '0', - `AuraSpellID1` int(10) unsigned NOT NULL DEFAULT '0', - `AuraSpellID2` int(10) unsigned NOT NULL DEFAULT '0', - `AuraSpellID3` int(10) unsigned NOT NULL DEFAULT '0', - `AuraSpellID4` int(10) unsigned NOT NULL DEFAULT '0', - `AuraCount1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AuraCount2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AuraCount3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AuraCount4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Achievement1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Achievement2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Achievement3` smallint(5) unsigned NOT NULL DEFAULT '0', - `Achievement4` smallint(5) unsigned NOT NULL DEFAULT '0', - `LfgStatus1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LfgStatus2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LfgStatus3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LfgStatus4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LfgCompare1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LfgCompare2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LfgCompare3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LfgCompare4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LfgValue1` int(10) unsigned NOT NULL DEFAULT '0', - `LfgValue2` int(10) unsigned NOT NULL DEFAULT '0', - `LfgValue3` int(10) unsigned NOT NULL DEFAULT '0', - `LfgValue4` int(10) unsigned NOT NULL DEFAULT '0', - `AreaID1` smallint(5) unsigned NOT NULL DEFAULT '0', - `AreaID2` smallint(5) unsigned NOT NULL DEFAULT '0', - `AreaID3` smallint(5) unsigned NOT NULL DEFAULT '0', - `AreaID4` smallint(5) unsigned NOT NULL DEFAULT '0', - `CurrencyID1` int(10) unsigned NOT NULL DEFAULT '0', - `CurrencyID2` int(10) unsigned NOT NULL DEFAULT '0', - `CurrencyID3` int(10) unsigned NOT NULL DEFAULT '0', - `CurrencyID4` int(10) unsigned NOT NULL DEFAULT '0', - `CurrencyCount1` int(10) unsigned NOT NULL DEFAULT '0', - `CurrencyCount2` int(10) unsigned NOT NULL DEFAULT '0', - `CurrencyCount3` int(10) unsigned NOT NULL DEFAULT '0', - `CurrencyCount4` int(10) unsigned NOT NULL DEFAULT '0', - `QuestKillMonster1` int(10) unsigned NOT NULL DEFAULT '0', - `QuestKillMonster2` int(10) unsigned NOT NULL DEFAULT '0', - `QuestKillMonster3` int(10) unsigned NOT NULL DEFAULT '0', - `QuestKillMonster4` int(10) unsigned NOT NULL DEFAULT '0', - `QuestKillMonster5` int(10) unsigned NOT NULL DEFAULT '0', - `QuestKillMonster6` int(10) unsigned NOT NULL DEFAULT '0', - `MovementFlags1` int(11) NOT NULL DEFAULT '0', - `MovementFlags2` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `RaceMask` bigint(20) NOT NULL DEFAULT 0, + `FailureDescription` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `MinLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `MaxLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `ClassMask` int(11) NOT NULL DEFAULT 0, + `SkillLogic` int(10) unsigned NOT NULL DEFAULT 0, + `LanguageID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinLanguage` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MaxLanguage` int(11) NOT NULL DEFAULT 0, + `MaxFactionID` smallint(5) unsigned NOT NULL DEFAULT 0, + `MaxReputation` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ReputationLogic` int(10) unsigned NOT NULL DEFAULT 0, + `CurrentPvpFaction` tinyint(4) NOT NULL DEFAULT 0, + `PvpMedal` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PrevQuestLogic` int(10) unsigned NOT NULL DEFAULT 0, + `CurrQuestLogic` int(10) unsigned NOT NULL DEFAULT 0, + `CurrentCompletedQuestLogic` int(10) unsigned NOT NULL DEFAULT 0, + `SpellLogic` int(10) unsigned NOT NULL DEFAULT 0, + `ItemLogic` int(10) unsigned NOT NULL DEFAULT 0, + `ItemFlags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AuraSpellLogic` int(10) unsigned NOT NULL DEFAULT 0, + `WorldStateExpressionID` smallint(5) unsigned NOT NULL DEFAULT 0, + `WeatherID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PartyStatus` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LifetimeMaxPVPRank` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AchievementLogic` int(10) unsigned NOT NULL DEFAULT 0, + `Gender` tinyint(4) NOT NULL DEFAULT 0, + `NativeGender` tinyint(4) NOT NULL DEFAULT 0, + `AreaLogic` int(10) unsigned NOT NULL DEFAULT 0, + `LfgLogic` int(10) unsigned NOT NULL DEFAULT 0, + `CurrencyLogic` int(10) unsigned NOT NULL DEFAULT 0, + `QuestKillID` smallint(5) unsigned NOT NULL DEFAULT 0, + `QuestKillLogic` int(10) unsigned NOT NULL DEFAULT 0, + `MinExpansionLevel` tinyint(4) NOT NULL DEFAULT 0, + `MaxExpansionLevel` tinyint(4) NOT NULL DEFAULT 0, + `MinAvgItemLevel` int(11) NOT NULL DEFAULT 0, + `MaxAvgItemLevel` int(11) NOT NULL DEFAULT 0, + `MinAvgEquippedItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `MaxAvgEquippedItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `PhaseUseFlags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PhaseID` smallint(5) unsigned NOT NULL DEFAULT 0, + `PhaseGroupID` int(10) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ChrSpecializationIndex` tinyint(4) NOT NULL DEFAULT 0, + `ChrSpecializationRole` tinyint(4) NOT NULL DEFAULT 0, + `ModifierTreeID` int(10) unsigned NOT NULL DEFAULT 0, + `PowerType` tinyint(4) NOT NULL DEFAULT 0, + `PowerTypeComp` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PowerTypeValue` tinyint(3) unsigned NOT NULL DEFAULT 0, + `WeaponSubclassMask` int(11) NOT NULL DEFAULT 0, + `MaxGuildLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinGuildLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MaxExpansionTier` tinyint(4) NOT NULL DEFAULT 0, + `MinExpansionTier` tinyint(4) NOT NULL DEFAULT 0, + `MinPVPRank` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MaxPVPRank` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SkillID1` smallint(5) unsigned NOT NULL DEFAULT 0, + `SkillID2` smallint(5) unsigned NOT NULL DEFAULT 0, + `SkillID3` smallint(5) unsigned NOT NULL DEFAULT 0, + `SkillID4` smallint(5) unsigned NOT NULL DEFAULT 0, + `MinSkill1` smallint(5) unsigned NOT NULL DEFAULT 0, + `MinSkill2` smallint(5) unsigned NOT NULL DEFAULT 0, + `MinSkill3` smallint(5) unsigned NOT NULL DEFAULT 0, + `MinSkill4` smallint(5) unsigned NOT NULL DEFAULT 0, + `MaxSkill1` smallint(5) unsigned NOT NULL DEFAULT 0, + `MaxSkill2` smallint(5) unsigned NOT NULL DEFAULT 0, + `MaxSkill3` smallint(5) unsigned NOT NULL DEFAULT 0, + `MaxSkill4` smallint(5) unsigned NOT NULL DEFAULT 0, + `MinFactionID1` int(10) unsigned NOT NULL DEFAULT 0, + `MinFactionID2` int(10) unsigned NOT NULL DEFAULT 0, + `MinFactionID3` int(10) unsigned NOT NULL DEFAULT 0, + `MinReputation1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinReputation2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinReputation3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PrevQuestID1` smallint(5) unsigned NOT NULL DEFAULT 0, + `PrevQuestID2` smallint(5) unsigned NOT NULL DEFAULT 0, + `PrevQuestID3` smallint(5) unsigned NOT NULL DEFAULT 0, + `PrevQuestID4` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrQuestID1` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrQuestID2` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrQuestID3` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrQuestID4` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrentCompletedQuestID1` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrentCompletedQuestID2` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrentCompletedQuestID3` smallint(5) unsigned NOT NULL DEFAULT 0, + `CurrentCompletedQuestID4` smallint(5) unsigned NOT NULL DEFAULT 0, + `SpellID1` int(11) NOT NULL DEFAULT 0, + `SpellID2` int(11) NOT NULL DEFAULT 0, + `SpellID3` int(11) NOT NULL DEFAULT 0, + `SpellID4` int(11) NOT NULL DEFAULT 0, + `ItemID1` int(11) NOT NULL DEFAULT 0, + `ItemID2` int(11) NOT NULL DEFAULT 0, + `ItemID3` int(11) NOT NULL DEFAULT 0, + `ItemID4` int(11) NOT NULL DEFAULT 0, + `ItemCount1` int(10) unsigned NOT NULL DEFAULT 0, + `ItemCount2` int(10) unsigned NOT NULL DEFAULT 0, + `ItemCount3` int(10) unsigned NOT NULL DEFAULT 0, + `ItemCount4` int(10) unsigned NOT NULL DEFAULT 0, + `Explored1` smallint(5) unsigned NOT NULL DEFAULT 0, + `Explored2` smallint(5) unsigned NOT NULL DEFAULT 0, + `Time1` int(10) unsigned NOT NULL DEFAULT 0, + `Time2` int(10) unsigned NOT NULL DEFAULT 0, + `AuraSpellID1` int(11) NOT NULL DEFAULT 0, + `AuraSpellID2` int(11) NOT NULL DEFAULT 0, + `AuraSpellID3` int(11) NOT NULL DEFAULT 0, + `AuraSpellID4` int(11) NOT NULL DEFAULT 0, + `AuraStacks1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AuraStacks2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AuraStacks3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AuraStacks4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Achievement1` smallint(5) unsigned NOT NULL DEFAULT 0, + `Achievement2` smallint(5) unsigned NOT NULL DEFAULT 0, + `Achievement3` smallint(5) unsigned NOT NULL DEFAULT 0, + `Achievement4` smallint(5) unsigned NOT NULL DEFAULT 0, + `AreaID1` smallint(5) unsigned NOT NULL DEFAULT 0, + `AreaID2` smallint(5) unsigned NOT NULL DEFAULT 0, + `AreaID3` smallint(5) unsigned NOT NULL DEFAULT 0, + `AreaID4` smallint(5) unsigned NOT NULL DEFAULT 0, + `LfgStatus1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LfgStatus2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LfgStatus3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LfgStatus4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LfgCompare1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LfgCompare2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LfgCompare3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LfgCompare4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LfgValue1` int(10) unsigned NOT NULL DEFAULT 0, + `LfgValue2` int(10) unsigned NOT NULL DEFAULT 0, + `LfgValue3` int(10) unsigned NOT NULL DEFAULT 0, + `LfgValue4` int(10) unsigned NOT NULL DEFAULT 0, + `CurrencyID1` int(10) unsigned NOT NULL DEFAULT 0, + `CurrencyID2` int(10) unsigned NOT NULL DEFAULT 0, + `CurrencyID3` int(10) unsigned NOT NULL DEFAULT 0, + `CurrencyID4` int(10) unsigned NOT NULL DEFAULT 0, + `CurrencyCount1` int(10) unsigned NOT NULL DEFAULT 0, + `CurrencyCount2` int(10) unsigned NOT NULL DEFAULT 0, + `CurrencyCount3` int(10) unsigned NOT NULL DEFAULT 0, + `CurrencyCount4` int(10) unsigned NOT NULL DEFAULT 0, + `QuestKillMonster1` int(10) unsigned NOT NULL DEFAULT 0, + `QuestKillMonster2` int(10) unsigned NOT NULL DEFAULT 0, + `QuestKillMonster3` int(10) unsigned NOT NULL DEFAULT 0, + `QuestKillMonster4` int(10) unsigned NOT NULL DEFAULT 0, + `QuestKillMonster5` int(10) unsigned NOT NULL DEFAULT 0, + `QuestKillMonster6` int(10) unsigned NOT NULL DEFAULT 0, + `MovementFlags1` int(11) NOT NULL DEFAULT 0, + `MovementFlags2` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4444,10 +4529,10 @@ DROP TABLE IF EXISTS `player_condition_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `player_condition_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `FailureDescription_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `FailureDescription_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4460,13 +4545,13 @@ DROP TABLE IF EXISTS `power_display`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `power_display` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `GlobalStringBaseTag` text, - `PowerType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Red` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Green` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Blue` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `GlobalStringBaseTag` text DEFAULT NULL, + `ActualType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Red` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Green` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Blue` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4479,20 +4564,20 @@ DROP TABLE IF EXISTS `power_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `power_type` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `PowerTypeToken` text, - `PowerCostToken` text, - `RegenerationPeace` float NOT NULL DEFAULT '0', - `RegenerationCombat` float NOT NULL DEFAULT '0', - `MaxPower` smallint(6) NOT NULL DEFAULT '0', - `RegenerationDelay` smallint(5) unsigned NOT NULL DEFAULT '0', - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `PowerTypeEnum` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RegenerationMin` tinyint(4) NOT NULL DEFAULT '0', - `RegenerationCenter` tinyint(4) NOT NULL DEFAULT '0', - `RegenerationMax` tinyint(4) NOT NULL DEFAULT '0', - `UIModifier` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `NameGlobalStringTag` text DEFAULT NULL, + `CostGlobalStringTag` text DEFAULT NULL, + `PowerTypeEnum` tinyint(4) NOT NULL DEFAULT 0, + `MinPower` tinyint(4) NOT NULL DEFAULT 0, + `MaxBasePower` smallint(6) NOT NULL DEFAULT 0, + `CenterPower` tinyint(4) NOT NULL DEFAULT 0, + `DefaultPower` tinyint(4) NOT NULL DEFAULT 0, + `DisplayModifier` tinyint(4) NOT NULL DEFAULT 0, + `RegenInterruptTimeMS` smallint(6) NOT NULL DEFAULT 0, + `RegenPeace` float NOT NULL DEFAULT 0, + `RegenCombat` float NOT NULL DEFAULT 0, + `Flags` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4505,12 +4590,13 @@ DROP TABLE IF EXISTS `prestige_level_info`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `prestige_level_info` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `PrestigeText` text, - `IconID` int(10) unsigned NOT NULL DEFAULT '0', - `PrestigeLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `PrestigeLevel` int(11) NOT NULL DEFAULT 0, + `BadgeTextureFileDataID` int(11) NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AwardedAchievementID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4523,10 +4609,10 @@ DROP TABLE IF EXISTS `prestige_level_info_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `prestige_level_info_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `PrestigeText_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4539,29 +4625,99 @@ DROP TABLE IF EXISTS `pvp_difficulty`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pvp_difficulty` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `BracketID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `RangeIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MaxLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MapID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `pvp_item` +-- + +DROP TABLE IF EXISTS `pvp_item`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `pvp_item` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID` int(11) NOT NULL DEFAULT 0, + `ItemLevelDelta` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `pvp_talent` +-- + +DROP TABLE IF EXISTS `pvp_talent`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `pvp_talent` ( + `Description` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SpecID` int(11) NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `OverridesSpellID` int(11) NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `ActionBarSpellID` int(11) NOT NULL DEFAULT 0, + `PvpTalentCategoryID` int(11) NOT NULL DEFAULT 0, + `LevelRequired` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `pvp_talent_category` +-- + +DROP TABLE IF EXISTS `pvp_talent_category`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `pvp_talent_category` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `TalentSlotMask` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `pvp_reward` +-- Table structure for table `pvp_talent_locale` -- -DROP TABLE IF EXISTS `pvp_reward`; +DROP TABLE IF EXISTS `pvp_talent_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `pvp_reward` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `HonorLevel` int(10) unsigned NOT NULL DEFAULT '0', - `Prestige` int(10) unsigned NOT NULL DEFAULT '0', - `RewardPackID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', +CREATE TABLE `pvp_talent_locale` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `locale` varchar(4) NOT NULL, + `Description_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`,`locale`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `pvp_talent_slot_unlock` +-- + +DROP TABLE IF EXISTS `pvp_talent_slot_unlock`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `pvp_talent_slot_unlock` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Slot` tinyint(4) NOT NULL DEFAULT 0, + `LevelRequired` int(11) NOT NULL DEFAULT 0, + `DeathKnightLevelRequired` int(11) NOT NULL DEFAULT 0, + `DemonHunterLevelRequired` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4574,18 +4730,18 @@ DROP TABLE IF EXISTS `quest_faction_reward`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_faction_reward` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `QuestRewFactionValue1` smallint(6) NOT NULL DEFAULT '0', - `QuestRewFactionValue2` smallint(6) NOT NULL DEFAULT '0', - `QuestRewFactionValue3` smallint(6) NOT NULL DEFAULT '0', - `QuestRewFactionValue4` smallint(6) NOT NULL DEFAULT '0', - `QuestRewFactionValue5` smallint(6) NOT NULL DEFAULT '0', - `QuestRewFactionValue6` smallint(6) NOT NULL DEFAULT '0', - `QuestRewFactionValue7` smallint(6) NOT NULL DEFAULT '0', - `QuestRewFactionValue8` smallint(6) NOT NULL DEFAULT '0', - `QuestRewFactionValue9` smallint(6) NOT NULL DEFAULT '0', - `QuestRewFactionValue10` smallint(6) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty1` smallint(6) NOT NULL DEFAULT 0, + `Difficulty2` smallint(6) NOT NULL DEFAULT 0, + `Difficulty3` smallint(6) NOT NULL DEFAULT 0, + `Difficulty4` smallint(6) NOT NULL DEFAULT 0, + `Difficulty5` smallint(6) NOT NULL DEFAULT 0, + `Difficulty6` smallint(6) NOT NULL DEFAULT 0, + `Difficulty7` smallint(6) NOT NULL DEFAULT 0, + `Difficulty8` smallint(6) NOT NULL DEFAULT 0, + `Difficulty9` smallint(6) NOT NULL DEFAULT 0, + `Difficulty10` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4598,18 +4754,18 @@ DROP TABLE IF EXISTS `quest_money_reward`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_money_reward` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Money1` int(10) unsigned NOT NULL DEFAULT '0', - `Money2` int(10) unsigned NOT NULL DEFAULT '0', - `Money3` int(10) unsigned NOT NULL DEFAULT '0', - `Money4` int(10) unsigned NOT NULL DEFAULT '0', - `Money5` int(10) unsigned NOT NULL DEFAULT '0', - `Money6` int(10) unsigned NOT NULL DEFAULT '0', - `Money7` int(10) unsigned NOT NULL DEFAULT '0', - `Money8` int(10) unsigned NOT NULL DEFAULT '0', - `Money9` int(10) unsigned NOT NULL DEFAULT '0', - `Money10` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty1` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty2` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty3` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty4` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty5` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty6` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty7` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty8` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty9` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty10` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4622,12 +4778,12 @@ DROP TABLE IF EXISTS `quest_package_item`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_package_item` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID` int(10) unsigned NOT NULL DEFAULT '0', - `QuestPackageID` smallint(5) unsigned NOT NULL DEFAULT '0', - `FilterType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ItemCount` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `PackageID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemID` int(11) NOT NULL DEFAULT 0, + `ItemQuantity` int(10) unsigned NOT NULL DEFAULT 0, + `DisplayType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4640,10 +4796,10 @@ DROP TABLE IF EXISTS `quest_sort`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_sort` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SortName` text, - `SortOrder` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SortName` text DEFAULT NULL, + `UiOrderIndex` tinyint(4) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4656,10 +4812,10 @@ DROP TABLE IF EXISTS `quest_sort_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_sort_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `SortName_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `SortName_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4672,9 +4828,9 @@ DROP TABLE IF EXISTS `quest_v2`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_v2` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `UniqueBitFlag` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `UniqueBitFlag` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4687,18 +4843,18 @@ DROP TABLE IF EXISTS `quest_xp`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_xp` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Exp1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Exp2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Exp3` smallint(5) unsigned NOT NULL DEFAULT '0', - `Exp4` smallint(5) unsigned NOT NULL DEFAULT '0', - `Exp5` smallint(5) unsigned NOT NULL DEFAULT '0', - `Exp6` smallint(5) unsigned NOT NULL DEFAULT '0', - `Exp7` smallint(5) unsigned NOT NULL DEFAULT '0', - `Exp8` smallint(5) unsigned NOT NULL DEFAULT '0', - `Exp9` smallint(5) unsigned NOT NULL DEFAULT '0', - `Exp10` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Difficulty1` smallint(5) unsigned NOT NULL DEFAULT 0, + `Difficulty2` smallint(5) unsigned NOT NULL DEFAULT 0, + `Difficulty3` smallint(5) unsigned NOT NULL DEFAULT 0, + `Difficulty4` smallint(5) unsigned NOT NULL DEFAULT 0, + `Difficulty5` smallint(5) unsigned NOT NULL DEFAULT 0, + `Difficulty6` smallint(5) unsigned NOT NULL DEFAULT 0, + `Difficulty7` smallint(5) unsigned NOT NULL DEFAULT 0, + `Difficulty8` smallint(5) unsigned NOT NULL DEFAULT 0, + `Difficulty9` smallint(5) unsigned NOT NULL DEFAULT 0, + `Difficulty10` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4711,23 +4867,25 @@ DROP TABLE IF EXISTS `rand_prop_points`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `rand_prop_points` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `EpicPropertiesPoints1` int(10) unsigned NOT NULL DEFAULT '0', - `EpicPropertiesPoints2` int(10) unsigned NOT NULL DEFAULT '0', - `EpicPropertiesPoints3` int(10) unsigned NOT NULL DEFAULT '0', - `EpicPropertiesPoints4` int(10) unsigned NOT NULL DEFAULT '0', - `EpicPropertiesPoints5` int(10) unsigned NOT NULL DEFAULT '0', - `RarePropertiesPoints1` int(10) unsigned NOT NULL DEFAULT '0', - `RarePropertiesPoints2` int(10) unsigned NOT NULL DEFAULT '0', - `RarePropertiesPoints3` int(10) unsigned NOT NULL DEFAULT '0', - `RarePropertiesPoints4` int(10) unsigned NOT NULL DEFAULT '0', - `RarePropertiesPoints5` int(10) unsigned NOT NULL DEFAULT '0', - `UncommonPropertiesPoints1` int(10) unsigned NOT NULL DEFAULT '0', - `UncommonPropertiesPoints2` int(10) unsigned NOT NULL DEFAULT '0', - `UncommonPropertiesPoints3` int(10) unsigned NOT NULL DEFAULT '0', - `UncommonPropertiesPoints4` int(10) unsigned NOT NULL DEFAULT '0', - `UncommonPropertiesPoints5` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DamageReplaceStat` int(11) NOT NULL DEFAULT 0, + `DamageSecondary` int(11) NOT NULL DEFAULT 0, + `Epic1` int(10) unsigned NOT NULL DEFAULT 0, + `Epic2` int(10) unsigned NOT NULL DEFAULT 0, + `Epic3` int(10) unsigned NOT NULL DEFAULT 0, + `Epic4` int(10) unsigned NOT NULL DEFAULT 0, + `Epic5` int(10) unsigned NOT NULL DEFAULT 0, + `Superior1` int(10) unsigned NOT NULL DEFAULT 0, + `Superior2` int(10) unsigned NOT NULL DEFAULT 0, + `Superior3` int(10) unsigned NOT NULL DEFAULT 0, + `Superior4` int(10) unsigned NOT NULL DEFAULT 0, + `Superior5` int(10) unsigned NOT NULL DEFAULT 0, + `Good1` int(10) unsigned NOT NULL DEFAULT 0, + `Good2` int(10) unsigned NOT NULL DEFAULT 0, + `Good3` int(10) unsigned NOT NULL DEFAULT 0, + `Good4` int(10) unsigned NOT NULL DEFAULT 0, + `Good5` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4740,64 +4898,64 @@ DROP TABLE IF EXISTS `reward_pack`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `reward_pack` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Money` int(10) unsigned NOT NULL DEFAULT '0', - `ArtifactXPMultiplier` float NOT NULL DEFAULT '0', - `ArtifactXPDifficulty` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ArtifactCategoryID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `TitleID` int(10) unsigned NOT NULL DEFAULT '0', - `Unused` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `CharTitleID` int(11) NOT NULL DEFAULT 0, + `Money` int(10) unsigned NOT NULL DEFAULT 0, + `ArtifactXPDifficulty` tinyint(4) NOT NULL DEFAULT 0, + `ArtifactXPMultiplier` float NOT NULL DEFAULT 0, + `ArtifactXPCategoryID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `TreasurePickerID` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `reward_pack_x_item` +-- Table structure for table `reward_pack_x_currency_type` -- -DROP TABLE IF EXISTS `reward_pack_x_item`; +DROP TABLE IF EXISTS `reward_pack_x_currency_type`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `reward_pack_x_item` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID` int(10) unsigned NOT NULL DEFAULT '0', - `Amount` int(10) unsigned NOT NULL DEFAULT '0', - `RewardPackID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', +CREATE TABLE `reward_pack_x_currency_type` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `CurrencyTypeID` int(10) unsigned NOT NULL DEFAULT 0, + `Quantity` int(11) NOT NULL DEFAULT 0, + `RewardPackID` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `ruleset_item_upgrade` +-- Table structure for table `reward_pack_x_item` -- -DROP TABLE IF EXISTS `ruleset_item_upgrade`; +DROP TABLE IF EXISTS `reward_pack_x_item`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `ruleset_item_upgrade` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ItemID` int(10) unsigned NOT NULL DEFAULT '0', - `ItemUpgradeID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', +CREATE TABLE `reward_pack_x_item` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID` int(11) NOT NULL DEFAULT 0, + `ItemQuantity` int(11) NOT NULL DEFAULT 0, + `RewardPackID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `sandbox_scaling` +-- Table structure for table `ruleset_item_upgrade` -- -DROP TABLE IF EXISTS `sandbox_scaling`; +DROP TABLE IF EXISTS `ruleset_item_upgrade`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `sandbox_scaling` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `MinLevel` int(10) unsigned NOT NULL DEFAULT '0', - `MaxLevel` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', +CREATE TABLE `ruleset_item_upgrade` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID` int(11) NOT NULL DEFAULT 0, + `ItemUpgradeID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4810,11 +4968,11 @@ DROP TABLE IF EXISTS `scaling_stat_distribution`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scaling_stat_distribution` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ItemLevelCurveID` smallint(5) unsigned NOT NULL DEFAULT '0', - `MinLevel` int(10) unsigned NOT NULL DEFAULT '0', - `MaxLevel` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `PlayerLevelToItemLevelCurveID` smallint(5) unsigned NOT NULL DEFAULT 0, + `MinLevel` int(11) NOT NULL DEFAULT 0, + `MaxLevel` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4827,12 +4985,13 @@ DROP TABLE IF EXISTS `scenario`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scenario` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Data` smallint(5) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `AreaTableID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Type` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `UiTextureKitID` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4845,10 +5004,10 @@ DROP TABLE IF EXISTS `scenario_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scenario_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4861,17 +5020,19 @@ DROP TABLE IF EXISTS `scenario_step`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scenario_step` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Description` text, - `Name` text, - `ScenarioID` smallint(5) unsigned NOT NULL DEFAULT '0', - `PreviousStepID` smallint(5) unsigned NOT NULL DEFAULT '0', - `QuestRewardID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Step` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CriteriaTreeID` int(10) unsigned NOT NULL DEFAULT '0', - `BonusRequiredStepID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Description` text DEFAULT NULL, + `Title` text DEFAULT NULL, + `ScenarioID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Criteriatreeid` int(10) unsigned NOT NULL DEFAULT 0, + `RewardQuestID` smallint(5) unsigned NOT NULL DEFAULT 0, + `RelatedStep` int(11) NOT NULL DEFAULT 0, + `Supersedes` smallint(5) unsigned NOT NULL DEFAULT 0, + `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VisibilityPlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `WidgetSetID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4884,11 +5045,11 @@ DROP TABLE IF EXISTS `scenario_step_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scenario_step_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Description_lang` text, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Description_lang` text DEFAULT NULL, + `Title_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4901,10 +5062,10 @@ DROP TABLE IF EXISTS `scene_script`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scene_script` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `PrevScriptId` smallint(5) unsigned NOT NULL DEFAULT '0', - `NextScriptId` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `FirstSceneScriptID` smallint(5) unsigned NOT NULL DEFAULT 0, + `NextSceneScriptID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4917,10 +5078,10 @@ DROP TABLE IF EXISTS `scene_script_global_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scene_script_global_text` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Script` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `Script` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4933,9 +5094,9 @@ DROP TABLE IF EXISTS `scene_script_package`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scene_script_package` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4948,10 +5109,10 @@ DROP TABLE IF EXISTS `scene_script_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scene_script_text` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Script` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `Script` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4964,16 +5125,20 @@ DROP TABLE IF EXISTS `skill_line`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `skill_line` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `DisplayName` text, - `Description` text, - `AlternateVerb` text, - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `CategoryID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CanLink` tinyint(3) unsigned NOT NULL DEFAULT '0', - `IconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `ParentSkillLineID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `DisplayName` text DEFAULT NULL, + `AlternateVerb` text DEFAULT NULL, + `Description` text DEFAULT NULL, + `HordeDisplayName` text DEFAULT NULL, + `OverrideSourceInfoDisplayName` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `CategoryID` tinyint(4) NOT NULL DEFAULT 0, + `SpellIconFileID` int(11) NOT NULL DEFAULT 0, + `CanLink` tinyint(4) NOT NULL DEFAULT 0, + `ParentSkillLineID` int(10) unsigned NOT NULL DEFAULT 0, + `ParentTierIndex` int(11) NOT NULL DEFAULT 0, + `Flags` smallint(5) unsigned NOT NULL DEFAULT 0, + `SpellBookSpellID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4986,21 +5151,22 @@ DROP TABLE IF EXISTS `skill_line_ability`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `skill_line_ability` ( - `RaceMask` bigint(20) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `SupercedesSpell` int(10) unsigned NOT NULL DEFAULT '0', - `SkillLine` smallint(5) unsigned NOT NULL DEFAULT '0', - `TrivialSkillLineRankHigh` smallint(5) unsigned NOT NULL DEFAULT '0', - `TrivialSkillLineRankLow` smallint(5) unsigned NOT NULL DEFAULT '0', - `UniqueBit` smallint(5) unsigned NOT NULL DEFAULT '0', - `TradeSkillCategoryID` smallint(5) unsigned NOT NULL DEFAULT '0', - `NumSkillUps` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ClassMask` int(11) NOT NULL DEFAULT '0', - `MinSkillLineRank` smallint(5) unsigned NOT NULL DEFAULT '0', - `AcquireMethod` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `RaceMask` bigint(20) NOT NULL DEFAULT 0, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SkillLine` smallint(6) NOT NULL DEFAULT 0, + `Spell` int(11) NOT NULL DEFAULT 0, + `MinSkillLineRank` smallint(6) NOT NULL DEFAULT 0, + `ClassMask` int(11) NOT NULL DEFAULT 0, + `SupercedesSpell` int(11) NOT NULL DEFAULT 0, + `AcquireMethod` tinyint(4) NOT NULL DEFAULT 0, + `TrivialSkillLineRankHigh` smallint(6) NOT NULL DEFAULT 0, + `TrivialSkillLineRankLow` smallint(6) NOT NULL DEFAULT 0, + `Flags` tinyint(4) NOT NULL DEFAULT 0, + `NumSkillUps` tinyint(4) NOT NULL DEFAULT 0, + `UniqueBit` smallint(6) NOT NULL DEFAULT 0, + `TradeSkillCategoryID` smallint(6) NOT NULL DEFAULT 0, + `SkillupSkillLineID` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5013,12 +5179,13 @@ DROP TABLE IF EXISTS `skill_line_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `skill_line_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `DisplayName_lang` text, - `Description_lang` text, - `AlternateVerb_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `DisplayName_lang` text DEFAULT NULL, + `AlternateVerb_lang` text DEFAULT NULL, + `Description_lang` text DEFAULT NULL, + `HordeDisplayName_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5031,15 +5198,15 @@ DROP TABLE IF EXISTS `skill_race_class_info`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `skill_race_class_info` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `RaceMask` bigint(20) NOT NULL DEFAULT '0', - `SkillID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `SkillTierID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Availability` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ClassMask` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `RaceMask` bigint(20) NOT NULL DEFAULT 0, + `SkillID` smallint(6) NOT NULL DEFAULT 0, + `ClassMask` int(11) NOT NULL DEFAULT 0, + `Flags` smallint(5) unsigned NOT NULL DEFAULT 0, + `Availability` tinyint(4) NOT NULL DEFAULT 0, + `MinLevel` tinyint(4) NOT NULL DEFAULT 0, + `SkillTierID` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5052,23 +5219,23 @@ DROP TABLE IF EXISTS `sound_kit`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `sound_kit` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VolumeFloat` float NOT NULL DEFAULT '0', - `MinDistance` float NOT NULL DEFAULT '0', - `DistanceCutoff` float NOT NULL DEFAULT '0', - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `SoundEntriesAdvancedID` smallint(5) unsigned NOT NULL DEFAULT '0', - `SoundType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DialogType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `EAXDef` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VolumeVariationPlus` float NOT NULL DEFAULT '0', - `VolumeVariationMinus` float NOT NULL DEFAULT '0', - `PitchVariationPlus` float NOT NULL DEFAULT '0', - `PitchVariationMinus` float NOT NULL DEFAULT '0', - `PitchAdjust` float NOT NULL DEFAULT '0', - `BusOverwriteID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Unk700` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SoundType` int(11) NOT NULL DEFAULT 0, + `VolumeFloat` float NOT NULL DEFAULT 0, + `Flags` smallint(5) unsigned NOT NULL DEFAULT 0, + `MinDistance` float NOT NULL DEFAULT 0, + `DistanceCutoff` float NOT NULL DEFAULT 0, + `EAXDef` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SoundKitAdvancedID` int(10) unsigned NOT NULL DEFAULT 0, + `VolumeVariationPlus` float NOT NULL DEFAULT 0, + `VolumeVariationMinus` float NOT NULL DEFAULT 0, + `PitchVariationPlus` float NOT NULL DEFAULT 0, + `PitchVariationMinus` float NOT NULL DEFAULT 0, + `DialogType` tinyint(4) NOT NULL DEFAULT 0, + `PitchAdjust` float NOT NULL DEFAULT 0, + `BusOverwriteID` smallint(5) unsigned NOT NULL DEFAULT 0, + `MaxInstances` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5081,13 +5248,13 @@ DROP TABLE IF EXISTS `specialization_spells`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `specialization_spells` ( - `Description` text, - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `OverridesSpellID` int(10) unsigned NOT NULL DEFAULT '0', - `SpecID` smallint(5) unsigned NOT NULL DEFAULT '0', - `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Description` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SpecID` smallint(5) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `OverridesSpellID` int(11) NOT NULL DEFAULT 0, + `DisplayOrder` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5100,33 +5267,15 @@ DROP TABLE IF EXISTS `specialization_spells_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `specialization_spells_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Description_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Description_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `spell` --- - -DROP TABLE IF EXISTS `spell`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `spell` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `NameSubtext` text, - `Description` text, - `AuraDescription` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- -- Table structure for table `spell_aura_options` -- @@ -5134,16 +5283,17 @@ DROP TABLE IF EXISTS `spell_aura_options`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_aura_options` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ProcCharges` int(10) unsigned NOT NULL DEFAULT '0', - `ProcTypeMask` int(10) unsigned NOT NULL DEFAULT '0', - `ProcCategoryRecovery` int(10) unsigned NOT NULL DEFAULT '0', - `CumulativeAura` smallint(5) unsigned NOT NULL DEFAULT '0', - `SpellProcsPerMinuteID` smallint(5) unsigned NOT NULL DEFAULT '0', - `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ProcChance` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CumulativeAura` smallint(5) unsigned NOT NULL DEFAULT 0, + `ProcCategoryRecovery` int(11) NOT NULL DEFAULT 0, + `ProcChance` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ProcCharges` int(11) NOT NULL DEFAULT 0, + `SpellProcsPerMinuteID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ProcTypeMask1` int(11) NOT NULL DEFAULT 0, + `ProcTypeMask2` int(11) NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5156,18 +5306,18 @@ DROP TABLE IF EXISTS `spell_aura_restrictions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_aura_restrictions` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `CasterAuraSpell` int(10) unsigned NOT NULL DEFAULT '0', - `TargetAuraSpell` int(10) unsigned NOT NULL DEFAULT '0', - `ExcludeCasterAuraSpell` int(10) unsigned NOT NULL DEFAULT '0', - `ExcludeTargetAuraSpell` int(10) unsigned NOT NULL DEFAULT '0', - `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CasterAuraState` tinyint(3) unsigned NOT NULL DEFAULT '0', - `TargetAuraState` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ExcludeCasterAuraState` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ExcludeTargetAuraState` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CasterAuraState` tinyint(3) unsigned NOT NULL DEFAULT 0, + `TargetAuraState` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ExcludeCasterAuraState` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ExcludeTargetAuraState` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CasterAuraSpell` int(11) NOT NULL DEFAULT 0, + `TargetAuraSpell` int(11) NOT NULL DEFAULT 0, + `ExcludeCasterAuraSpell` int(11) NOT NULL DEFAULT 0, + `ExcludeTargetAuraSpell` int(11) NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5180,11 +5330,11 @@ DROP TABLE IF EXISTS `spell_cast_times`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_cast_times` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `CastTime` int(11) NOT NULL DEFAULT '0', - `MinCastTime` int(11) NOT NULL DEFAULT '0', - `CastTimePerLevel` smallint(6) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Base` int(11) NOT NULL DEFAULT 0, + `PerLevel` smallint(6) NOT NULL DEFAULT 0, + `Minimum` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5197,15 +5347,15 @@ DROP TABLE IF EXISTS `spell_casting_requirements`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_casting_requirements` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `MinFactionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredAreasID` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiresSpellFocus` smallint(5) unsigned NOT NULL DEFAULT '0', - `FacingCasterFlags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinReputation` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RequiredAuraVision` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `FacingCasterFlags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinFactionID` smallint(5) unsigned NOT NULL DEFAULT 0, + `MinReputation` tinyint(4) NOT NULL DEFAULT 0, + `RequiredAreasID` smallint(5) unsigned NOT NULL DEFAULT 0, + `RequiredAuraVision` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RequiresSpellFocus` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5218,17 +5368,17 @@ DROP TABLE IF EXISTS `spell_categories`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_categories` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Category` smallint(5) unsigned NOT NULL DEFAULT '0', - `StartRecoveryCategory` smallint(5) unsigned NOT NULL DEFAULT '0', - `ChargeCategory` smallint(5) unsigned NOT NULL DEFAULT '0', - `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DefenseType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DispelType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Mechanic` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PreventionType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Category` smallint(6) NOT NULL DEFAULT 0, + `DefenseType` tinyint(4) NOT NULL DEFAULT 0, + `DispelType` tinyint(4) NOT NULL DEFAULT 0, + `Mechanic` tinyint(4) NOT NULL DEFAULT 0, + `PreventionType` tinyint(4) NOT NULL DEFAULT 0, + `StartRecoveryCategory` smallint(6) NOT NULL DEFAULT 0, + `ChargeCategory` smallint(6) NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5241,14 +5391,14 @@ DROP TABLE IF EXISTS `spell_category`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_category` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `ChargeRecoveryTime` int(11) NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `UsesPerWeek` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxCharges` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ChargeCategoryType` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `Flags` tinyint(4) NOT NULL DEFAULT 0, + `UsesPerWeek` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MaxCharges` tinyint(4) NOT NULL DEFAULT 0, + `ChargeRecoveryTime` int(11) NOT NULL DEFAULT 0, + `TypeMask` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5261,10 +5411,10 @@ DROP TABLE IF EXISTS `spell_category_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_category_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5277,15 +5427,15 @@ DROP TABLE IF EXISTS `spell_class_options`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_class_options` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellClassMask1` int(10) unsigned NOT NULL DEFAULT '0', - `SpellClassMask2` int(10) unsigned NOT NULL DEFAULT '0', - `SpellClassMask3` int(10) unsigned NOT NULL DEFAULT '0', - `SpellClassMask4` int(10) unsigned NOT NULL DEFAULT '0', - `SpellClassSet` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ModalNextSpell` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `ModalNextSpell` int(10) unsigned NOT NULL DEFAULT 0, + `SpellClassSet` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SpellClassMask1` int(11) NOT NULL DEFAULT 0, + `SpellClassMask2` int(11) NOT NULL DEFAULT 0, + `SpellClassMask3` int(11) NOT NULL DEFAULT 0, + `SpellClassMask4` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5298,13 +5448,13 @@ DROP TABLE IF EXISTS `spell_cooldowns`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_cooldowns` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `CategoryRecoveryTime` int(10) unsigned NOT NULL DEFAULT '0', - `RecoveryTime` int(10) unsigned NOT NULL DEFAULT '0', - `StartRecoveryTime` int(10) unsigned NOT NULL DEFAULT '0', - `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CategoryRecoveryTime` int(11) NOT NULL DEFAULT 0, + `RecoveryTime` int(11) NOT NULL DEFAULT 0, + `StartRecoveryTime` int(11) NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5317,11 +5467,11 @@ DROP TABLE IF EXISTS `spell_duration`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_duration` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Duration` int(11) NOT NULL DEFAULT '0', - `MaxDuration` int(11) NOT NULL DEFAULT '0', - `DurationPerLevel` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Duration` int(11) NOT NULL DEFAULT 0, + `DurationPerLevel` int(10) unsigned NOT NULL DEFAULT 0, + `MaxDuration` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5334,43 +5484,42 @@ DROP TABLE IF EXISTS `spell_effect`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_effect` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Effect` int(10) unsigned NOT NULL DEFAULT '0', - `EffectBasePoints` int(11) NOT NULL DEFAULT '0', - `EffectIndex` int(10) unsigned NOT NULL DEFAULT '0', - `EffectAura` int(10) unsigned NOT NULL DEFAULT '0', - `DifficultyID` int(10) unsigned NOT NULL DEFAULT '0', - `EffectAmplitude` float NOT NULL DEFAULT '0', - `EffectAuraPeriod` int(10) unsigned NOT NULL DEFAULT '0', - `EffectBonusCoefficient` float NOT NULL DEFAULT '0', - `EffectChainAmplitude` float NOT NULL DEFAULT '0', - `EffectChainTargets` int(10) unsigned NOT NULL DEFAULT '0', - `EffectDieSides` int(11) NOT NULL DEFAULT '0', - `EffectItemType` int(10) unsigned NOT NULL DEFAULT '0', - `EffectMechanic` int(10) unsigned NOT NULL DEFAULT '0', - `EffectPointsPerResource` float NOT NULL DEFAULT '0', - `EffectRealPointsPerLevel` float NOT NULL DEFAULT '0', - `EffectTriggerSpell` int(10) unsigned NOT NULL DEFAULT '0', - `EffectPosFacing` float NOT NULL DEFAULT '0', - `EffectAttributes` int(10) unsigned NOT NULL DEFAULT '0', - `BonusCoefficientFromAP` float NOT NULL DEFAULT '0', - `PvPMultiplier` float NOT NULL DEFAULT '0', - `Coefficient` float NOT NULL DEFAULT '0', - `Variance` float NOT NULL DEFAULT '0', - `ResourceCoefficient` float NOT NULL DEFAULT '0', - `GroupSizeCoefficient` float NOT NULL DEFAULT '0', - `EffectSpellClassMask1` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMask2` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMask3` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMask4` int(10) unsigned NOT NULL DEFAULT '0', - `EffectMiscValue` int(11) NOT NULL DEFAULT '0', - `EffectMiscValueB` int(11) NOT NULL DEFAULT '0', - `EffectRadiusIndex` int(10) unsigned NOT NULL DEFAULT '0', - `EffectRadiusMaxIndex` int(10) unsigned NOT NULL DEFAULT '0', - `ImplicitTarget1` int(10) unsigned NOT NULL DEFAULT '0', - `ImplicitTarget2` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DifficultyID` int(11) NOT NULL DEFAULT 0, + `EffectIndex` int(11) NOT NULL DEFAULT 0, + `Effect` int(10) unsigned NOT NULL DEFAULT 0, + `EffectAmplitude` float NOT NULL DEFAULT 0, + `EffectAttributes` int(11) NOT NULL DEFAULT 0, + `EffectAura` smallint(6) NOT NULL DEFAULT 0, + `EffectAuraPeriod` int(11) NOT NULL DEFAULT 0, + `EffectBonusCoefficient` float NOT NULL DEFAULT 0, + `EffectChainAmplitude` float NOT NULL DEFAULT 0, + `EffectChainTargets` int(11) NOT NULL DEFAULT 0, + `EffectItemType` int(11) NOT NULL DEFAULT 0, + `EffectMechanic` int(11) NOT NULL DEFAULT 0, + `EffectPointsPerResource` float NOT NULL DEFAULT 0, + `EffectPosFacing` float NOT NULL DEFAULT 0, + `EffectRealPointsPerLevel` float NOT NULL DEFAULT 0, + `EffectTriggerSpell` int(11) NOT NULL DEFAULT 0, + `BonusCoefficientFromAP` float NOT NULL DEFAULT 0, + `PvpMultiplier` float NOT NULL DEFAULT 0, + `Coefficient` float NOT NULL DEFAULT 0, + `Variance` float NOT NULL DEFAULT 0, + `ResourceCoefficient` float NOT NULL DEFAULT 0, + `GroupSizeBasePointsCoefficient` float NOT NULL DEFAULT 0, + `EffectBasePoints` float NOT NULL DEFAULT 0, + `EffectMiscValue1` int(11) NOT NULL DEFAULT 0, + `EffectMiscValue2` int(11) NOT NULL DEFAULT 0, + `EffectRadiusIndex1` int(10) unsigned NOT NULL DEFAULT 0, + `EffectRadiusIndex2` int(10) unsigned NOT NULL DEFAULT 0, + `EffectSpellClassMask1` int(11) NOT NULL DEFAULT 0, + `EffectSpellClassMask2` int(11) NOT NULL DEFAULT 0, + `EffectSpellClassMask3` int(11) NOT NULL DEFAULT 0, + `EffectSpellClassMask4` int(11) NOT NULL DEFAULT 0, + `ImplicitTarget1` smallint(6) NOT NULL DEFAULT 0, + `ImplicitTarget2` smallint(6) NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5383,12 +5532,12 @@ DROP TABLE IF EXISTS `spell_equipped_items`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_equipped_items` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `EquippedItemInventoryTypeMask` int(11) NOT NULL DEFAULT '0', - `EquippedItemSubClassMask` int(11) NOT NULL DEFAULT '0', - `EquippedItemClass` tinyint(4) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `EquippedItemClass` tinyint(4) NOT NULL DEFAULT 0, + `EquippedItemInvTypes` int(11) NOT NULL DEFAULT 0, + `EquippedItemSubclass` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5401,9 +5550,9 @@ DROP TABLE IF EXISTS `spell_focus_object`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_focus_object` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5416,10 +5565,10 @@ DROP TABLE IF EXISTS `spell_focus_object_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_focus_object_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5432,15 +5581,15 @@ DROP TABLE IF EXISTS `spell_interrupts`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_interrupts` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `InterruptFlags` smallint(5) unsigned NOT NULL DEFAULT '0', - `AuraInterruptFlags1` int(10) unsigned NOT NULL DEFAULT '0', - `AuraInterruptFlags2` int(10) unsigned NOT NULL DEFAULT '0', - `ChannelInterruptFlags1` int(10) unsigned NOT NULL DEFAULT '0', - `ChannelInterruptFlags2` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `InterruptFlags` smallint(6) NOT NULL DEFAULT 0, + `AuraInterruptFlags1` int(11) NOT NULL DEFAULT 0, + `AuraInterruptFlags2` int(11) NOT NULL DEFAULT 0, + `ChannelInterruptFlags1` int(11) NOT NULL DEFAULT 0, + `ChannelInterruptFlags2` int(11) NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5453,35 +5602,36 @@ DROP TABLE IF EXISTS `spell_item_enchantment`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_item_enchantment` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `EffectSpellID1` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellID2` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellID3` int(10) unsigned NOT NULL DEFAULT '0', - `EffectScalingPoints1` float NOT NULL DEFAULT '0', - `EffectScalingPoints2` float NOT NULL DEFAULT '0', - `EffectScalingPoints3` float NOT NULL DEFAULT '0', - `TransmogCost` int(10) unsigned NOT NULL DEFAULT '0', - `TextureFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `EffectPointsMin1` smallint(5) unsigned NOT NULL DEFAULT '0', - `EffectPointsMin2` smallint(5) unsigned NOT NULL DEFAULT '0', - `EffectPointsMin3` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemVisual` smallint(5) unsigned NOT NULL DEFAULT '0', - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSkillID` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredSkillRank` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `Charges` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Effect1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Effect2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Effect3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ConditionID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ScalingClass` tinyint(4) NOT NULL DEFAULT '0', - `ScalingClassRestricted` tinyint(4) NOT NULL DEFAULT '0', - `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `HordeName` text DEFAULT NULL, + `EffectArg1` int(10) unsigned NOT NULL DEFAULT 0, + `EffectArg2` int(10) unsigned NOT NULL DEFAULT 0, + `EffectArg3` int(10) unsigned NOT NULL DEFAULT 0, + `EffectScalingPoints1` float NOT NULL DEFAULT 0, + `EffectScalingPoints2` float NOT NULL DEFAULT 0, + `EffectScalingPoints3` float NOT NULL DEFAULT 0, + `TransmogPlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `TransmogCost` int(10) unsigned NOT NULL DEFAULT 0, + `IconFileDataID` int(10) unsigned NOT NULL DEFAULT 0, + `EffectPointsMin1` smallint(6) NOT NULL DEFAULT 0, + `EffectPointsMin2` smallint(6) NOT NULL DEFAULT 0, + `EffectPointsMin3` smallint(6) NOT NULL DEFAULT 0, + `ItemVisual` smallint(5) unsigned NOT NULL DEFAULT 0, + `Flags` smallint(5) unsigned NOT NULL DEFAULT 0, + `RequiredSkillID` smallint(5) unsigned NOT NULL DEFAULT 0, + `RequiredSkillRank` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemLevel` smallint(5) unsigned NOT NULL DEFAULT 0, + `Charges` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Effect1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Effect2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Effect3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ScalingClass` tinyint(4) NOT NULL DEFAULT 0, + `ScalingClassRestricted` tinyint(4) NOT NULL DEFAULT 0, + `ConditionID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MaxLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5494,38 +5644,38 @@ DROP TABLE IF EXISTS `spell_item_enchantment_condition`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_item_enchantment_condition` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `LTOperand1` int(10) unsigned NOT NULL DEFAULT '0', - `LTOperand2` int(10) unsigned NOT NULL DEFAULT '0', - `LTOperand3` int(10) unsigned NOT NULL DEFAULT '0', - `LTOperand4` int(10) unsigned NOT NULL DEFAULT '0', - `LTOperand5` int(10) unsigned NOT NULL DEFAULT '0', - `LTOperandType1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LTOperandType2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LTOperandType3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LTOperandType4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LTOperandType5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Operator1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Operator2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Operator3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Operator4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Operator5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RTOperandType1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RTOperandType2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RTOperandType3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RTOperandType4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RTOperandType5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RTOperand1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RTOperand2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RTOperand3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RTOperand4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `RTOperand5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Logic1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Logic2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Logic3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Logic4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Logic5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `LtOperandType1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LtOperandType2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LtOperandType3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LtOperandType4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LtOperandType5` tinyint(3) unsigned NOT NULL DEFAULT 0, + `LtOperand1` int(10) unsigned NOT NULL DEFAULT 0, + `LtOperand2` int(10) unsigned NOT NULL DEFAULT 0, + `LtOperand3` int(10) unsigned NOT NULL DEFAULT 0, + `LtOperand4` int(10) unsigned NOT NULL DEFAULT 0, + `LtOperand5` int(10) unsigned NOT NULL DEFAULT 0, + `Operator1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Operator2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Operator3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Operator4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Operator5` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RtOperandType1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RtOperandType2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RtOperandType3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RtOperandType4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RtOperandType5` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RtOperand1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RtOperand2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RtOperand3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RtOperand4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RtOperand5` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Logic1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Logic2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Logic3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Logic4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Logic5` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5538,10 +5688,11 @@ DROP TABLE IF EXISTS `spell_item_enchantment_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_item_enchantment_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `HordeName_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5554,11 +5705,11 @@ DROP TABLE IF EXISTS `spell_learn_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_learn_spell` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `LearnSpellID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `OverridesSpellID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `LearnSpellID` int(11) NOT NULL DEFAULT 0, + `OverridesSpellID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5571,76 +5722,90 @@ DROP TABLE IF EXISTS `spell_levels`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_levels` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `BaseLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `MaxLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `SpellLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxUsableLevel` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `BaseLevel` smallint(6) NOT NULL DEFAULT 0, + `MaxLevel` smallint(6) NOT NULL DEFAULT 0, + `SpellLevel` smallint(6) NOT NULL DEFAULT 0, + `MaxPassiveAuraLevel` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `spell_locale` +-- Table structure for table `spell_misc` -- -DROP TABLE IF EXISTS `spell_locale`; +DROP TABLE IF EXISTS `spell_misc`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `spell_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `locale` varchar(4) NOT NULL, - `Name_lang` text, - `NameSubtext_lang` text, - `Description_lang` text, - `AuraDescription_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`,`locale`) +CREATE TABLE `spell_misc` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CastingTimeIndex` smallint(5) unsigned NOT NULL DEFAULT 0, + `DurationIndex` smallint(5) unsigned NOT NULL DEFAULT 0, + `RangeIndex` smallint(5) unsigned NOT NULL DEFAULT 0, + `SchoolMask` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Speed` float NOT NULL DEFAULT 0, + `LaunchDelay` float NOT NULL DEFAULT 0, + `MinDuration` float NOT NULL DEFAULT 0, + `SpellIconFileDataID` int(11) NOT NULL DEFAULT 0, + `ActiveIconFileDataID` int(11) NOT NULL DEFAULT 0, + `ContentTuningID` int(11) NOT NULL DEFAULT 0, + `Attributes1` int(11) NOT NULL DEFAULT 0, + `Attributes2` int(11) NOT NULL DEFAULT 0, + `Attributes3` int(11) NOT NULL DEFAULT 0, + `Attributes4` int(11) NOT NULL DEFAULT 0, + `Attributes5` int(11) NOT NULL DEFAULT 0, + `Attributes6` int(11) NOT NULL DEFAULT 0, + `Attributes7` int(11) NOT NULL DEFAULT 0, + `Attributes8` int(11) NOT NULL DEFAULT 0, + `Attributes9` int(11) NOT NULL DEFAULT 0, + `Attributes10` int(11) NOT NULL DEFAULT 0, + `Attributes11` int(11) NOT NULL DEFAULT 0, + `Attributes12` int(11) NOT NULL DEFAULT 0, + `Attributes13` int(11) NOT NULL DEFAULT 0, + `Attributes14` int(11) NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `spell_misc` +-- Table structure for table `spell_name` -- -DROP TABLE IF EXISTS `spell_misc`; +DROP TABLE IF EXISTS `spell_name`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `spell_misc` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `CastingTimeIndex` smallint(5) unsigned NOT NULL DEFAULT '0', - `DurationIndex` smallint(5) unsigned NOT NULL DEFAULT '0', - `RangeIndex` smallint(5) unsigned NOT NULL DEFAULT '0', - `SchoolMask` tinyint(3) unsigned NOT NULL DEFAULT '0', - `IconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `Speed` float NOT NULL DEFAULT '0', - `ActiveIconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `MultistrikeSpeedMod` float NOT NULL DEFAULT '0', - `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Attributes` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesExB` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesExC` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesExD` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesExE` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesExF` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesExG` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesExH` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesExI` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesExJ` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesExK` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesExL` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesExM` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', +CREATE TABLE `spell_name` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- +-- Table structure for table `spell_name_locale` +-- + +DROP TABLE IF EXISTS `spell_name_locale`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_name_locale` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `locale` varchar(4) NOT NULL, + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`,`locale`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- -- Table structure for table `spell_power` -- @@ -5648,21 +5813,21 @@ DROP TABLE IF EXISTS `spell_power`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_power` ( - `ManaCost` int(11) NOT NULL DEFAULT '0', - `ManaCostPercentage` float NOT NULL DEFAULT '0', - `ManaCostPercentagePerSecond` float NOT NULL DEFAULT '0', - `RequiredAura` int(10) unsigned NOT NULL DEFAULT '0', - `HealthCostPercentage` float NOT NULL DEFAULT '0', - `PowerIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PowerType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ManaCostPerLevel` int(11) NOT NULL DEFAULT '0', - `ManaCostPerSecond` int(11) NOT NULL DEFAULT '0', - `ManaCostAdditional` int(11) NOT NULL DEFAULT '0', - `PowerDisplayID` int(10) unsigned NOT NULL DEFAULT '0', - `UnitPowerBarID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ManaCost` int(11) NOT NULL DEFAULT 0, + `ManaCostPerLevel` int(11) NOT NULL DEFAULT 0, + `ManaPerSecond` int(11) NOT NULL DEFAULT 0, + `PowerDisplayID` int(10) unsigned NOT NULL DEFAULT 0, + `AltPowerBarID` int(11) NOT NULL DEFAULT 0, + `PowerCostPct` float NOT NULL DEFAULT 0, + `PowerCostMaxPct` float NOT NULL DEFAULT 0, + `PowerPctPerSecond` float NOT NULL DEFAULT 0, + `PowerType` tinyint(4) NOT NULL DEFAULT 0, + `RequiredAuraSpellID` int(11) NOT NULL DEFAULT 0, + `OptionalCost` int(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5675,10 +5840,10 @@ DROP TABLE IF EXISTS `spell_power_difficulty`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_power_difficulty` ( - `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `PowerIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `OrderIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5691,10 +5856,10 @@ DROP TABLE IF EXISTS `spell_procs_per_minute`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_procs_per_minute` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `BaseProcRate` float NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `BaseProcRate` float NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5707,12 +5872,12 @@ DROP TABLE IF EXISTS `spell_procs_per_minute_mod`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_procs_per_minute_mod` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Coeff` float NOT NULL DEFAULT '0', - `Param` smallint(5) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SpellProcsPerMinuteID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Type` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Param` smallint(6) NOT NULL DEFAULT 0, + `Coeff` float NOT NULL DEFAULT 0, + `SpellProcsPerMinuteID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5725,12 +5890,12 @@ DROP TABLE IF EXISTS `spell_radius`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_radius` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Radius` float NOT NULL DEFAULT '0', - `RadiusPerLevel` float NOT NULL DEFAULT '0', - `RadiusMin` float NOT NULL DEFAULT '0', - `RadiusMax` float NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Radius` float NOT NULL DEFAULT 0, + `RadiusPerLevel` float NOT NULL DEFAULT 0, + `RadiusMin` float NOT NULL DEFAULT 0, + `RadiusMax` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5743,15 +5908,15 @@ DROP TABLE IF EXISTS `spell_range`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_range` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `DisplayName` text, - `DisplayNameShort` text, - `MinRangeHostile` float NOT NULL DEFAULT '0', - `MinRangeFriend` float NOT NULL DEFAULT '0', - `MaxRangeHostile` float NOT NULL DEFAULT '0', - `MaxRangeFriend` float NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DisplayName` text DEFAULT NULL, + `DisplayNameShort` text DEFAULT NULL, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RangeMin1` float NOT NULL DEFAULT 0, + `RangeMin2` float NOT NULL DEFAULT 0, + `RangeMax1` float NOT NULL DEFAULT 0, + `RangeMax2` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5764,11 +5929,11 @@ DROP TABLE IF EXISTS `spell_range_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_range_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `DisplayName_lang` text, - `DisplayNameShort_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `DisplayName_lang` text DEFAULT NULL, + `DisplayNameShort_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5781,25 +5946,25 @@ DROP TABLE IF EXISTS `spell_reagents`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_reagents` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `Reagent1` int(11) NOT NULL DEFAULT '0', - `Reagent2` int(11) NOT NULL DEFAULT '0', - `Reagent3` int(11) NOT NULL DEFAULT '0', - `Reagent4` int(11) NOT NULL DEFAULT '0', - `Reagent5` int(11) NOT NULL DEFAULT '0', - `Reagent6` int(11) NOT NULL DEFAULT '0', - `Reagent7` int(11) NOT NULL DEFAULT '0', - `Reagent8` int(11) NOT NULL DEFAULT '0', - `ReagentCount1` smallint(5) unsigned NOT NULL DEFAULT '0', - `ReagentCount2` smallint(5) unsigned NOT NULL DEFAULT '0', - `ReagentCount3` smallint(5) unsigned NOT NULL DEFAULT '0', - `ReagentCount4` smallint(5) unsigned NOT NULL DEFAULT '0', - `ReagentCount5` smallint(5) unsigned NOT NULL DEFAULT '0', - `ReagentCount6` smallint(5) unsigned NOT NULL DEFAULT '0', - `ReagentCount7` smallint(5) unsigned NOT NULL DEFAULT '0', - `ReagentCount8` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `Reagent1` int(11) NOT NULL DEFAULT 0, + `Reagent2` int(11) NOT NULL DEFAULT 0, + `Reagent3` int(11) NOT NULL DEFAULT 0, + `Reagent4` int(11) NOT NULL DEFAULT 0, + `Reagent5` int(11) NOT NULL DEFAULT 0, + `Reagent6` int(11) NOT NULL DEFAULT 0, + `Reagent7` int(11) NOT NULL DEFAULT 0, + `Reagent8` int(11) NOT NULL DEFAULT 0, + `ReagentCount1` smallint(6) NOT NULL DEFAULT 0, + `ReagentCount2` smallint(6) NOT NULL DEFAULT 0, + `ReagentCount3` smallint(6) NOT NULL DEFAULT 0, + `ReagentCount4` smallint(6) NOT NULL DEFAULT 0, + `ReagentCount5` smallint(6) NOT NULL DEFAULT 0, + `ReagentCount6` smallint(6) NOT NULL DEFAULT 0, + `ReagentCount7` smallint(6) NOT NULL DEFAULT 0, + `ReagentCount8` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5812,13 +5977,13 @@ DROP TABLE IF EXISTS `spell_scaling`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_scaling` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `ScalesFromItemLevel` smallint(5) unsigned NOT NULL DEFAULT '0', - `ScalingClass` int(11) NOT NULL DEFAULT '0', - `MinScalingLevel` int(10) unsigned NOT NULL DEFAULT '0', - `MaxScalingLevel` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `Class` int(11) NOT NULL DEFAULT 0, + `MinScalingLevel` int(10) unsigned NOT NULL DEFAULT 0, + `MaxScalingLevel` int(10) unsigned NOT NULL DEFAULT 0, + `ScalesFromItemLevel` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5831,14 +5996,14 @@ DROP TABLE IF EXISTS `spell_shapeshift`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_shapeshift` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `ShapeshiftExclude1` int(10) unsigned NOT NULL DEFAULT '0', - `ShapeshiftExclude2` int(10) unsigned NOT NULL DEFAULT '0', - `ShapeshiftMask1` int(10) unsigned NOT NULL DEFAULT '0', - `ShapeshiftMask2` int(10) unsigned NOT NULL DEFAULT '0', - `StanceBarOrder` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `StanceBarOrder` tinyint(4) NOT NULL DEFAULT 0, + `ShapeshiftExclude1` int(11) NOT NULL DEFAULT 0, + `ShapeshiftExclude2` int(11) NOT NULL DEFAULT 0, + `ShapeshiftMask1` int(11) NOT NULL DEFAULT 0, + `ShapeshiftMask2` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5851,28 +6016,28 @@ DROP TABLE IF EXISTS `spell_shapeshift_form`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_shapeshift_form` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `WeaponDamageVariance` float NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `CombatRoundTime` smallint(5) unsigned NOT NULL DEFAULT '0', - `MountTypeID` smallint(5) unsigned NOT NULL DEFAULT '0', - `CreatureType` tinyint(4) NOT NULL DEFAULT '0', - `BonusActionBar` tinyint(3) unsigned NOT NULL DEFAULT '0', - `AttackIconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `CreatureDisplayID1` int(10) unsigned NOT NULL DEFAULT '0', - `CreatureDisplayID2` int(10) unsigned NOT NULL DEFAULT '0', - `CreatureDisplayID3` int(10) unsigned NOT NULL DEFAULT '0', - `CreatureDisplayID4` int(10) unsigned NOT NULL DEFAULT '0', - `PresetSpellID1` int(10) unsigned NOT NULL DEFAULT '0', - `PresetSpellID2` int(10) unsigned NOT NULL DEFAULT '0', - `PresetSpellID3` int(10) unsigned NOT NULL DEFAULT '0', - `PresetSpellID4` int(10) unsigned NOT NULL DEFAULT '0', - `PresetSpellID5` int(10) unsigned NOT NULL DEFAULT '0', - `PresetSpellID6` int(10) unsigned NOT NULL DEFAULT '0', - `PresetSpellID7` int(10) unsigned NOT NULL DEFAULT '0', - `PresetSpellID8` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `CreatureType` tinyint(4) NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `AttackIconFileID` int(11) NOT NULL DEFAULT 0, + `BonusActionBar` tinyint(4) NOT NULL DEFAULT 0, + `CombatRoundTime` smallint(6) NOT NULL DEFAULT 0, + `DamageVariance` float NOT NULL DEFAULT 0, + `MountTypeID` smallint(5) unsigned NOT NULL DEFAULT 0, + `CreatureDisplayID1` int(10) unsigned NOT NULL DEFAULT 0, + `CreatureDisplayID2` int(10) unsigned NOT NULL DEFAULT 0, + `CreatureDisplayID3` int(10) unsigned NOT NULL DEFAULT 0, + `CreatureDisplayID4` int(10) unsigned NOT NULL DEFAULT 0, + `PresetSpellID1` int(10) unsigned NOT NULL DEFAULT 0, + `PresetSpellID2` int(10) unsigned NOT NULL DEFAULT 0, + `PresetSpellID3` int(10) unsigned NOT NULL DEFAULT 0, + `PresetSpellID4` int(10) unsigned NOT NULL DEFAULT 0, + `PresetSpellID5` int(10) unsigned NOT NULL DEFAULT 0, + `PresetSpellID6` int(10) unsigned NOT NULL DEFAULT 0, + `PresetSpellID7` int(10) unsigned NOT NULL DEFAULT 0, + `PresetSpellID8` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5885,10 +6050,10 @@ DROP TABLE IF EXISTS `spell_shapeshift_form_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_shapeshift_form_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5901,16 +6066,16 @@ DROP TABLE IF EXISTS `spell_target_restrictions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_target_restrictions` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `ConeAngle` float NOT NULL DEFAULT '0', - `Width` float NOT NULL DEFAULT '0', - `Targets` int(10) unsigned NOT NULL DEFAULT '0', - `TargetCreatureType` smallint(5) unsigned NOT NULL DEFAULT '0', - `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxAffectedTargets` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MaxTargetLevel` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ConeDegrees` float NOT NULL DEFAULT 0, + `MaxTargets` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MaxTargetLevel` int(10) unsigned NOT NULL DEFAULT 0, + `TargetCreatureType` smallint(6) NOT NULL DEFAULT 0, + `Targets` int(11) NOT NULL DEFAULT 0, + `Width` float NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5923,13 +6088,13 @@ DROP TABLE IF EXISTS `spell_totems`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_totems` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `Totem1` int(10) unsigned NOT NULL DEFAULT '0', - `Totem2` int(10) unsigned NOT NULL DEFAULT '0', - `RequiredTotemCategoryID1` smallint(5) unsigned NOT NULL DEFAULT '0', - `RequiredTotemCategoryID2` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `RequiredTotemCategoryID1` smallint(5) unsigned NOT NULL DEFAULT 0, + `RequiredTotemCategoryID2` smallint(5) unsigned NOT NULL DEFAULT 0, + `Totem1` int(11) NOT NULL DEFAULT 0, + `Totem2` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5942,20 +6107,20 @@ DROP TABLE IF EXISTS `spell_x_spell_visual`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_x_spell_visual` ( - `SpellVisualID` int(10) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Chance` float NOT NULL DEFAULT '0', - `CasterPlayerConditionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `CasterUnitConditionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `PlayerConditionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `UnitConditionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `IconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `ActiveIconFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Priority` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `DifficultyID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SpellVisualID` int(10) unsigned NOT NULL DEFAULT 0, + `Probability` float NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Priority` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SpellIconFileID` int(11) NOT NULL DEFAULT 0, + `ActiveIconFileID` int(11) NOT NULL DEFAULT 0, + `ViewerUnitConditionID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ViewerPlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `CasterUnitConditionID` smallint(5) unsigned NOT NULL DEFAULT 0, + `CasterPlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5968,13 +6133,13 @@ DROP TABLE IF EXISTS `summon_properties`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `summon_properties` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `Category` int(10) unsigned NOT NULL DEFAULT '0', - `Faction` int(10) unsigned NOT NULL DEFAULT '0', - `Type` int(11) NOT NULL DEFAULT '0', - `Slot` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Control` int(11) NOT NULL DEFAULT 0, + `Faction` int(11) NOT NULL DEFAULT 0, + `Title` int(11) NOT NULL DEFAULT 0, + `Slot` int(11) NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -5987,24 +6152,24 @@ DROP TABLE IF EXISTS `tact_key`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `tact_key` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Key1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key3` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key5` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key6` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key7` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key8` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key9` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key10` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key11` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key12` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key13` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key14` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key15` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Key16` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Key1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key3` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key5` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key6` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key7` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key8` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key9` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key10` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key11` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key12` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key13` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key14` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key15` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Key16` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6017,18 +6182,18 @@ DROP TABLE IF EXISTS `talent`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `talent` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Description` text, - `SpellID` int(10) unsigned NOT NULL DEFAULT '0', - `OverridesSpellID` int(10) unsigned NOT NULL DEFAULT '0', - `SpecID` smallint(5) unsigned NOT NULL DEFAULT '0', - `TierID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ColumnIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CategoryMask1` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CategoryMask2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ClassID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Description` text DEFAULT NULL, + `TierID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ColumnIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ClassID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SpecID` smallint(5) unsigned NOT NULL DEFAULT 0, + `SpellID` int(10) unsigned NOT NULL DEFAULT 0, + `OverridesSpellID` int(10) unsigned NOT NULL DEFAULT 0, + `CategoryMask1` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CategoryMask2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6041,10 +6206,10 @@ DROP TABLE IF EXISTS `talent_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `talent_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Description_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Description_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6057,25 +6222,27 @@ DROP TABLE IF EXISTS `taxi_nodes`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `taxi_nodes` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `PosX` float NOT NULL DEFAULT '0', - `PosY` float NOT NULL DEFAULT '0', - `PosZ` float NOT NULL DEFAULT '0', - `MountCreatureID1` int(10) unsigned NOT NULL DEFAULT '0', - `MountCreatureID2` int(10) unsigned NOT NULL DEFAULT '0', - `MapOffsetX` float NOT NULL DEFAULT '0', - `MapOffsetY` float NOT NULL DEFAULT '0', - `Unk730` float NOT NULL DEFAULT '0', - `FlightMapOffsetX` float NOT NULL DEFAULT '0', - `FlightMapOffsetY` float NOT NULL DEFAULT '0', - `MapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ConditionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `LearnableIndex` smallint(5) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `UiTextureKitPrefixID` int(11) NOT NULL DEFAULT '0', - `SpecialAtlasIconPlayerConditionID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name` text DEFAULT NULL, + `PosX` float NOT NULL DEFAULT 0, + `PosY` float NOT NULL DEFAULT 0, + `PosZ` float NOT NULL DEFAULT 0, + `MapOffsetX` float NOT NULL DEFAULT 0, + `MapOffsetY` float NOT NULL DEFAULT 0, + `FlightMapOffsetX` float NOT NULL DEFAULT 0, + `FlightMapOffsetY` float NOT NULL DEFAULT 0, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ContinentID` smallint(5) unsigned NOT NULL DEFAULT 0, + `ConditionID` int(11) NOT NULL DEFAULT 0, + `CharacterBitNumber` smallint(5) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `UiTextureKitID` int(11) NOT NULL DEFAULT 0, + `MinimapAtlasMemberID` int(11) NOT NULL DEFAULT 0, + `Facing` float NOT NULL DEFAULT 0, + `SpecialIconConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `VisibilityConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `MountCreatureID1` int(11) NOT NULL DEFAULT 0, + `MountCreatureID2` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6088,10 +6255,10 @@ DROP TABLE IF EXISTS `taxi_nodes_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `taxi_nodes_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6104,11 +6271,11 @@ DROP TABLE IF EXISTS `taxi_path`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `taxi_path` ( - `From` smallint(5) unsigned NOT NULL DEFAULT '0', - `To` smallint(5) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Cost` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `FromTaxiNode` smallint(5) unsigned NOT NULL DEFAULT 0, + `ToTaxiNode` smallint(5) unsigned NOT NULL DEFAULT 0, + `Cost` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6121,18 +6288,18 @@ DROP TABLE IF EXISTS `taxi_path_node`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `taxi_path_node` ( - `LocX` float NOT NULL DEFAULT '0', - `LocY` float NOT NULL DEFAULT '0', - `LocZ` float NOT NULL DEFAULT '0', - `PathID` smallint(5) unsigned NOT NULL DEFAULT '0', - `MapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `NodeIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Delay` int(10) unsigned NOT NULL DEFAULT '0', - `ArrivalEventID` smallint(5) unsigned NOT NULL DEFAULT '0', - `DepartureEventID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `LocX` float NOT NULL DEFAULT 0, + `LocY` float NOT NULL DEFAULT 0, + `LocZ` float NOT NULL DEFAULT 0, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `PathID` smallint(5) unsigned NOT NULL DEFAULT 0, + `NodeIndex` int(11) NOT NULL DEFAULT 0, + `ContinentID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Delay` int(10) unsigned NOT NULL DEFAULT 0, + `ArrivalEventID` int(11) NOT NULL DEFAULT 0, + `DepartureEventID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6145,11 +6312,11 @@ DROP TABLE IF EXISTS `totem_category`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `totem_category` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `CategoryMask` int(10) unsigned NOT NULL DEFAULT '0', - `CategoryType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `TotemCategoryType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `TotemCategoryMask` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6162,10 +6329,10 @@ DROP TABLE IF EXISTS `totem_category_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `totem_category_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6178,12 +6345,12 @@ DROP TABLE IF EXISTS `toy`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `toy` ( - `Description` text, - `ItemID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `CategoryFilter` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `SourceText` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID` int(11) NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SourceTypeEnum` tinyint(4) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6196,10 +6363,10 @@ DROP TABLE IF EXISTS `toy_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `toy_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Description_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `SourceText_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6212,9 +6379,9 @@ DROP TABLE IF EXISTS `transmog_holiday`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `transmog_holiday` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `HolidayID` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `RequiredTransmogHoliday` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6227,17 +6394,19 @@ DROP TABLE IF EXISTS `transmog_set`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `transmog_set` ( - `Name` text, - `BaseSetID` smallint(5) unsigned NOT NULL DEFAULT '0', - `UIOrder` smallint(5) unsigned NOT NULL DEFAULT '0', - `ExpansionID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` int(11) NOT NULL DEFAULT '0', - `QuestID` int(11) NOT NULL DEFAULT '0', - `ClassMask` int(11) NOT NULL DEFAULT '0', - `ItemNameDescriptionID` int(11) NOT NULL DEFAULT '0', - `TransmogSetGroupID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ClassMask` int(11) NOT NULL DEFAULT 0, + `TrackingQuestID` int(10) unsigned NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `TransmogSetGroupID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemNameDescriptionID` int(11) NOT NULL DEFAULT 0, + `ParentTransmogSetID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Unknown810` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ExpansionID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PatchID` int(11) NOT NULL DEFAULT 0, + `UiOrder` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6250,9 +6419,9 @@ DROP TABLE IF EXISTS `transmog_set_group`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `transmog_set_group` ( - `Label` text, - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6265,10 +6434,10 @@ DROP TABLE IF EXISTS `transmog_set_group_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `transmog_set_group_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Label_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6281,11 +6450,11 @@ DROP TABLE IF EXISTS `transmog_set_item`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `transmog_set_item` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `TransmogSetID` int(10) unsigned NOT NULL DEFAULT '0', - `ItemModifiedAppearanceID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `TransmogSetID` int(10) unsigned NOT NULL DEFAULT 0, + `ItemModifiedAppearanceID` int(10) unsigned NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6298,10 +6467,10 @@ DROP TABLE IF EXISTS `transmog_set_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `transmog_set_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6314,14 +6483,14 @@ DROP TABLE IF EXISTS `transport_animation`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `transport_animation` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `TimeIndex` int(10) unsigned NOT NULL DEFAULT '0', - `PosX` float NOT NULL DEFAULT '0', - `PosY` float NOT NULL DEFAULT '0', - `PosZ` float NOT NULL DEFAULT '0', - `SequenceID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `TransportID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `PosX` float NOT NULL DEFAULT 0, + `PosY` float NOT NULL DEFAULT 0, + `PosZ` float NOT NULL DEFAULT 0, + `SequenceID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `TimeIndex` int(10) unsigned NOT NULL DEFAULT 0, + `TransportID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6334,14 +6503,126 @@ DROP TABLE IF EXISTS `transport_rotation`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `transport_rotation` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `TimeIndex` int(10) unsigned NOT NULL DEFAULT '0', - `X` float NOT NULL DEFAULT '0', - `Y` float NOT NULL DEFAULT '0', - `Z` float NOT NULL DEFAULT '0', - `W` float NOT NULL DEFAULT '0', - `TransportID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Rot1` float NOT NULL DEFAULT 0, + `Rot2` float NOT NULL DEFAULT 0, + `Rot3` float NOT NULL DEFAULT 0, + `Rot4` float NOT NULL DEFAULT 0, + `TimeIndex` int(10) unsigned NOT NULL DEFAULT 0, + `GameObjectsID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `ui_map` +-- + +DROP TABLE IF EXISTS `ui_map`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `ui_map` ( + `Name` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ParentUiMapID` int(11) NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `System` int(11) NOT NULL DEFAULT 0, + `Type` int(11) NOT NULL DEFAULT 0, + `LevelRangeMin` int(10) unsigned NOT NULL DEFAULT 0, + `LevelRangeMax` int(10) unsigned NOT NULL DEFAULT 0, + `BountySetID` int(11) NOT NULL DEFAULT 0, + `BountyDisplayLocation` int(10) unsigned NOT NULL DEFAULT 0, + `VisibilityPlayerConditionID` int(11) NOT NULL DEFAULT 0, + `HelpTextPosition` tinyint(4) NOT NULL DEFAULT 0, + `BkgAtlasID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `ui_map_assignment` +-- + +DROP TABLE IF EXISTS `ui_map_assignment`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `ui_map_assignment` ( + `UiMinX` float NOT NULL DEFAULT 0, + `UiMinY` float NOT NULL DEFAULT 0, + `UiMaxX` float NOT NULL DEFAULT 0, + `UiMaxY` float NOT NULL DEFAULT 0, + `Region1X` float NOT NULL DEFAULT 0, + `Region1Y` float NOT NULL DEFAULT 0, + `Region1Z` float NOT NULL DEFAULT 0, + `Region2X` float NOT NULL DEFAULT 0, + `Region2Y` float NOT NULL DEFAULT 0, + `Region2Z` float NOT NULL DEFAULT 0, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `UiMapID` int(11) NOT NULL DEFAULT 0, + `OrderIndex` int(11) NOT NULL DEFAULT 0, + `MapID` int(11) NOT NULL DEFAULT 0, + `AreaID` int(11) NOT NULL DEFAULT 0, + `WmoDoodadPlacementID` int(11) NOT NULL DEFAULT 0, + `WmoGroupID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `ui_map_link` +-- + +DROP TABLE IF EXISTS `ui_map_link`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `ui_map_link` ( + `UiMinX` float NOT NULL DEFAULT 0, + `UiMinY` float NOT NULL DEFAULT 0, + `UiMaxX` float NOT NULL DEFAULT 0, + `UiMaxY` float NOT NULL DEFAULT 0, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `ParentUiMapID` int(11) NOT NULL DEFAULT 0, + `OrderIndex` int(11) NOT NULL DEFAULT 0, + `ChildUiMapID` int(11) NOT NULL DEFAULT 0, + `OverrideHighlightFileDataID` int(11) NOT NULL DEFAULT 0, + `OverrideHighlightAtlasID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `ui_map_locale` +-- + +DROP TABLE IF EXISTS `ui_map_locale`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `ui_map_locale` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `locale` varchar(4) NOT NULL, + `Name_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`,`locale`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `ui_map_x_map_art` +-- + +DROP TABLE IF EXISTS `ui_map_x_map_art`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `ui_map_x_map_art` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `PhaseID` int(11) NOT NULL DEFAULT 0, + `UiMapArtID` int(11) NOT NULL DEFAULT 0, + `UiMapID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6354,34 +6635,34 @@ DROP TABLE IF EXISTS `unit_power_bar`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `unit_power_bar` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Name` text, - `Cost` text, - `OutOfError` text, - `ToolTip` text, - `RegenerationPeace` float NOT NULL DEFAULT '0', - `RegenerationCombat` float NOT NULL DEFAULT '0', - `FileDataID1` int(10) unsigned NOT NULL DEFAULT '0', - `FileDataID2` int(10) unsigned NOT NULL DEFAULT '0', - `FileDataID3` int(10) unsigned NOT NULL DEFAULT '0', - `FileDataID4` int(10) unsigned NOT NULL DEFAULT '0', - `FileDataID5` int(10) unsigned NOT NULL DEFAULT '0', - `FileDataID6` int(10) unsigned NOT NULL DEFAULT '0', - `Color1` int(10) unsigned NOT NULL DEFAULT '0', - `Color2` int(10) unsigned NOT NULL DEFAULT '0', - `Color3` int(10) unsigned NOT NULL DEFAULT '0', - `Color4` int(10) unsigned NOT NULL DEFAULT '0', - `Color5` int(10) unsigned NOT NULL DEFAULT '0', - `Color6` int(10) unsigned NOT NULL DEFAULT '0', - `StartInset` float NOT NULL DEFAULT '0', - `EndInset` float NOT NULL DEFAULT '0', - `StartPower` smallint(5) unsigned NOT NULL DEFAULT '0', - `Flags` smallint(5) unsigned NOT NULL DEFAULT '0', - `CenterPower` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BarType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinPower` int(10) unsigned NOT NULL DEFAULT '0', - `MaxPower` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `Cost` text DEFAULT NULL, + `OutOfError` text DEFAULT NULL, + `ToolTip` text DEFAULT NULL, + `MinPower` int(10) unsigned NOT NULL DEFAULT 0, + `MaxPower` int(10) unsigned NOT NULL DEFAULT 0, + `StartPower` smallint(5) unsigned NOT NULL DEFAULT 0, + `CenterPower` tinyint(3) unsigned NOT NULL DEFAULT 0, + `RegenerationPeace` float NOT NULL DEFAULT 0, + `RegenerationCombat` float NOT NULL DEFAULT 0, + `BarType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Flags` smallint(5) unsigned NOT NULL DEFAULT 0, + `StartInset` float NOT NULL DEFAULT 0, + `EndInset` float NOT NULL DEFAULT 0, + `FileDataID1` int(11) NOT NULL DEFAULT 0, + `FileDataID2` int(11) NOT NULL DEFAULT 0, + `FileDataID3` int(11) NOT NULL DEFAULT 0, + `FileDataID4` int(11) NOT NULL DEFAULT 0, + `FileDataID5` int(11) NOT NULL DEFAULT 0, + `FileDataID6` int(11) NOT NULL DEFAULT 0, + `Color1` int(11) NOT NULL DEFAULT 0, + `Color2` int(11) NOT NULL DEFAULT 0, + `Color3` int(11) NOT NULL DEFAULT 0, + `Color4` int(11) NOT NULL DEFAULT 0, + `Color5` int(11) NOT NULL DEFAULT 0, + `Color6` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6394,13 +6675,13 @@ DROP TABLE IF EXISTS `unit_power_bar_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `unit_power_bar_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name_lang` text, - `Cost_lang` text, - `OutOfError_lang` text, - `ToolTip_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `Name_lang` text DEFAULT NULL, + `Cost_lang` text DEFAULT NULL, + `OutOfError_lang` text DEFAULT NULL, + `ToolTip_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6416,8 +6697,8 @@ 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.', + `timestamp` timestamp NOT NULL DEFAULT current_timestamp() COMMENT 'timestamp when the query was applied.', + `speed` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'time the query takes to apply in ms.', PRIMARY KEY (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of all applied updates in this database.'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6444,35 +6725,35 @@ DROP TABLE IF EXISTS `vehicle`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `vehicle` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `TurnSpeed` float NOT NULL DEFAULT '0', - `PitchSpeed` float NOT NULL DEFAULT '0', - `PitchMin` float NOT NULL DEFAULT '0', - `PitchMax` float NOT NULL DEFAULT '0', - `MouseLookOffsetPitch` float NOT NULL DEFAULT '0', - `CameraFadeDistScalarMin` float NOT NULL DEFAULT '0', - `CameraFadeDistScalarMax` float NOT NULL DEFAULT '0', - `CameraPitchOffset` float NOT NULL DEFAULT '0', - `FacingLimitRight` float NOT NULL DEFAULT '0', - `FacingLimitLeft` float NOT NULL DEFAULT '0', - `CameraYawOffset` float NOT NULL DEFAULT '0', - `SeatID1` smallint(5) unsigned NOT NULL DEFAULT '0', - `SeatID2` smallint(5) unsigned NOT NULL DEFAULT '0', - `SeatID3` smallint(5) unsigned NOT NULL DEFAULT '0', - `SeatID4` smallint(5) unsigned NOT NULL DEFAULT '0', - `SeatID5` smallint(5) unsigned NOT NULL DEFAULT '0', - `SeatID6` smallint(5) unsigned NOT NULL DEFAULT '0', - `SeatID7` smallint(5) unsigned NOT NULL DEFAULT '0', - `SeatID8` smallint(5) unsigned NOT NULL DEFAULT '0', - `VehicleUIIndicatorID` smallint(5) unsigned NOT NULL DEFAULT '0', - `PowerDisplayID1` smallint(5) unsigned NOT NULL DEFAULT '0', - `PowerDisplayID2` smallint(5) unsigned NOT NULL DEFAULT '0', - `PowerDisplayID3` smallint(5) unsigned NOT NULL DEFAULT '0', - `FlagsB` tinyint(3) unsigned NOT NULL DEFAULT '0', - `UILocomotionType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MissileTargetingID` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `FlagsB` tinyint(3) unsigned NOT NULL DEFAULT 0, + `TurnSpeed` float NOT NULL DEFAULT 0, + `PitchSpeed` float NOT NULL DEFAULT 0, + `PitchMin` float NOT NULL DEFAULT 0, + `PitchMax` float NOT NULL DEFAULT 0, + `MouseLookOffsetPitch` float NOT NULL DEFAULT 0, + `CameraFadeDistScalarMin` float NOT NULL DEFAULT 0, + `CameraFadeDistScalarMax` float NOT NULL DEFAULT 0, + `CameraPitchOffset` float NOT NULL DEFAULT 0, + `FacingLimitRight` float NOT NULL DEFAULT 0, + `FacingLimitLeft` float NOT NULL DEFAULT 0, + `CameraYawOffset` float NOT NULL DEFAULT 0, + `UiLocomotionType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VehicleUIIndicatorID` smallint(5) unsigned NOT NULL DEFAULT 0, + `MissileTargetingID` int(11) NOT NULL DEFAULT 0, + `SeatID1` smallint(5) unsigned NOT NULL DEFAULT 0, + `SeatID2` smallint(5) unsigned NOT NULL DEFAULT 0, + `SeatID3` smallint(5) unsigned NOT NULL DEFAULT 0, + `SeatID4` smallint(5) unsigned NOT NULL DEFAULT 0, + `SeatID5` smallint(5) unsigned NOT NULL DEFAULT 0, + `SeatID6` smallint(5) unsigned NOT NULL DEFAULT 0, + `SeatID7` smallint(5) unsigned NOT NULL DEFAULT 0, + `SeatID8` smallint(5) unsigned NOT NULL DEFAULT 0, + `PowerDisplayID1` smallint(5) unsigned NOT NULL DEFAULT 0, + `PowerDisplayID2` smallint(5) unsigned NOT NULL DEFAULT 0, + `PowerDisplayID3` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6485,73 +6766,73 @@ DROP TABLE IF EXISTS `vehicle_seat`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `vehicle_seat` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags1` int(10) unsigned NOT NULL DEFAULT '0', - `Flags2` int(10) unsigned NOT NULL DEFAULT '0', - `Flags3` int(10) unsigned NOT NULL DEFAULT '0', - `AttachmentOffsetX` float NOT NULL DEFAULT '0', - `AttachmentOffsetY` float NOT NULL DEFAULT '0', - `AttachmentOffsetZ` float NOT NULL DEFAULT '0', - `EnterPreDelay` float NOT NULL DEFAULT '0', - `EnterSpeed` float NOT NULL DEFAULT '0', - `EnterGravity` float NOT NULL DEFAULT '0', - `EnterMinDuration` float NOT NULL DEFAULT '0', - `EnterMaxDuration` float NOT NULL DEFAULT '0', - `EnterMinArcHeight` float NOT NULL DEFAULT '0', - `EnterMaxArcHeight` float NOT NULL DEFAULT '0', - `ExitPreDelay` float NOT NULL DEFAULT '0', - `ExitSpeed` float NOT NULL DEFAULT '0', - `ExitGravity` float NOT NULL DEFAULT '0', - `ExitMinDuration` float NOT NULL DEFAULT '0', - `ExitMaxDuration` float NOT NULL DEFAULT '0', - `ExitMinArcHeight` float NOT NULL DEFAULT '0', - `ExitMaxArcHeight` float NOT NULL DEFAULT '0', - `PassengerYaw` float NOT NULL DEFAULT '0', - `PassengerPitch` float NOT NULL DEFAULT '0', - `PassengerRoll` float NOT NULL DEFAULT '0', - `VehicleEnterAnimDelay` float NOT NULL DEFAULT '0', - `VehicleExitAnimDelay` float NOT NULL DEFAULT '0', - `CameraEnteringDelay` float NOT NULL DEFAULT '0', - `CameraEnteringDuration` float NOT NULL DEFAULT '0', - `CameraExitingDelay` float NOT NULL DEFAULT '0', - `CameraExitingDuration` float NOT NULL DEFAULT '0', - `CameraOffsetX` float NOT NULL DEFAULT '0', - `CameraOffsetY` float NOT NULL DEFAULT '0', - `CameraOffsetZ` float NOT NULL DEFAULT '0', - `CameraPosChaseRate` float NOT NULL DEFAULT '0', - `CameraFacingChaseRate` float NOT NULL DEFAULT '0', - `CameraEnteringZoom` float NOT NULL DEFAULT '0', - `CameraSeatZoomMin` float NOT NULL DEFAULT '0', - `CameraSeatZoomMax` float NOT NULL DEFAULT '0', - `UISkinFileDataID` int(10) unsigned NOT NULL DEFAULT '0', - `EnterAnimStart` smallint(6) NOT NULL DEFAULT '0', - `EnterAnimLoop` smallint(6) NOT NULL DEFAULT '0', - `RideAnimStart` smallint(6) NOT NULL DEFAULT '0', - `RideAnimLoop` smallint(6) NOT NULL DEFAULT '0', - `RideUpperAnimStart` smallint(6) NOT NULL DEFAULT '0', - `RideUpperAnimLoop` smallint(6) NOT NULL DEFAULT '0', - `ExitAnimStart` smallint(6) NOT NULL DEFAULT '0', - `ExitAnimLoop` smallint(6) NOT NULL DEFAULT '0', - `ExitAnimEnd` smallint(6) NOT NULL DEFAULT '0', - `VehicleEnterAnim` smallint(6) NOT NULL DEFAULT '0', - `VehicleExitAnim` smallint(6) NOT NULL DEFAULT '0', - `VehicleRideAnimLoop` smallint(6) NOT NULL DEFAULT '0', - `EnterAnimKitID` smallint(5) unsigned NOT NULL DEFAULT '0', - `RideAnimKitID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ExitAnimKitID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VehicleEnterAnimKitID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VehicleRideAnimKitID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VehicleExitAnimKitID` smallint(5) unsigned NOT NULL DEFAULT '0', - `CameraModeID` smallint(5) unsigned NOT NULL DEFAULT '0', - `AttachmentID` tinyint(4) NOT NULL DEFAULT '0', - `PassengerAttachmentID` tinyint(4) NOT NULL DEFAULT '0', - `VehicleEnterAnimBone` tinyint(4) NOT NULL DEFAULT '0', - `VehicleExitAnimBone` tinyint(4) NOT NULL DEFAULT '0', - `VehicleRideAnimLoopBone` tinyint(4) NOT NULL DEFAULT '0', - `VehicleAbilityDisplay` tinyint(3) unsigned NOT NULL DEFAULT '0', - `EnterUISoundID` int(10) unsigned NOT NULL DEFAULT '0', - `ExitUISoundID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `AttachmentOffsetX` float NOT NULL DEFAULT 0, + `AttachmentOffsetY` float NOT NULL DEFAULT 0, + `AttachmentOffsetZ` float NOT NULL DEFAULT 0, + `CameraOffsetX` float NOT NULL DEFAULT 0, + `CameraOffsetY` float NOT NULL DEFAULT 0, + `CameraOffsetZ` float NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `FlagsB` int(11) NOT NULL DEFAULT 0, + `FlagsC` int(11) NOT NULL DEFAULT 0, + `AttachmentID` tinyint(4) NOT NULL DEFAULT 0, + `EnterPreDelay` float NOT NULL DEFAULT 0, + `EnterSpeed` float NOT NULL DEFAULT 0, + `EnterGravity` float NOT NULL DEFAULT 0, + `EnterMinDuration` float NOT NULL DEFAULT 0, + `EnterMaxDuration` float NOT NULL DEFAULT 0, + `EnterMinArcHeight` float NOT NULL DEFAULT 0, + `EnterMaxArcHeight` float NOT NULL DEFAULT 0, + `EnterAnimStart` int(11) NOT NULL DEFAULT 0, + `EnterAnimLoop` int(11) NOT NULL DEFAULT 0, + `RideAnimStart` int(11) NOT NULL DEFAULT 0, + `RideAnimLoop` int(11) NOT NULL DEFAULT 0, + `RideUpperAnimStart` int(11) NOT NULL DEFAULT 0, + `RideUpperAnimLoop` int(11) NOT NULL DEFAULT 0, + `ExitPreDelay` float NOT NULL DEFAULT 0, + `ExitSpeed` float NOT NULL DEFAULT 0, + `ExitGravity` float NOT NULL DEFAULT 0, + `ExitMinDuration` float NOT NULL DEFAULT 0, + `ExitMaxDuration` float NOT NULL DEFAULT 0, + `ExitMinArcHeight` float NOT NULL DEFAULT 0, + `ExitMaxArcHeight` float NOT NULL DEFAULT 0, + `ExitAnimStart` int(11) NOT NULL DEFAULT 0, + `ExitAnimLoop` int(11) NOT NULL DEFAULT 0, + `ExitAnimEnd` int(11) NOT NULL DEFAULT 0, + `VehicleEnterAnim` smallint(6) NOT NULL DEFAULT 0, + `VehicleEnterAnimBone` tinyint(4) NOT NULL DEFAULT 0, + `VehicleExitAnim` smallint(6) NOT NULL DEFAULT 0, + `VehicleExitAnimBone` tinyint(4) NOT NULL DEFAULT 0, + `VehicleRideAnimLoop` smallint(6) NOT NULL DEFAULT 0, + `VehicleRideAnimLoopBone` tinyint(4) NOT NULL DEFAULT 0, + `PassengerAttachmentID` tinyint(4) NOT NULL DEFAULT 0, + `PassengerYaw` float NOT NULL DEFAULT 0, + `PassengerPitch` float NOT NULL DEFAULT 0, + `PassengerRoll` float NOT NULL DEFAULT 0, + `VehicleEnterAnimDelay` float NOT NULL DEFAULT 0, + `VehicleExitAnimDelay` float NOT NULL DEFAULT 0, + `VehicleAbilityDisplay` tinyint(4) NOT NULL DEFAULT 0, + `EnterUISoundID` int(10) unsigned NOT NULL DEFAULT 0, + `ExitUISoundID` int(10) unsigned NOT NULL DEFAULT 0, + `UiSkinFileDataID` int(11) NOT NULL DEFAULT 0, + `CameraEnteringDelay` float NOT NULL DEFAULT 0, + `CameraEnteringDuration` float NOT NULL DEFAULT 0, + `CameraExitingDelay` float NOT NULL DEFAULT 0, + `CameraExitingDuration` float NOT NULL DEFAULT 0, + `CameraPosChaseRate` float NOT NULL DEFAULT 0, + `CameraFacingChaseRate` float NOT NULL DEFAULT 0, + `CameraEnteringZoom` float NOT NULL DEFAULT 0, + `CameraSeatZoomMin` float NOT NULL DEFAULT 0, + `CameraSeatZoomMax` float NOT NULL DEFAULT 0, + `EnterAnimKitID` smallint(6) NOT NULL DEFAULT 0, + `RideAnimKitID` smallint(6) NOT NULL DEFAULT 0, + `ExitAnimKitID` smallint(6) NOT NULL DEFAULT 0, + `VehicleEnterAnimKitID` smallint(6) NOT NULL DEFAULT 0, + `VehicleRideAnimKitID` smallint(6) NOT NULL DEFAULT 0, + `VehicleExitAnimKitID` smallint(6) NOT NULL DEFAULT 0, + `CameraModeID` smallint(6) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6564,22 +6845,22 @@ DROP TABLE IF EXISTS `wmo_area_table`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `wmo_area_table` ( - `AreaName` text, - `WMOGroupID` int(11) NOT NULL DEFAULT '0', - `AmbienceID` smallint(5) unsigned NOT NULL DEFAULT '0', - `ZoneMusic` smallint(5) unsigned NOT NULL DEFAULT '0', - `IntroSound` smallint(5) unsigned NOT NULL DEFAULT '0', - `AreaTableID` smallint(5) unsigned NOT NULL DEFAULT '0', - `UWIntroSound` smallint(5) unsigned NOT NULL DEFAULT '0', - `UWAmbience` smallint(5) unsigned NOT NULL DEFAULT '0', - `NameSet` tinyint(4) NOT NULL DEFAULT '0', - `SoundProviderPref` tinyint(3) unsigned NOT NULL DEFAULT '0', - `SoundProviderPrefUnderwater` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `UWZoneMusic` int(10) unsigned NOT NULL DEFAULT '0', - `WMOID` smallint(6) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `AreaName` text DEFAULT NULL, + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `WmoID` smallint(5) unsigned NOT NULL DEFAULT 0, + `NameSetID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `WmoGroupID` int(11) NOT NULL DEFAULT 0, + `SoundProviderPref` tinyint(3) unsigned NOT NULL DEFAULT 0, + `SoundProviderPrefUnderwater` tinyint(3) unsigned NOT NULL DEFAULT 0, + `AmbienceID` smallint(5) unsigned NOT NULL DEFAULT 0, + `UwAmbience` smallint(5) unsigned NOT NULL DEFAULT 0, + `ZoneMusic` smallint(5) unsigned NOT NULL DEFAULT 0, + `UwZoneMusic` int(10) unsigned NOT NULL DEFAULT 0, + `IntroSound` smallint(5) unsigned NOT NULL DEFAULT 0, + `UwIntroSound` smallint(5) unsigned NOT NULL DEFAULT 0, + `AreaTableID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6592,10 +6873,10 @@ DROP TABLE IF EXISTS `wmo_area_table_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `wmo_area_table_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `AreaName_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `AreaName_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6608,44 +6889,14 @@ DROP TABLE IF EXISTS `world_effect`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `world_effect` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `TargetAsset` int(10) unsigned NOT NULL DEFAULT '0', - `CombatConditionID` smallint(5) unsigned NOT NULL DEFAULT '0', - `TargetType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `WhenToDisplay` tinyint(3) unsigned NOT NULL DEFAULT '0', - `QuestFeedbackEffectID` int(10) unsigned NOT NULL DEFAULT '0', - `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Table structure for table `world_map_area` --- - -DROP TABLE IF EXISTS `world_map_area`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `world_map_area` ( - `AreaName` text, - `LocLeft` float NOT NULL DEFAULT '0', - `LocRight` float NOT NULL DEFAULT '0', - `LocTop` float NOT NULL DEFAULT '0', - `LocBottom` float NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `MapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `AreaID` smallint(5) unsigned NOT NULL DEFAULT '0', - `DisplayMapID` smallint(6) NOT NULL DEFAULT '0', - `DefaultDungeonFloor` smallint(6) NOT NULL DEFAULT '0', - `ParentWorldMapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `LevelRangeMin` tinyint(3) unsigned NOT NULL DEFAULT '0', - `LevelRangeMax` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BountySetID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BountyBoardLocation` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `QuestFeedbackEffectID` int(10) unsigned NOT NULL DEFAULT 0, + `WhenToDisplay` tinyint(3) unsigned NOT NULL DEFAULT 0, + `TargetType` tinyint(4) NOT NULL DEFAULT 0, + `TargetAsset` int(11) NOT NULL DEFAULT 0, + `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `CombatConditionID` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6658,54 +6909,23 @@ DROP TABLE IF EXISTS `world_map_overlay`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `world_map_overlay` ( - `TextureName` text, - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `TextureWidth` smallint(5) unsigned NOT NULL DEFAULT '0', - `TextureHeight` smallint(5) unsigned NOT NULL DEFAULT '0', - `MapAreaID` int(10) unsigned NOT NULL DEFAULT '0', - `AreaID1` int(10) unsigned NOT NULL DEFAULT '0', - `AreaID2` int(10) unsigned NOT NULL DEFAULT '0', - `AreaID3` int(10) unsigned NOT NULL DEFAULT '0', - `AreaID4` int(10) unsigned NOT NULL DEFAULT '0', - `OffsetX` int(11) NOT NULL DEFAULT '0', - `OffsetY` int(11) NOT NULL DEFAULT '0', - `HitRectTop` int(11) NOT NULL DEFAULT '0', - `HitRectLeft` int(11) NOT NULL DEFAULT '0', - `HitRectBottom` int(11) NOT NULL DEFAULT '0', - `HitRectRight` int(11) NOT NULL DEFAULT '0', - `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Table structure for table `world_map_transforms` --- - -DROP TABLE IF EXISTS `world_map_transforms`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `world_map_transforms` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `RegionMinX` float NOT NULL DEFAULT '0', - `RegionMinY` float NOT NULL DEFAULT '0', - `RegionMinZ` float NOT NULL DEFAULT '0', - `RegionMaxX` float NOT NULL DEFAULT '0', - `RegionMaxY` float NOT NULL DEFAULT '0', - `RegionMaxZ` float NOT NULL DEFAULT '0', - `RegionOffsetX` float NOT NULL DEFAULT '0', - `RegionOffsetY` float NOT NULL DEFAULT '0', - `RegionScale` float NOT NULL DEFAULT '0', - `MapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `AreaID` smallint(5) unsigned NOT NULL DEFAULT '0', - `NewMapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `NewDungeonMapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `NewAreaID` smallint(5) unsigned NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Priority` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `UiMapArtID` int(10) unsigned NOT NULL DEFAULT 0, + `TextureWidth` smallint(5) unsigned NOT NULL DEFAULT 0, + `TextureHeight` smallint(5) unsigned NOT NULL DEFAULT 0, + `OffsetX` int(11) NOT NULL DEFAULT 0, + `OffsetY` int(11) NOT NULL DEFAULT 0, + `HitRectTop` int(11) NOT NULL DEFAULT 0, + `HitRectBottom` int(11) NOT NULL DEFAULT 0, + `HitRectLeft` int(11) NOT NULL DEFAULT 0, + `HitRectRight` int(11) NOT NULL DEFAULT 0, + `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `Flags` int(10) unsigned NOT NULL DEFAULT 0, + `AreaID1` int(10) unsigned NOT NULL DEFAULT 0, + `AreaID2` int(10) unsigned NOT NULL DEFAULT 0, + `AreaID3` int(10) unsigned NOT NULL DEFAULT 0, + `AreaID4` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6718,14 +6938,14 @@ DROP TABLE IF EXISTS `world_safe_locs`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `world_safe_locs` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `AreaName` text, - `LocX` float NOT NULL DEFAULT '0', - `LocY` float NOT NULL DEFAULT '0', - `LocZ` float NOT NULL DEFAULT '0', - `Facing` float NOT NULL DEFAULT '0', - `MapID` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `AreaName` text DEFAULT NULL, + `LocX` float NOT NULL DEFAULT 0, + `LocY` float NOT NULL DEFAULT 0, + `LocZ` float NOT NULL DEFAULT 0, + `MapID` smallint(5) unsigned NOT NULL DEFAULT 0, + `Facing` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6738,10 +6958,10 @@ DROP TABLE IF EXISTS `world_safe_locs_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `world_safe_locs_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `AreaName_lang` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `AreaName_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -6755,4 +6975,4 @@ CREATE TABLE `world_safe_locs_locale` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2018-02-19 22:43:15 +-- Dump completed on 2019-07-15 16:01:18 diff --git a/sql/base/dev/world_database.sql b/sql/base/dev/world_database.sql index 251479c241f..54dd9f2e3b4 100644 --- a/sql/base/dev/world_database.sql +++ b/sql/base/dev/world_database.sql @@ -1,13 +1,13 @@ --- MySQL dump 10.16 Distrib 10.1.6-MariaDB, for Win64 (AMD64) +-- MySQL dump 10.17 Distrib 10.3.15-MariaDB, for debian-linux-gnu (x86_64) -- --- Host: localhost Database: world +-- Host: localhost Database: world_8 -- ------------------------------------------------------ --- Server version 10.1.6-MariaDB +-- Server version 10.3.15-MariaDB-1 /*!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 */; +/*!40101 SET NAMES utf8mb4 */; /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; /*!40103 SET TIME_ZONE='+00:00' */; /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; @@ -24,16 +24,16 @@ DROP TABLE IF EXISTS `access_requirement`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `access_requirement` ( `mapId` mediumint(8) unsigned NOT NULL, - `difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0', - `level_min` tinyint(3) unsigned NOT NULL DEFAULT '0', - `level_max` tinyint(3) unsigned NOT NULL DEFAULT '0', - `item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `item2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `quest_done_A` mediumint(8) unsigned NOT NULL DEFAULT '0', - `quest_done_H` mediumint(8) unsigned NOT NULL DEFAULT '0', - `completed_achievement` mediumint(8) unsigned NOT NULL DEFAULT '0', - `quest_failed_text` text, - `comment` text, + `difficulty` tinyint(3) unsigned NOT NULL DEFAULT 0, + `level_min` tinyint(3) unsigned NOT NULL DEFAULT 0, + `level_max` tinyint(3) unsigned NOT NULL DEFAULT 0, + `item` mediumint(8) unsigned NOT NULL DEFAULT 0, + `item2` mediumint(8) unsigned NOT NULL DEFAULT 0, + `quest_done_A` mediumint(8) unsigned NOT NULL DEFAULT 0, + `quest_done_H` mediumint(8) unsigned NOT NULL DEFAULT 0, + `completed_achievement` mediumint(8) unsigned NOT NULL DEFAULT 0, + `quest_failed_text` text DEFAULT NULL, + `comment` text DEFAULT NULL, PRIMARY KEY (`mapId`,`difficulty`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Access Requirements'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -47,12 +47,12 @@ DROP TABLE IF EXISTS `achievement_dbc`; /*!40101 SET character_set_client = utf8 */; 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', + `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, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -65,19 +65,35 @@ DROP TABLE IF EXISTS `achievement_reward`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `achievement_reward` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `title_A` mediumint(8) unsigned NOT NULL DEFAULT '0', - `title_H` mediumint(8) unsigned NOT NULL DEFAULT '0', - `item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `sender` mediumint(8) unsigned NOT NULL DEFAULT '0', - `subject` varchar(255) DEFAULT NULL, - `text` text, - `mailTemplate` mediumint(8) unsigned DEFAULT '0', - PRIMARY KEY (`entry`) + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `TitleA` int(10) unsigned NOT NULL DEFAULT 0, + `TitleH` int(10) unsigned NOT NULL DEFAULT 0, + `ItemID` int(10) unsigned NOT NULL DEFAULT 0, + `Sender` int(10) unsigned NOT NULL DEFAULT 0, + `Subject` varchar(255) DEFAULT NULL, + `Body` text DEFAULT NULL, + `MailTemplateID` int(10) unsigned DEFAULT 0, + PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- +-- Table structure for table `achievement_reward_locale` +-- + +DROP TABLE IF EXISTS `achievement_reward_locale`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `achievement_reward_locale` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Locale` varchar(4) NOT NULL, + `Subject` text DEFAULT NULL, + `Body` text DEFAULT NULL, + PRIMARY KEY (`ID`,`Locale`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- -- Table structure for table `areatrigger_involvedrelation` -- @@ -85,8 +101,8 @@ DROP TABLE IF EXISTS `areatrigger_involvedrelation`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', + `quest` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -113,8 +129,8 @@ DROP TABLE IF EXISTS `areatrigger_tavern`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `areatrigger_tavern` ( - `id` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier', - `name` text, + `id` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', + `name` text DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -127,9 +143,9 @@ DROP TABLE IF EXISTS `areatrigger_teleport`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `areatrigger_teleport` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `PortLocID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Name` text, + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `PortLocID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, PRIMARY KEY (`ID`), FULLTEXT KEY `name` (`Name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System'; @@ -144,16 +160,16 @@ DROP TABLE IF EXISTS `areatrigger_template`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `areatrigger_template` ( `Id` int(10) unsigned NOT NULL, - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `Data0` float NOT NULL DEFAULT '0', - `Data1` float NOT NULL DEFAULT '0', - `Data2` float NOT NULL DEFAULT '0', - `Data3` float NOT NULL DEFAULT '0', - `Data4` float NOT NULL DEFAULT '0', - `Data5` float NOT NULL DEFAULT '0', + `Type` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Flags` int(10) unsigned NOT NULL DEFAULT 0, + `Data0` float NOT NULL DEFAULT 0, + `Data1` float NOT NULL DEFAULT 0, + `Data2` float NOT NULL DEFAULT 0, + `Data3` float NOT NULL DEFAULT 0, + `Data4` float NOT NULL DEFAULT 0, + `Data5` float NOT NULL DEFAULT 0, `ScriptName` char(64) NOT NULL DEFAULT '', - `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`Id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -169,7 +185,7 @@ CREATE TABLE `areatrigger_template_actions` ( `AreaTriggerId` int(10) unsigned NOT NULL, `ActionType` int(10) unsigned NOT NULL, `ActionParam` int(10) unsigned NOT NULL, - `TargetType` int(10) unsigned NOT NULL DEFAULT '0', + `TargetType` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`AreaTriggerId`,`ActionType`,`ActionParam`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -184,11 +200,11 @@ DROP TABLE IF EXISTS `areatrigger_template_polygon_vertices`; CREATE TABLE `areatrigger_template_polygon_vertices` ( `AreaTriggerId` int(10) unsigned NOT NULL, `Idx` int(10) unsigned NOT NULL, - `VerticeX` float NOT NULL DEFAULT '0', - `VerticeY` float NOT NULL DEFAULT '0', + `VerticeX` float NOT NULL DEFAULT 0, + `VerticeY` float NOT NULL DEFAULT 0, `VerticeTargetX` float DEFAULT NULL, `VerticeTargetY` float DEFAULT NULL, - `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`AreaTriggerId`,`Idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -201,8 +217,8 @@ DROP TABLE IF EXISTS `battle_pet_breeds`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `battle_pet_breeds` ( - `speciesId` int(10) unsigned NOT NULL DEFAULT '0', - `breedId` smallint(5) unsigned NOT NULL DEFAULT '0', + `speciesId` int(10) unsigned NOT NULL DEFAULT 0, + `breedId` smallint(5) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`speciesId`,`breedId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -215,8 +231,8 @@ DROP TABLE IF EXISTS `battle_pet_quality`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `battle_pet_quality` ( - `speciesId` int(10) unsigned NOT NULL DEFAULT '0', - `quality` tinyint(3) unsigned NOT NULL DEFAULT '0', + `speciesId` int(10) unsigned NOT NULL DEFAULT 0, + `quality` tinyint(3) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`speciesId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -229,15 +245,15 @@ DROP TABLE IF EXISTS `battleground_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', + `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, `HordeStartLoc` mediumint(8) unsigned NOT NULL, - `StartMaxDist` float NOT NULL DEFAULT '0', - `Weight` tinyint(3) unsigned NOT NULL DEFAULT '1', + `StartMaxDist` float NOT NULL DEFAULT 0, + `Weight` tinyint(3) unsigned NOT NULL DEFAULT 1, `ScriptName` char(64) NOT NULL DEFAULT '', `Comment` char(32) NOT NULL, PRIMARY KEY (`ID`) @@ -252,8 +268,8 @@ DROP TABLE IF EXISTS `battlemaster_entry`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Entry of a creature', + `bg_template` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Battleground template id', PRIMARY KEY (`entry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -266,14 +282,14 @@ DROP TABLE IF EXISTS `blackmarket_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `blackmarket_template` ( - `marketId` int(10) NOT NULL DEFAULT '0', - `sellerNpc` mediumint(8) NOT NULL DEFAULT '0', - `itemEntry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `quantity` int(10) NOT NULL DEFAULT '1', - `minBid` bigint(20) unsigned NOT NULL DEFAULT '0', - `duration` int(10) NOT NULL DEFAULT '0', - `chance` float NOT NULL DEFAULT '0', - `bonusListIDs` text, + `marketId` int(10) NOT NULL DEFAULT 0, + `sellerNpc` mediumint(8) NOT NULL DEFAULT 0, + `itemEntry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `quantity` int(10) NOT NULL DEFAULT 1, + `minBid` bigint(20) unsigned NOT NULL DEFAULT 0, + `duration` int(10) NOT NULL DEFAULT 0, + `chance` float NOT NULL DEFAULT 0, + `bonusListIDs` text DEFAULT NULL, PRIMARY KEY (`marketId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -289,7 +305,7 @@ CREATE TABLE `character_template` ( `Id` int(10) unsigned NOT NULL, `Name` varchar(70) NOT NULL, `Description` varchar(100) NOT NULL, - `Level` tinyint(3) unsigned NOT NULL DEFAULT '1', + `Level` tinyint(3) unsigned NOT NULL DEFAULT 1, PRIMARY KEY (`Id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -317,8 +333,8 @@ DROP TABLE IF EXISTS `class_expansion_requirement`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `class_expansion_requirement` ( - `classID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `expansion` tinyint(3) unsigned NOT NULL DEFAULT '0', + `classID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `expansion` tinyint(3) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`classID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -332,8 +348,8 @@ DROP TABLE IF EXISTS `command`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `command` ( `name` varchar(50) NOT NULL DEFAULT '', - `permission` smallint(5) unsigned NOT NULL DEFAULT '0', - `help` longtext, + `permission` smallint(5) unsigned NOT NULL DEFAULT 0, + `help` longtext DEFAULT NULL, PRIMARY KEY (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Chat System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -346,19 +362,19 @@ DROP TABLE IF EXISTS `conditions`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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` int(10) unsigned NOT NULL DEFAULT '0', - `ConditionValue2` int(10) unsigned NOT NULL DEFAULT '0', - `ConditionValue3` int(10) 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(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` int(10) unsigned NOT NULL DEFAULT 0, + `ConditionValue2` int(10) unsigned NOT NULL DEFAULT 0, + `ConditionValue3` int(10) unsigned NOT NULL DEFAULT 0, + `NegativeCondition` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ErrorType` mediumint(8) unsigned NOT NULL DEFAULT 0, + `ErrorTextId` mediumint(8) unsigned NOT NULL DEFAULT 0, `ScriptName` char(64) NOT NULL DEFAULT '', `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`) @@ -374,9 +390,9 @@ DROP TABLE IF EXISTS `conversation_actor_template`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `conversation_actor_template` ( `Id` int(10) unsigned NOT NULL, - `CreatureId` int(10) unsigned NOT NULL DEFAULT '0', - `CreatureModelId` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT '0', + `CreatureId` int(10) unsigned NOT NULL DEFAULT 0, + `CreatureModelId` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`Id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -390,10 +406,10 @@ DROP TABLE IF EXISTS `conversation_actors`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `conversation_actors` ( `ConversationId` int(10) unsigned NOT NULL, - `ConversationActorId` int(10) unsigned NOT NULL DEFAULT '0', - `ConversationActorGuid` bigint(20) unsigned NOT NULL DEFAULT '0', - `Idx` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT '0', + `ConversationActorId` int(10) unsigned NOT NULL DEFAULT 0, + `ConversationActorGuid` bigint(20) unsigned NOT NULL DEFAULT 0, + `Idx` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`ConversationId`,`Idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -407,11 +423,11 @@ DROP TABLE IF EXISTS `conversation_line_template`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `conversation_line_template` ( `Id` int(10) unsigned NOT NULL, - `StartTime` int(10) unsigned NOT NULL DEFAULT '0', - `UiCameraID` int(10) unsigned NOT NULL DEFAULT '0', - `ActorIdx` smallint(5) unsigned NOT NULL DEFAULT '0', - `Unk` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT '0', + `StartTime` int(10) unsigned NOT NULL DEFAULT 0, + `UiCameraID` int(10) unsigned NOT NULL DEFAULT 0, + `ActorIdx` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`Id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -427,8 +443,9 @@ CREATE TABLE `conversation_template` ( `Id` int(10) unsigned NOT NULL, `FirstLineId` int(10) unsigned NOT NULL, `LastLineEndTime` int(10) unsigned NOT NULL, + `TextureKitId` int(10) unsigned NOT NULL DEFAULT 0, `ScriptName` varchar(64) NOT NULL DEFAULT '', - `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT '0', + `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`Id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -441,33 +458,35 @@ DROP TABLE IF EXISTS `creature`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature` ( - `guid` bigint(20) unsigned NOT NULL DEFAULT '0', - `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` bigint(20) unsigned NOT NULL DEFAULT '1', - `PhaseId` int(10) DEFAULT '0', - `PhaseGroup` int(10) DEFAULT '0', - `modelid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `equipment_id` tinyint(3) 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', - `spawndist` float NOT NULL DEFAULT '0', - `currentwaypoint` mediumint(8) unsigned NOT NULL DEFAULT '0', - `curhealth` int(10) unsigned NOT NULL DEFAULT '1', - `curmana` int(10) unsigned NOT NULL DEFAULT '0', - `MovementType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `npcflag` bigint(20) unsigned NOT NULL DEFAULT '0', - `unit_flags` int(10) unsigned NOT NULL DEFAULT '0', - `unit_flags2` int(10) unsigned NOT NULL DEFAULT '0', - `unit_flags3` int(10) unsigned NOT NULL DEFAULT '0', - `dynamicflags` int(10) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT 0, + `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', + `spawnDifficulties` varchar(100) NOT NULL DEFAULT '0', + `phaseUseFlags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PhaseId` int(10) DEFAULT 0, + `PhaseGroup` int(10) DEFAULT 0, + `terrainSwapMap` int(11) NOT NULL DEFAULT -1, + `modelid` mediumint(8) unsigned NOT NULL DEFAULT 0, + `equipment_id` tinyint(3) NOT NULL DEFAULT 0, + `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, + `spawndist` float NOT NULL DEFAULT 0, + `currentwaypoint` mediumint(8) unsigned NOT NULL DEFAULT 0, + `curhealth` int(10) unsigned NOT NULL DEFAULT 1, + `curmana` int(10) unsigned NOT NULL DEFAULT 0, + `MovementType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `npcflag` bigint(20) unsigned NOT NULL DEFAULT 0, + `unit_flags` int(10) unsigned NOT NULL DEFAULT 0, + `unit_flags2` int(10) unsigned NOT NULL DEFAULT 0, + `unit_flags3` int(10) unsigned NOT NULL DEFAULT 0, + `dynamicflags` int(10) unsigned NOT NULL DEFAULT 0, `ScriptName` char(64) DEFAULT '', - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`guid`), KEY `idx_map` (`map`), KEY `idx_id` (`id`) @@ -482,16 +501,17 @@ DROP TABLE IF EXISTS `creature_addon`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_addon` ( - `guid` bigint(20) unsigned NOT NULL DEFAULT '0', - `path_id` int(10) unsigned NOT NULL DEFAULT '0', - `mount` mediumint(8) unsigned NOT NULL DEFAULT '0', - `bytes1` int(10) unsigned NOT NULL DEFAULT '0', - `bytes2` int(10) unsigned NOT NULL DEFAULT '0', - `emote` int(10) unsigned NOT NULL DEFAULT '0', - `aiAnimKit` smallint(6) NOT NULL DEFAULT '0', - `movementAnimKit` smallint(6) NOT NULL DEFAULT '0', - `meleeAnimKit` smallint(6) NOT NULL DEFAULT '0', - `auras` text, + `guid` bigint(20) unsigned NOT NULL DEFAULT 0, + `path_id` int(10) unsigned NOT NULL DEFAULT 0, + `mount` mediumint(8) unsigned NOT NULL DEFAULT 0, + `bytes1` int(10) unsigned NOT NULL DEFAULT 0, + `bytes2` int(10) unsigned NOT NULL DEFAULT 0, + `emote` int(10) unsigned NOT NULL DEFAULT 0, + `aiAnimKit` smallint(6) NOT NULL DEFAULT 0, + `movementAnimKit` smallint(6) NOT NULL DEFAULT 0, + `meleeAnimKit` smallint(6) NOT NULL DEFAULT 0, + `visibilityDistanceType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `auras` text DEFAULT NULL, PRIMARY KEY (`guid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -506,17 +526,11 @@ DROP TABLE IF EXISTS `creature_classlevelstats`; CREATE TABLE `creature_classlevelstats` ( `level` tinyint(4) NOT NULL, `class` tinyint(4) NOT NULL, - `basemana` mediumint(8) unsigned NOT NULL DEFAULT '1', - `basearmor` mediumint(8) unsigned NOT NULL DEFAULT '1', - `attackpower` smallint(6) NOT NULL DEFAULT '0', - `rangedattackpower` smallint(6) NOT NULL DEFAULT '0', - `damage_base` float NOT NULL DEFAULT '0', - `damage_exp1` float NOT NULL DEFAULT '0', - `damage_exp2` float NOT NULL DEFAULT '0', - `damage_exp3` float NOT NULL DEFAULT '0', - `damage_exp4` float NOT NULL DEFAULT '0', - `damage_exp5` float NOT NULL DEFAULT '0', - `comment` text, + `basemana` mediumint(8) unsigned NOT NULL DEFAULT 1, + `basearmor` mediumint(8) unsigned NOT NULL DEFAULT 1, + `attackpower` smallint(6) NOT NULL DEFAULT 0, + `rangedattackpower` smallint(6) NOT NULL DEFAULT 0, + `comment` text DEFAULT NULL, PRIMARY KEY (`level`,`class`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -530,7 +544,7 @@ DROP TABLE IF EXISTS `creature_default_trainer`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_default_trainer` ( `CreatureId` int(11) unsigned NOT NULL, - `TrainerId` int(11) unsigned NOT NULL DEFAULT '0', + `TrainerId` int(11) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`CreatureId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -543,18 +557,18 @@ DROP TABLE IF EXISTS `creature_equip_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `AppearanceModID1` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemVisual1` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemID2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `AppearanceModID2` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemVisual2` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemID3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `AppearanceModID3` smallint(5) unsigned NOT NULL DEFAULT '0', - `ItemVisual3` smallint(5) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `CreatureID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `ID` tinyint(3) unsigned NOT NULL DEFAULT 1, + `ItemID1` mediumint(8) unsigned NOT NULL DEFAULT 0, + `AppearanceModID1` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemVisual1` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemID2` mediumint(8) unsigned NOT NULL DEFAULT 0, + `AppearanceModID2` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemVisual2` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemID3` mediumint(8) unsigned NOT NULL DEFAULT 0, + `AppearanceModID3` smallint(5) unsigned NOT NULL DEFAULT 0, + `ItemVisual3` smallint(5) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`CreatureID`,`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -567,13 +581,13 @@ DROP TABLE IF EXISTS `creature_formations`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_formations` ( - `leaderGUID` bigint(20) unsigned NOT NULL DEFAULT '0', - `memberGUID` bigint(20) unsigned NOT NULL DEFAULT '0', + `leaderGUID` bigint(20) unsigned NOT NULL DEFAULT 0, + `memberGUID` bigint(20) 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', + `point_1` smallint(5) unsigned NOT NULL DEFAULT 0, + `point_2` smallint(5) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`memberGUID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -586,15 +600,15 @@ DROP TABLE IF EXISTS `creature_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Item` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Reference` mediumint(8) 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, `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Loot System'; @@ -608,11 +622,11 @@ DROP TABLE IF EXISTS `creature_model_info`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_model_info` ( - `DisplayID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `BoundingRadius` float NOT NULL DEFAULT '0', - `CombatReach` float NOT NULL DEFAULT '0', - `DisplayID_Other_Gender` mediumint(8) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `DisplayID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `BoundingRadius` float NOT NULL DEFAULT 0, + `CombatReach` float NOT NULL DEFAULT 0, + `DisplayID_Other_Gender` mediumint(8) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`DisplayID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Creature System (Model related info)'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -625,16 +639,16 @@ DROP TABLE IF EXISTS `creature_onkill_reputation`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(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, PRIMARY KEY (`creature_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature OnKill Reputation gain'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -647,8 +661,8 @@ DROP TABLE IF EXISTS `creature_questender`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', + `quest` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier', PRIMARY KEY (`id`,`quest`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -661,10 +675,10 @@ DROP TABLE IF EXISTS `creature_questitem`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(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, PRIMARY KEY (`CreatureEntry`,`Idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -677,8 +691,8 @@ DROP TABLE IF EXISTS `creature_queststarter`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', + `quest` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier', PRIMARY KEY (`id`,`quest`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -691,16 +705,16 @@ DROP TABLE IF EXISTS `creature_summon_groups`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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' + `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, + `position_x` float NOT NULL DEFAULT 0, + `position_y` float NOT NULL DEFAULT 0, + `position_z` float NOT NULL DEFAULT 0, + `orientation` float NOT NULL DEFAULT 0, + `summonType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `summonTime` int(10) unsigned NOT NULL DEFAULT 0 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -712,88 +726,86 @@ DROP TABLE IF EXISTS `creature_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_template` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `difficulty_entry_1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `difficulty_entry_2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `difficulty_entry_3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `KillCredit1` int(10) unsigned NOT NULL DEFAULT '0', - `KillCredit2` int(10) unsigned NOT NULL DEFAULT '0', - `modelid1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `modelid2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `modelid3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `modelid4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `name` char(200) NOT NULL DEFAULT '0', - `femaleName` char(200) NOT NULL, - `subname` char(200) DEFAULT NULL, - `TitleAlt` char(200) DEFAULT NULL, - `IconName` char(100) DEFAULT NULL, - `gossip_menu_id` mediumint(8) unsigned NOT NULL DEFAULT '0', - `minlevel` smallint(5) NOT NULL DEFAULT '1', - `maxlevel` smallint(5) NOT NULL DEFAULT '1', - `HealthScalingExpansion` mediumint(5) NOT NULL DEFAULT '0', - `RequiredExpansion` mediumint(5) NOT NULL DEFAULT '0', - `VignetteID` mediumint(5) NOT NULL DEFAULT '0', - `faction` smallint(5) unsigned NOT NULL DEFAULT '0', - `npcflag` bigint(20) 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', - `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', - `unit_flags3` int(10) unsigned NOT NULL DEFAULT '0', - `dynamicflags` int(10) unsigned NOT NULL DEFAULT '0', - `family` tinyint(3) unsigned NOT NULL DEFAULT '0', - `trainer_class` tinyint(3) unsigned NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `type_flags` int(10) unsigned NOT NULL DEFAULT '0', - `type_flags2` int(10) unsigned NOT NULL DEFAULT '0', - `lootid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `pickpocketloot` mediumint(8) unsigned NOT NULL DEFAULT '0', - `skinloot` mediumint(8) unsigned NOT NULL DEFAULT '0', - `resistance1` smallint(6) NOT NULL DEFAULT '0', - `resistance2` smallint(6) NOT NULL DEFAULT '0', - `resistance3` smallint(6) NOT NULL DEFAULT '0', - `resistance4` smallint(6) NOT NULL DEFAULT '0', - `resistance5` smallint(6) NOT NULL DEFAULT '0', - `resistance6` smallint(6) NOT NULL DEFAULT '0', - `spell1` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell2` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell3` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell4` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell5` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell6` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell7` mediumint(8) unsigned NOT NULL DEFAULT '0', - `spell8` mediumint(8) unsigned NOT NULL DEFAULT '0', - `VehicleId` mediumint(8) unsigned NOT NULL DEFAULT '0', - `mingold` mediumint(8) unsigned NOT NULL DEFAULT '0', - `maxgold` mediumint(8) unsigned NOT NULL DEFAULT '0', - `AIName` char(64) NOT NULL DEFAULT '', - `MovementType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `InhabitType` tinyint(3) unsigned NOT NULL DEFAULT '3', - `HoverHeight` float NOT NULL DEFAULT '1', - `HealthModifier` float NOT NULL DEFAULT '1', - `HealthModifierExtra` float NOT NULL DEFAULT '1', - `ManaModifier` float NOT NULL DEFAULT '1', - `ManaModifierExtra` 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', - `flags_extra` int(10) unsigned NOT NULL DEFAULT '0', - `ScriptName` char(64) NOT NULL DEFAULT '', - `VerifiedBuild` smallint(5) DEFAULT '0', - PRIMARY KEY (`entry`), - KEY `idx_name` (`name`) + `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, + `name` text DEFAULT NULL, + `femaleName` text DEFAULT NULL, + `subname` text DEFAULT NULL, + `TitleAlt` text DEFAULT NULL, + `IconName` varchar(64) DEFAULT NULL, + `gossip_menu_id` mediumint(8) unsigned NOT NULL DEFAULT 0, + `minlevel` smallint(5) NOT NULL DEFAULT 1, + `maxlevel` smallint(5) NOT NULL DEFAULT 1, + `HealthScalingExpansion` mediumint(5) NOT NULL DEFAULT 0, + `RequiredExpansion` mediumint(5) NOT NULL DEFAULT 0, + `VignetteID` mediumint(5) NOT NULL DEFAULT 0, + `faction` smallint(5) unsigned NOT NULL DEFAULT 0, + `npcflag` bigint(20) 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, + `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, + `unit_flags3` int(10) unsigned NOT NULL DEFAULT 0, + `dynamicflags` int(10) unsigned NOT NULL DEFAULT 0, + `family` int(11) NOT NULL DEFAULT 0, + `trainer_class` tinyint(3) unsigned NOT NULL DEFAULT 0, + `type` tinyint(3) unsigned NOT NULL DEFAULT 0, + `type_flags` int(10) unsigned NOT NULL DEFAULT 0, + `type_flags2` int(10) unsigned NOT NULL DEFAULT 0, + `lootid` mediumint(8) unsigned NOT NULL DEFAULT 0, + `pickpocketloot` mediumint(8) unsigned NOT NULL DEFAULT 0, + `skinloot` mediumint(8) unsigned NOT NULL DEFAULT 0, + `resistance1` smallint(6) NOT NULL DEFAULT 0, + `resistance2` smallint(6) NOT NULL DEFAULT 0, + `resistance3` smallint(6) NOT NULL DEFAULT 0, + `resistance4` smallint(6) NOT NULL DEFAULT 0, + `resistance5` smallint(6) NOT NULL DEFAULT 0, + `resistance6` smallint(6) NOT NULL DEFAULT 0, + `spell1` mediumint(8) unsigned NOT NULL DEFAULT 0, + `spell2` mediumint(8) unsigned NOT NULL DEFAULT 0, + `spell3` mediumint(8) unsigned NOT NULL DEFAULT 0, + `spell4` mediumint(8) unsigned NOT NULL DEFAULT 0, + `spell5` mediumint(8) unsigned NOT NULL DEFAULT 0, + `spell6` mediumint(8) unsigned NOT NULL DEFAULT 0, + `spell7` mediumint(8) unsigned NOT NULL DEFAULT 0, + `spell8` mediumint(8) unsigned NOT NULL DEFAULT 0, + `VehicleId` mediumint(8) unsigned NOT NULL DEFAULT 0, + `mingold` mediumint(8) unsigned NOT NULL DEFAULT 0, + `maxgold` mediumint(8) unsigned NOT NULL DEFAULT 0, + `AIName` varchar(64) NOT NULL DEFAULT '', + `MovementType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `InhabitType` tinyint(3) unsigned NOT NULL DEFAULT 3, + `HoverHeight` float NOT NULL DEFAULT 1, + `HealthModifier` float NOT NULL DEFAULT 1, + `HealthModifierExtra` float NOT NULL DEFAULT 1, + `ManaModifier` float NOT NULL DEFAULT 1, + `ManaModifierExtra` 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, + `FadeRegionRadius` float NOT NULL DEFAULT 0, + `WidgetSetID` int(11) NOT NULL DEFAULT 0, + `WidgetSetUnitConditionID` int(11) NOT NULL DEFAULT 0, + `RegenHealth` tinyint(3) unsigned NOT NULL DEFAULT 1, + `mechanic_immune_mask` int(10) unsigned NOT NULL DEFAULT 0, + `flags_extra` int(10) unsigned NOT NULL DEFAULT 0, + `ScriptName` varchar(64) NOT NULL DEFAULT '', + `VerifiedBuild` smallint(5) DEFAULT 0, + PRIMARY KEY (`entry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -805,16 +817,17 @@ DROP TABLE IF EXISTS `creature_template_addon`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `bytes1` int(10) unsigned NOT NULL DEFAULT '0', - `bytes2` int(10) unsigned NOT NULL DEFAULT '0', - `emote` mediumint(8) unsigned NOT NULL DEFAULT '0', - `aiAnimKit` smallint(6) NOT NULL DEFAULT '0', - `movementAnimKit` smallint(6) NOT NULL DEFAULT '0', - `meleeAnimKit` smallint(6) NOT NULL DEFAULT '0', - `auras` text, + `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, + `bytes1` int(10) unsigned NOT NULL DEFAULT 0, + `bytes2` int(10) unsigned NOT NULL DEFAULT 0, + `emote` mediumint(8) unsigned NOT NULL DEFAULT 0, + `aiAnimKit` smallint(6) NOT NULL DEFAULT 0, + `movementAnimKit` smallint(6) NOT NULL DEFAULT 0, + `meleeAnimKit` smallint(6) NOT NULL DEFAULT 0, + `visibilityDistanceType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `auras` text DEFAULT NULL, PRIMARY KEY (`entry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -827,18 +840,36 @@ DROP TABLE IF EXISTS `creature_template_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_template_locale` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `entry` mediumint(8) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name` text, - `NameAlt` text, - `Title` text, - `TitleAlt` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `Name` text DEFAULT NULL, + `NameAlt` text DEFAULT NULL, + `Title` text DEFAULT NULL, + `TitleAlt` text DEFAULT NULL, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`entry`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- +-- Table structure for table `creature_template_model` +-- + +DROP TABLE IF EXISTS `creature_template_model`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `creature_template_model` ( + `CreatureID` int(10) unsigned NOT NULL, + `Idx` int(10) unsigned NOT NULL DEFAULT 0, + `CreatureDisplayID` int(10) unsigned NOT NULL, + `DisplayScale` float NOT NULL DEFAULT 1, + `Probability` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) unsigned NOT NULL, + PRIMARY KEY (`CreatureID`,`Idx`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- -- Table structure for table `creature_template_scaling` -- @@ -847,9 +878,10 @@ DROP TABLE IF EXISTS `creature_template_scaling`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_template_scaling` ( `Entry` mediumint(8) unsigned NOT NULL, - `LevelScalingMin` smallint(5) unsigned NOT NULL DEFAULT '0', - `LevelScalingMax` smallint(5) unsigned NOT NULL DEFAULT '0', - `LevelScalingDelta` smallint(5) NOT NULL DEFAULT '0', + `LevelScalingMin` smallint(5) unsigned NOT NULL DEFAULT 0, + `LevelScalingMax` smallint(5) unsigned NOT NULL DEFAULT 0, + `LevelScalingDeltaMin` smallint(5) NOT NULL DEFAULT 0, + `LevelScalingDeltaMax` smallint(5) NOT NULL DEFAULT 0, `VerifiedBuild` smallint(5) DEFAULT NULL, PRIMARY KEY (`Entry`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; @@ -863,18 +895,18 @@ DROP TABLE IF EXISTS `creature_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `creature_text` ( - `CreatureID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `GroupID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `ID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Text` longtext, - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Language` tinyint(3) NOT NULL DEFAULT '0', - `Probability` float unsigned NOT NULL DEFAULT '0', - `Emote` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Duration` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Sound` mediumint(8) unsigned NOT NULL DEFAULT '0', - `BroadcastTextId` mediumint(6) NOT NULL DEFAULT '0', - `TextRange` tinyint(3) unsigned NOT NULL DEFAULT '0', + `CreatureID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `GroupID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Text` longtext DEFAULT NULL, + `Type` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Language` tinyint(3) NOT NULL DEFAULT 0, + `Probability` float unsigned NOT NULL DEFAULT 0, + `Emote` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Duration` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Sound` mediumint(8) unsigned NOT NULL DEFAULT 0, + `BroadcastTextId` mediumint(6) NOT NULL DEFAULT 0, + `TextRange` tinyint(3) unsigned NOT NULL DEFAULT 0, `comment` varchar(255) DEFAULT '', PRIMARY KEY (`CreatureID`,`GroupID`,`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -888,11 +920,11 @@ DROP TABLE IF EXISTS `creature_text_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(8) unsigned NOT NULL DEFAULT 0, + `GroupID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `ID` tinyint(3) unsigned NOT NULL DEFAULT 0, `Locale` varchar(4) NOT NULL, - `Text` text, + `Text` text DEFAULT NULL, PRIMARY KEY (`CreatureID`,`GroupID`,`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -906,9 +938,9 @@ DROP TABLE IF EXISTS `criteria_data`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `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', + `type` tinyint(3) unsigned NOT NULL DEFAULT 0, + `value1` mediumint(8) unsigned NOT NULL DEFAULT 0, + `value2` mediumint(8) unsigned NOT NULL DEFAULT 0, `ScriptName` char(64) NOT NULL DEFAULT '', PRIMARY KEY (`criteria_id`,`type`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Achievment system'; @@ -924,7 +956,7 @@ DROP TABLE IF EXISTS `disables`; CREATE TABLE `disables` ( `sourceType` int(10) unsigned NOT NULL, `entry` int(10) unsigned NOT NULL, - `flags` tinyint(3) unsigned NOT NULL DEFAULT '0', + `flags` tinyint(3) unsigned NOT NULL DEFAULT 0, `params_0` varchar(255) NOT NULL DEFAULT '', `params_1` varchar(255) NOT NULL DEFAULT '', `comment` varchar(255) NOT NULL DEFAULT '', @@ -940,15 +972,15 @@ DROP TABLE IF EXISTS `disenchant_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Item` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Reference` mediumint(8) 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, `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; @@ -962,16 +994,16 @@ DROP TABLE IF EXISTS `event_scripts`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `x` float NOT NULL DEFAULT '0', - `y` float NOT NULL DEFAULT '0', - `z` float NOT NULL DEFAULT '0', - `o` float NOT NULL DEFAULT '0' + `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, + `x` float NOT NULL DEFAULT 0, + `y` float NOT NULL DEFAULT 0, + `z` float NOT NULL DEFAULT 0, + `o` float NOT NULL DEFAULT 0 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -983,8 +1015,8 @@ DROP TABLE IF EXISTS `exploration_basexp`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `exploration_basexp` ( - `level` tinyint(3) unsigned NOT NULL DEFAULT '0', - `basexp` mediumint(8) NOT NULL DEFAULT '0', + `level` tinyint(3) unsigned NOT NULL DEFAULT 0, + `basexp` mediumint(8) NOT NULL DEFAULT 0, PRIMARY KEY (`level`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Exploration System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -997,15 +1029,15 @@ DROP TABLE IF EXISTS `fishing_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Item` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Reference` mediumint(8) 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, `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Loot System'; @@ -1022,12 +1054,12 @@ CREATE TABLE `game_event` ( `eventEntry` tinyint(3) 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', + `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', `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(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', PRIMARY KEY (`eventEntry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1055,7 +1087,7 @@ DROP TABLE IF EXISTS `game_event_battleground_holiday`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `game_event_battleground_holiday` ( `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', - `bgflag` int(10) unsigned NOT NULL DEFAULT '0', + `bgflag` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`eventEntry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1069,10 +1101,10 @@ DROP TABLE IF EXISTS `game_event_condition`; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `condition_id` mediumint(8) unsigned NOT NULL DEFAULT 0, + `req_num` float DEFAULT 0, + `max_world_state_field` smallint(5) unsigned NOT NULL DEFAULT 0, + `done_world_state_field` smallint(5) unsigned NOT NULL DEFAULT 0, `description` varchar(25) NOT NULL DEFAULT '', PRIMARY KEY (`eventEntry`,`condition_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -1087,7 +1119,7 @@ DROP TABLE IF EXISTS `game_event_creature`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `game_event_creature` ( `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.', - `guid` bigint(20) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`guid`,`eventEntry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1101,8 +1133,8 @@ DROP TABLE IF EXISTS `game_event_creature_quest`; /*!40101 SET character_set_client = utf8 */; 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', + `id` mediumint(8) unsigned NOT NULL DEFAULT 0, + `quest` mediumint(8) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`id`,`quest`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1116,7 +1148,7 @@ DROP TABLE IF EXISTS `game_event_gameobject`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `game_event_gameobject` ( `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event. Put negative entry to remove during event.', - `guid` bigint(20) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`guid`,`eventEntry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1130,8 +1162,8 @@ DROP TABLE IF EXISTS `game_event_gameobject_quest`; /*!40101 SET character_set_client = utf8 */; 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', + `id` mediumint(8) unsigned NOT NULL DEFAULT 0, + `quest` mediumint(8) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`id`,`quest`,`eventEntry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1145,9 +1177,9 @@ DROP TABLE IF EXISTS `game_event_model_equip`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `game_event_model_equip` ( `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event.', - `guid` bigint(20) unsigned NOT NULL DEFAULT '0', - `modelid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `equipment_id` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT 0, + `modelid` mediumint(8) unsigned NOT NULL DEFAULT 0, + `equipment_id` tinyint(3) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`guid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1161,16 +1193,16 @@ DROP TABLE IF EXISTS `game_event_npc_vendor`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `game_event_npc_vendor` ( `eventEntry` tinyint(4) NOT NULL COMMENT 'Entry of the game event.', - `guid` bigint(20) unsigned NOT NULL DEFAULT '0', - `slot` smallint(6) NOT NULL DEFAULT '0', - `item` mediumint(8) unsigned NOT NULL DEFAULT '0', - `maxcount` mediumint(8) unsigned NOT NULL DEFAULT '0', - `incrtime` mediumint(8) unsigned NOT NULL DEFAULT '0', - `ExtendedCost` mediumint(8) unsigned NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL DEFAULT '1', - `BonusListIDs` text, - `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT '0', - `IgnoreFiltering` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT 0, + `slot` smallint(6) NOT NULL DEFAULT 0, + `item` mediumint(8) unsigned NOT NULL DEFAULT 0, + `maxcount` mediumint(8) unsigned NOT NULL DEFAULT 0, + `incrtime` mediumint(8) unsigned NOT NULL DEFAULT 0, + `ExtendedCost` mediumint(8) unsigned NOT NULL DEFAULT 0, + `type` tinyint(3) unsigned NOT NULL DEFAULT 1, + `BonusListIDs` text DEFAULT NULL, + `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `IgnoreFiltering` tinyint(3) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`guid`,`item`,`ExtendedCost`,`type`), KEY `slot` (`slot`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -1185,8 +1217,8 @@ DROP TABLE IF EXISTS `game_event_npcflag`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `game_event_npcflag` ( `eventEntry` tinyint(3) unsigned NOT NULL COMMENT 'Entry of the game event', - `guid` bigint(20) unsigned NOT NULL DEFAULT '0', - `npcflag` bigint(20) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT 0, + `npcflag` bigint(20) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`guid`,`eventEntry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1200,7 +1232,7 @@ DROP TABLE IF EXISTS `game_event_pool`; /*!40101 SET character_set_client = utf8 */; 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', + `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Id of the pool', PRIMARY KEY (`pool_entry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1228,9 +1260,9 @@ DROP TABLE IF EXISTS `game_event_quest_condition`; /*!40101 SET character_set_client = utf8 */; 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', - `num` float DEFAULT '0', + `quest` mediumint(8) unsigned NOT NULL DEFAULT 0, + `condition_id` mediumint(8) unsigned NOT NULL DEFAULT 0, + `num` float DEFAULT 0, PRIMARY KEY (`quest`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1244,7 +1276,7 @@ DROP TABLE IF EXISTS `game_event_seasonal_questrelation`; /*!40101 SET character_set_client = utf8 */; 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', + `eventEntry` mediumint(8) 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'; @@ -1259,11 +1291,11 @@ DROP TABLE IF EXISTS `game_tele`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `game_tele` ( `id` mediumint(8) 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', + `position_x` float NOT NULL DEFAULT 0, + `position_y` float NOT NULL DEFAULT 0, + `position_z` float NOT NULL DEFAULT 0, + `orientation` float NOT NULL DEFAULT 0, + `map` smallint(5) unsigned NOT NULL DEFAULT 0, `name` varchar(100) NOT NULL DEFAULT '', PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=1584 DEFAULT CHARSET=utf8 COMMENT='Tele Command'; @@ -1277,19 +1309,19 @@ DROP TABLE IF EXISTS `game_weather`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(8) unsigned NOT NULL DEFAULT 0, + `spring_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT 25, + `spring_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT 25, + `spring_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT 25, + `summer_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT 25, + `summer_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT 25, + `summer_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT 25, + `fall_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT 25, + `fall_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT 25, + `fall_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT 25, + `winter_rain_chance` tinyint(3) unsigned NOT NULL DEFAULT 25, + `winter_snow_chance` tinyint(3) unsigned NOT NULL DEFAULT 25, + `winter_storm_chance` tinyint(3) unsigned NOT NULL DEFAULT 25, `ScriptName` char(64) NOT NULL DEFAULT '', PRIMARY KEY (`zone`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Weather System'; @@ -1303,27 +1335,29 @@ DROP TABLE IF EXISTS `gameobject`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gameobject` ( - `guid` bigint(20) unsigned NOT NULL DEFAULT '0', - `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` bigint(20) unsigned NOT NULL DEFAULT '1', - `PhaseId` int(10) DEFAULT '0', - `PhaseGroup` int(10) 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', - `rotation0` float NOT NULL DEFAULT '0', - `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', + `guid` bigint(20) unsigned NOT NULL DEFAULT 0, + `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', + `spawnDifficulties` varchar(100) NOT NULL DEFAULT '0', + `phaseUseFlags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `PhaseId` int(10) DEFAULT 0, + `PhaseGroup` int(10) DEFAULT 0, + `terrainSwapMap` int(11) 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, + `orientation` float NOT NULL DEFAULT 0, + `rotation0` float NOT NULL DEFAULT 0, + `rotation1` float NOT NULL DEFAULT 0, + `rotation2` float NOT NULL DEFAULT 0, + `rotation3` float NOT NULL DEFAULT 0, + `spawntimesecs` int(11) NOT NULL DEFAULT 0, + `animprogress` tinyint(3) unsigned NOT NULL DEFAULT 0, + `state` tinyint(3) unsigned NOT NULL DEFAULT 0, `ScriptName` char(64) DEFAULT '', - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`guid`) ) ENGINE=MyISAM AUTO_INCREMENT=255094 DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Gameobject System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1336,14 +1370,14 @@ DROP TABLE IF EXISTS `gameobject_addon`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gameobject_addon` ( - `guid` bigint(20) 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', - `WorldEffectID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) 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, + `WorldEffectID` mediumint(8) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`guid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1356,15 +1390,15 @@ DROP TABLE IF EXISTS `gameobject_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Item` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Reference` mediumint(8) 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, `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Loot System'; @@ -1378,8 +1412,8 @@ DROP TABLE IF EXISTS `gameobject_questender`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(8) unsigned NOT NULL DEFAULT 0, + `quest` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier', PRIMARY KEY (`id`,`quest`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1392,10 +1426,10 @@ DROP TABLE IF EXISTS `gameobject_questitem`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(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, PRIMARY KEY (`GameObjectEntry`,`Idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1408,8 +1442,8 @@ DROP TABLE IF EXISTS `gameobject_queststarter`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(8) unsigned NOT NULL DEFAULT 0, + `quest` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier', PRIMARY KEY (`id`,`quest`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1422,51 +1456,52 @@ DROP TABLE IF EXISTS `gameobject_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(8) unsigned NOT NULL DEFAULT 0, + `type` tinyint(3) unsigned NOT NULL DEFAULT 0, + `displayId` mediumint(8) unsigned NOT NULL DEFAULT 0, `name` varchar(100) 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) NOT NULL DEFAULT '0', - `Data1` int(10) NOT NULL DEFAULT '0', - `Data2` int(10) NOT NULL DEFAULT '0', - `Data3` int(10) NOT NULL DEFAULT '0', - `Data4` int(10) NOT NULL DEFAULT '0', - `Data5` int(10) NOT NULL DEFAULT '0', - `Data6` int(10) NOT NULL DEFAULT '0', - `Data7` int(10) NOT NULL DEFAULT '0', - `Data8` int(10) NOT NULL DEFAULT '0', - `Data9` int(10) NOT NULL DEFAULT '0', - `Data10` int(10) NOT NULL DEFAULT '0', - `Data11` int(10) NOT NULL DEFAULT '0', - `Data12` int(10) NOT NULL DEFAULT '0', - `Data13` int(10) NOT NULL DEFAULT '0', - `Data14` int(10) NOT NULL DEFAULT '0', - `Data15` int(10) NOT NULL DEFAULT '0', - `Data16` int(10) NOT NULL DEFAULT '0', - `Data17` int(10) NOT NULL DEFAULT '0', - `Data18` int(10) NOT NULL DEFAULT '0', - `Data19` int(10) NOT NULL DEFAULT '0', - `Data20` int(10) NOT NULL DEFAULT '0', - `Data21` int(10) NOT NULL DEFAULT '0', - `Data22` int(10) NOT NULL DEFAULT '0', - `Data23` int(10) NOT NULL DEFAULT '0', - `Data24` int(10) NOT NULL DEFAULT '0', - `Data25` int(10) NOT NULL DEFAULT '0', - `Data26` int(10) NOT NULL DEFAULT '0', - `Data27` int(10) NOT NULL DEFAULT '0', - `Data28` int(10) NOT NULL DEFAULT '0', - `Data29` int(10) NOT NULL DEFAULT '0', - `Data30` int(10) NOT NULL DEFAULT '0', - `Data31` int(10) NOT NULL DEFAULT '0', - `Data32` int(10) NOT NULL DEFAULT '0', - `RequiredLevel` int(10) NOT NULL DEFAULT '0', + `size` float NOT NULL DEFAULT 1, + `Data0` int(10) NOT NULL DEFAULT 0, + `Data1` int(10) NOT NULL DEFAULT 0, + `Data2` int(10) NOT NULL DEFAULT 0, + `Data3` int(10) NOT NULL DEFAULT 0, + `Data4` int(10) NOT NULL DEFAULT 0, + `Data5` int(10) NOT NULL DEFAULT 0, + `Data6` int(10) NOT NULL DEFAULT 0, + `Data7` int(10) NOT NULL DEFAULT 0, + `Data8` int(10) NOT NULL DEFAULT 0, + `Data9` int(10) NOT NULL DEFAULT 0, + `Data10` int(10) NOT NULL DEFAULT 0, + `Data11` int(10) NOT NULL DEFAULT 0, + `Data12` int(10) NOT NULL DEFAULT 0, + `Data13` int(10) NOT NULL DEFAULT 0, + `Data14` int(10) NOT NULL DEFAULT 0, + `Data15` int(10) NOT NULL DEFAULT 0, + `Data16` int(10) NOT NULL DEFAULT 0, + `Data17` int(10) NOT NULL DEFAULT 0, + `Data18` int(10) NOT NULL DEFAULT 0, + `Data19` int(10) NOT NULL DEFAULT 0, + `Data20` int(10) NOT NULL DEFAULT 0, + `Data21` int(10) NOT NULL DEFAULT 0, + `Data22` int(10) NOT NULL DEFAULT 0, + `Data23` int(10) NOT NULL DEFAULT 0, + `Data24` int(10) NOT NULL DEFAULT 0, + `Data25` int(10) NOT NULL DEFAULT 0, + `Data26` int(10) NOT NULL DEFAULT 0, + `Data27` int(10) NOT NULL DEFAULT 0, + `Data28` int(10) NOT NULL DEFAULT 0, + `Data29` int(10) NOT NULL DEFAULT 0, + `Data30` int(10) NOT NULL DEFAULT 0, + `Data31` int(10) NOT NULL DEFAULT 0, + `Data32` int(10) NOT NULL DEFAULT 0, + `Data33` int(11) NOT NULL DEFAULT 0, + `RequiredLevel` int(10) NOT NULL DEFAULT 0, `AIName` char(64) NOT NULL DEFAULT '', `ScriptName` varchar(64) NOT NULL DEFAULT '', - `VerifiedBuild` smallint(5) DEFAULT '0', + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`entry`), KEY `idx_name` (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Gameobject System'; @@ -1480,12 +1515,12 @@ DROP TABLE IF EXISTS `gameobject_template_addon`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `WorldEffectID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `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, + `WorldEffectID` mediumint(8) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`entry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1498,12 +1533,12 @@ DROP TABLE IF EXISTS `gameobject_template_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gameobject_template_locale` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `entry` mediumint(8) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `name` text, - `castBarCaption` text, - `unk1` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `name` text DEFAULT NULL, + `castBarCaption` text DEFAULT NULL, + `unk1` text DEFAULT NULL, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`entry`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1516,8 +1551,8 @@ DROP TABLE IF EXISTS `garrison_follower_class_spec_abilities`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garrison_follower_class_spec_abilities` ( - `classSpecId` int(10) unsigned NOT NULL DEFAULT '0', - `abilityId` int(10) unsigned NOT NULL DEFAULT '0', + `classSpecId` int(10) unsigned NOT NULL DEFAULT 0, + `abilityId` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`classSpecId`,`abilityId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1531,18 +1566,18 @@ DROP TABLE IF EXISTS `garrison_plot_finalize_info`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `garrison_plot_finalize_info` ( `garrPlotInstanceId` int(10) unsigned NOT NULL, - `hordeGameObjectId` int(10) unsigned NOT NULL DEFAULT '0', - `hordeX` float NOT NULL DEFAULT '0', - `hordeY` float NOT NULL DEFAULT '0', - `hordeZ` float NOT NULL DEFAULT '0', - `hordeO` float NOT NULL DEFAULT '0', - `hordeAnimKitId` smallint(5) unsigned NOT NULL DEFAULT '0', - `allianceGameObjectId` int(10) unsigned NOT NULL DEFAULT '0', - `allianceX` float NOT NULL DEFAULT '0', - `allianceY` float NOT NULL DEFAULT '0', - `allianceZ` float NOT NULL DEFAULT '0', - `allianceO` float NOT NULL DEFAULT '0', - `allianceAnimKitId` smallint(5) unsigned NOT NULL DEFAULT '0', + `hordeGameObjectId` int(10) unsigned NOT NULL DEFAULT 0, + `hordeX` float NOT NULL DEFAULT 0, + `hordeY` float NOT NULL DEFAULT 0, + `hordeZ` float NOT NULL DEFAULT 0, + `hordeO` float NOT NULL DEFAULT 0, + `hordeAnimKitId` smallint(5) unsigned NOT NULL DEFAULT 0, + `allianceGameObjectId` int(10) unsigned NOT NULL DEFAULT 0, + `allianceX` float NOT NULL DEFAULT 0, + `allianceY` float NOT NULL DEFAULT 0, + `allianceZ` float NOT NULL DEFAULT 0, + `allianceO` float NOT NULL DEFAULT 0, + `allianceAnimKitId` smallint(5) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`garrPlotInstanceId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1555,9 +1590,9 @@ DROP TABLE IF EXISTS `gossip_menu`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gossip_menu` ( - `MenuId` int(10) unsigned NOT NULL DEFAULT '0', - `TextId` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `MenuId` int(10) unsigned NOT NULL DEFAULT 0, + `TextId` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0, PRIMARY KEY (`MenuId`,`TextId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1570,14 +1605,14 @@ DROP TABLE IF EXISTS `gossip_menu_option`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gossip_menu_option` ( - `MenuId` int(10) unsigned NOT NULL DEFAULT '0', - `OptionIndex` int(10) unsigned NOT NULL DEFAULT '0', - `OptionIcon` tinyint(3) unsigned NOT NULL DEFAULT '0', - `OptionText` text, - `OptionBroadcastTextId` int(11) unsigned NOT NULL DEFAULT '0', - `OptionType` int(11) unsigned NOT NULL DEFAULT '0', - `OptionNpcFlag` bigint(20) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `MenuId` int(10) unsigned NOT NULL DEFAULT 0, + `OptionIndex` int(10) unsigned NOT NULL DEFAULT 0, + `OptionIcon` tinyint(3) unsigned NOT NULL DEFAULT 0, + `OptionText` text DEFAULT NULL, + `OptionBroadcastTextId` int(11) unsigned NOT NULL DEFAULT 0, + `OptionType` int(11) unsigned NOT NULL DEFAULT 0, + `OptionNpcFlag` bigint(20) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0, PRIMARY KEY (`MenuId`,`OptionIndex`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1590,10 +1625,10 @@ DROP TABLE IF EXISTS `gossip_menu_option_action`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gossip_menu_option_action` ( - `MenuId` int(10) unsigned NOT NULL DEFAULT '0', - `OptionIndex` int(10) unsigned NOT NULL DEFAULT '0', - `ActionMenuId` int(11) unsigned NOT NULL DEFAULT '0', - `ActionPoiId` int(11) unsigned NOT NULL DEFAULT '0', + `MenuId` int(10) unsigned NOT NULL DEFAULT 0, + `OptionIndex` int(10) unsigned NOT NULL DEFAULT 0, + `ActionMenuId` int(11) unsigned NOT NULL DEFAULT 0, + `ActionPoiId` int(11) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`MenuId`,`OptionIndex`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1606,12 +1641,12 @@ DROP TABLE IF EXISTS `gossip_menu_option_box`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gossip_menu_option_box` ( - `MenuId` int(10) unsigned NOT NULL DEFAULT '0', - `OptionIndex` int(10) unsigned NOT NULL DEFAULT '0', - `BoxCoded` tinyint(3) unsigned NOT NULL DEFAULT '0', - `BoxMoney` int(11) unsigned NOT NULL DEFAULT '0', - `BoxText` text, - `BoxBroadcastTextId` int(11) unsigned NOT NULL DEFAULT '0', + `MenuId` int(10) unsigned NOT NULL DEFAULT 0, + `OptionIndex` int(10) unsigned NOT NULL DEFAULT 0, + `BoxCoded` tinyint(3) unsigned NOT NULL DEFAULT 0, + `BoxMoney` int(11) unsigned NOT NULL DEFAULT 0, + `BoxText` text DEFAULT NULL, + `BoxBroadcastTextId` int(11) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`MenuId`,`OptionIndex`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1624,11 +1659,11 @@ DROP TABLE IF EXISTS `gossip_menu_option_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gossip_menu_option_locale` ( - `MenuId` int(10) unsigned NOT NULL DEFAULT '0', - `OptionIndex` int(10) unsigned NOT NULL DEFAULT '0', + `MenuId` int(10) unsigned NOT NULL DEFAULT 0, + `OptionIndex` int(10) unsigned NOT NULL DEFAULT 0, `Locale` varchar(4) NOT NULL, - `OptionText` text, - `BoxText` text, + `OptionText` text DEFAULT NULL, + `BoxText` text DEFAULT NULL, PRIMARY KEY (`MenuId`,`OptionIndex`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1641,9 +1676,9 @@ DROP TABLE IF EXISTS `gossip_menu_option_trainer`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `gossip_menu_option_trainer` ( - `MenuId` int(10) unsigned NOT NULL DEFAULT '0', - `OptionIndex` int(10) unsigned NOT NULL DEFAULT '0', - `TrainerId` int(11) unsigned NOT NULL DEFAULT '0', + `MenuId` int(10) unsigned NOT NULL DEFAULT 0, + `OptionIndex` int(10) unsigned NOT NULL DEFAULT 0, + `TrainerId` int(11) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`MenuId`,`OptionIndex`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1656,10 +1691,10 @@ DROP TABLE IF EXISTS `graveyard_zone`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `graveyard_zone` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `GhostZone` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Faction` smallint(5) unsigned NOT NULL DEFAULT '0', - `Comment` text, + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `GhostZone` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Faction` smallint(5) unsigned NOT NULL DEFAULT 0, + `Comment` text DEFAULT NULL, PRIMARY KEY (`ID`,`GhostZone`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Trigger System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1672,10 +1707,10 @@ DROP TABLE IF EXISTS `guild_rewards`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `guild_rewards` ( - `ItemID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `MinGuildRep` tinyint(3) unsigned DEFAULT '0', - `RaceMask` bigint(20) unsigned DEFAULT '0', - `Cost` bigint(20) unsigned DEFAULT '0', + `ItemID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `MinGuildRep` tinyint(3) unsigned DEFAULT 0, + `RaceMask` bigint(20) unsigned DEFAULT 0, + `Cost` bigint(20) unsigned DEFAULT 0, PRIMARY KEY (`ItemID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1688,8 +1723,8 @@ DROP TABLE IF EXISTS `guild_rewards_req_achievements`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `guild_rewards_req_achievements` ( - `ItemID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `AchievementRequired` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ItemID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `AchievementRequired` mediumint(8) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`ItemID`,`AchievementRequired`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1703,9 +1738,9 @@ DROP TABLE IF EXISTS `instance_encounters`; /*!40101 SET character_set_client = utf8 */; 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', + `creditType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `creditEntry` int(10) unsigned NOT NULL DEFAULT 0, + `lastEncounterDungeon` smallint(5) unsigned NOT NULL DEFAULT 0 COMMENT 'If not 0, LfgDungeon.dbc entry for the instance it is last encounter in', `comment` varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (`entry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -1722,47 +1757,46 @@ CREATE TABLE `instance_template` ( `map` smallint(5) unsigned NOT NULL, `parent` smallint(5) unsigned NOT NULL, `script` varchar(128) NOT NULL DEFAULT '', - `allowMount` tinyint(3) unsigned NOT NULL DEFAULT '0', + `allowMount` tinyint(3) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`map`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `item_enchantment_template` +-- Table structure for table `item_loot_template` -- -DROP TABLE IF EXISTS `item_enchantment_template`; +DROP TABLE IF EXISTS `item_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `item_enchantment_template` ( - `entry` int(10) unsigned NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL, - `ench` int(10) unsigned NOT NULL DEFAULT '0', - `chance` float unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`entry`,`type`,`ench`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item Random Enchantment System'; +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, + `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, + `Comment` varchar(255) DEFAULT NULL, + PRIMARY KEY (`Entry`,`Item`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `item_loot_template` +-- Table structure for table `item_random_bonus_list_template` -- -DROP TABLE IF EXISTS `item_loot_template`; +DROP TABLE IF EXISTS `item_random_bonus_list_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -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', - `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', - `Comment` varchar(255) DEFAULT NULL, - PRIMARY KEY (`Entry`,`Item`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; +CREATE TABLE `item_random_bonus_list_template` ( + `Id` int(10) unsigned NOT NULL, + `BonusListID` int(10) unsigned NOT NULL, + `Chance` float NOT NULL, + PRIMARY KEY (`Id`,`BonusListID`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item Random Enchantment System'; /*!40101 SET character_set_client = @saved_cs_client */; -- @@ -1788,11 +1822,12 @@ DROP TABLE IF EXISTS `item_template_addon`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `item_template_addon` ( `Id` int(10) unsigned NOT NULL, - `FlagsCu` int(10) unsigned NOT NULL DEFAULT '0', - `FoodType` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MinMoneyLoot` int(10) unsigned NOT NULL DEFAULT '0', - `MaxMoneyLoot` int(10) unsigned NOT NULL DEFAULT '0', - `SpellPPMChance` float unsigned NOT NULL DEFAULT '0', + `FlagsCu` int(10) unsigned NOT NULL DEFAULT 0, + `FoodType` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MinMoneyLoot` int(10) unsigned NOT NULL DEFAULT 0, + `MaxMoneyLoot` int(10) unsigned NOT NULL DEFAULT 0, + `SpellPPMChance` float unsigned NOT NULL DEFAULT 0, + `RandomBonusListTemplateId` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`Id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1805,10 +1840,10 @@ DROP TABLE IF EXISTS `lfg_dungeon_rewards`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(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', PRIMARY KEY (`dungeonId`,`maxLevel`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1821,14 +1856,14 @@ DROP TABLE IF EXISTS `lfg_dungeon_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `lfg_dungeon_template` ( - `dungeonId` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Unique id from LFGDungeons.dbc', + `dungeonId` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Unique id from LFGDungeons.dbc', `name` varchar(255) CHARACTER SET latin1 DEFAULT NULL, - `position_x` float NOT NULL DEFAULT '0', - `position_y` float NOT NULL DEFAULT '0', - `position_z` float NOT NULL DEFAULT '0', - `orientation` float NOT NULL DEFAULT '0', - `requiredItemLevel` smallint(5) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `position_x` float NOT NULL DEFAULT 0, + `position_y` float NOT NULL DEFAULT 0, + `position_z` float NOT NULL DEFAULT 0, + `orientation` float NOT NULL DEFAULT 0, + `requiredItemLevel` smallint(5) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`dungeonId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1841,43 +1876,14 @@ DROP TABLE IF EXISTS `linked_respawn`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `linked_respawn` ( - `guid` bigint(20) unsigned NOT NULL DEFAULT '0', - `linkedGuid` bigint(20) unsigned NOT NULL DEFAULT '0', - `linkType` tinyint(3) unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT 0, + `linkedGuid` bigint(20) unsigned NOT NULL DEFAULT 0, + `linkType` tinyint(3) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`guid`,`linkType`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature Respawn Link System'; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `locales_achievement_reward` --- - -DROP TABLE IF EXISTS `locales_achievement_reward`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `locales_achievement_reward` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `subject_loc1` varchar(100) NOT NULL DEFAULT '', - `subject_loc2` varchar(100) NOT NULL DEFAULT '', - `subject_loc3` varchar(100) NOT NULL DEFAULT '', - `subject_loc4` varchar(100) NOT NULL DEFAULT '', - `subject_loc5` varchar(100) NOT NULL DEFAULT '', - `subject_loc6` varchar(100) NOT NULL DEFAULT '', - `subject_loc7` varchar(100) NOT NULL DEFAULT '', - `subject_loc8` varchar(100) NOT NULL DEFAULT '', - `text_loc1` text, - `text_loc2` text, - `text_loc3` text, - `text_loc4` text, - `text_loc5` text, - `text_loc6` text, - `text_loc7` text, - `text_loc8` text, - PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- -- Table structure for table `mail_level_reward` -- @@ -1885,10 +1891,10 @@ DROP TABLE IF EXISTS `mail_level_reward`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(3) unsigned NOT NULL DEFAULT 0, + `raceMask` bigint(20) unsigned NOT NULL, + `mailTemplateId` mediumint(8) unsigned NOT NULL DEFAULT 0, + `senderEntry` mediumint(8) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`level`,`raceMask`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Mail System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1901,15 +1907,15 @@ DROP TABLE IF EXISTS `mail_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Item` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Reference` mediumint(8) 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, `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; @@ -1923,15 +1929,15 @@ DROP TABLE IF EXISTS `milling_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Item` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Reference` mediumint(8) 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, `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; @@ -1962,7 +1968,7 @@ 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', + `user_type` smallint(5) 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; /*!40101 SET character_set_client = @saved_cs_client */; @@ -1975,24 +1981,24 @@ DROP TABLE IF EXISTS `npc_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `npc_text` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Probability0` float NOT NULL DEFAULT '0', - `Probability1` float NOT NULL DEFAULT '0', - `Probability2` float NOT NULL DEFAULT '0', - `Probability3` float NOT NULL DEFAULT '0', - `Probability4` float NOT NULL DEFAULT '0', - `Probability5` float NOT NULL DEFAULT '0', - `Probability6` float NOT NULL DEFAULT '0', - `Probability7` float NOT NULL DEFAULT '0', - `BroadcastTextID0` mediumint(6) unsigned NOT NULL DEFAULT '0', - `BroadcastTextID1` mediumint(6) unsigned NOT NULL DEFAULT '0', - `BroadcastTextID2` mediumint(6) unsigned NOT NULL DEFAULT '0', - `BroadcastTextID3` mediumint(6) unsigned NOT NULL DEFAULT '0', - `BroadcastTextID4` mediumint(6) unsigned NOT NULL DEFAULT '0', - `BroadcastTextID5` mediumint(6) unsigned NOT NULL DEFAULT '0', - `BroadcastTextID6` mediumint(6) unsigned NOT NULL DEFAULT '0', - `BroadcastTextID7` mediumint(6) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Probability0` float NOT NULL DEFAULT 0, + `Probability1` float NOT NULL DEFAULT 0, + `Probability2` float NOT NULL DEFAULT 0, + `Probability3` float NOT NULL DEFAULT 0, + `Probability4` float NOT NULL DEFAULT 0, + `Probability5` float NOT NULL DEFAULT 0, + `Probability6` float NOT NULL DEFAULT 0, + `Probability7` float NOT NULL DEFAULT 0, + `BroadcastTextID0` mediumint(6) unsigned NOT NULL DEFAULT 0, + `BroadcastTextID1` mediumint(6) unsigned NOT NULL DEFAULT 0, + `BroadcastTextID2` mediumint(6) unsigned NOT NULL DEFAULT 0, + `BroadcastTextID3` mediumint(6) unsigned NOT NULL DEFAULT 0, + `BroadcastTextID4` mediumint(6) unsigned NOT NULL DEFAULT 0, + `BroadcastTextID5` mediumint(6) unsigned NOT NULL DEFAULT 0, + `BroadcastTextID6` mediumint(6) unsigned NOT NULL DEFAULT 0, + `BroadcastTextID7` mediumint(6) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2005,17 +2011,17 @@ DROP TABLE IF EXISTS `npc_vendor`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `npc_vendor` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `slot` smallint(6) NOT NULL DEFAULT '0', - `item` mediumint(8) NOT NULL DEFAULT '0', - `maxcount` mediumint(8) unsigned NOT NULL DEFAULT '0', - `incrtime` int(10) unsigned NOT NULL DEFAULT '0', - `ExtendedCost` mediumint(8) unsigned NOT NULL DEFAULT '0', - `type` tinyint(3) unsigned NOT NULL DEFAULT '1', - `BonusListIDs` text, - `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT '0', - `IgnoreFiltering` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `slot` smallint(6) NOT NULL DEFAULT 0, + `item` mediumint(8) NOT NULL DEFAULT 0, + `maxcount` mediumint(8) unsigned NOT NULL DEFAULT 0, + `incrtime` int(10) unsigned NOT NULL DEFAULT 0, + `ExtendedCost` mediumint(8) unsigned NOT NULL DEFAULT 0, + `type` tinyint(3) unsigned NOT NULL DEFAULT 1, + `BonusListIDs` text DEFAULT NULL, + `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT 0, + `IgnoreFiltering` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`entry`,`item`,`ExtendedCost`,`type`), KEY `slot` (`slot`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Npc System'; @@ -2031,7 +2037,7 @@ DROP TABLE IF EXISTS `outdoorpvp_template`; CREATE TABLE `outdoorpvp_template` ( `TypeId` tinyint(3) unsigned NOT NULL, `ScriptName` char(64) NOT NULL DEFAULT '', - `comment` text, + `comment` text DEFAULT NULL, PRIMARY KEY (`TypeId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='OutdoorPvP Templates'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2044,12 +2050,12 @@ DROP TABLE IF EXISTS `page_text`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `page_text` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Text` longtext, - `NextPageID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `PlayerConditionID` int(11) NOT NULL DEFAULT '0', - `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Text` longtext DEFAULT NULL, + `NextPageID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `PlayerConditionID` int(11) NOT NULL DEFAULT 0, + `Flags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Item System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2062,10 +2068,10 @@ DROP TABLE IF EXISTS `page_text_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `page_text_locale` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Text` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `Text` text DEFAULT NULL, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2082,7 +2088,7 @@ CREATE TABLE `pet_levelstats` ( `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', + `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, @@ -2102,8 +2108,8 @@ DROP TABLE IF EXISTS `pet_name_generation`; CREATE TABLE `pet_name_generation` ( `id` mediumint(8) 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(8) unsigned NOT NULL DEFAULT 0, + `half` tinyint(3) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=314 DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2131,15 +2137,15 @@ DROP TABLE IF EXISTS `pickpocketing_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Item` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Reference` mediumint(8) 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, `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; @@ -2169,10 +2175,10 @@ DROP TABLE IF EXISTS `player_factionchange_items`; CREATE TABLE `player_factionchange_items` ( `race_A` int(10) unsigned NOT NULL, `alliance_id` int(10) unsigned NOT NULL, - `commentA` text, + `commentA` text DEFAULT NULL, `race_H` int(10) unsigned NOT NULL, `horde_id` int(10) unsigned NOT NULL, - `commentH` text, + `commentH` text DEFAULT NULL, PRIMARY KEY (`alliance_id`,`horde_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2277,10 +2283,12 @@ DROP TABLE IF EXISTS `playerchoice`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `playerchoice` ( `ChoiceId` int(11) NOT NULL, - `UiTextureKitId` int(11) NOT NULL DEFAULT '0', + `UiTextureKitId` int(11) NOT NULL DEFAULT 0, + `SoundKitId` int(10) unsigned NOT NULL DEFAULT 0, `Question` varchar(255) DEFAULT NULL, - `HideWarboardHeader` tinyint(1) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `HideWarboardHeader` tinyint(1) NOT NULL DEFAULT 0, + `KeepOpenAfterChoice` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ChoiceId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2296,7 +2304,7 @@ CREATE TABLE `playerchoice_locale` ( `ChoiceId` int(11) NOT NULL, `locale` varchar(4) NOT NULL, `Question` varchar(255) DEFAULT NULL, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ChoiceId`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2312,12 +2320,20 @@ CREATE TABLE `playerchoice_response` ( `ChoiceId` int(11) NOT NULL, `ResponseId` int(11) NOT NULL, `Index` int(10) unsigned NOT NULL, - `ChoiceArtFileId` int(11) NOT NULL DEFAULT '0', + `ChoiceArtFileId` int(11) NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `WidgetSetID` int(10) unsigned NOT NULL DEFAULT 0, + `UiTextureAtlasElementID` int(10) unsigned NOT NULL DEFAULT 0, + `SoundKitID` int(10) unsigned NOT NULL DEFAULT 0, + `GroupID` tinyint(3) unsigned NOT NULL DEFAULT 0, `Header` varchar(511) NOT NULL, + `SubHeader` varchar(100) NOT NULL DEFAULT '', + `ButtonTooltip` varchar(400) NOT NULL DEFAULT '', `Answer` varchar(511) NOT NULL, `Description` varchar(2047) NOT NULL, `Confirmation` varchar(127) NOT NULL, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `RewardQuestID` int(10) unsigned DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ChoiceId`,`ResponseId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2334,10 +2350,12 @@ CREATE TABLE `playerchoice_response_locale` ( `ResponseId` int(11) NOT NULL, `locale` varchar(4) NOT NULL, `Header` varchar(511) NOT NULL DEFAULT '', + `SubHeader` varchar(100) NOT NULL DEFAULT '', + `ButtonTooltip` varchar(400) NOT NULL DEFAULT '', `Answer` varchar(511) NOT NULL DEFAULT '', `Description` varchar(2047) NOT NULL DEFAULT '', `Confirmation` varchar(127) NOT NULL DEFAULT '', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ChoiceId`,`ResponseId`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2352,15 +2370,15 @@ DROP TABLE IF EXISTS `playerchoice_response_reward`; CREATE TABLE `playerchoice_response_reward` ( `ChoiceId` int(11) NOT NULL, `ResponseId` int(11) NOT NULL, - `TitleId` int(11) NOT NULL DEFAULT '0', - `PackageId` int(11) NOT NULL DEFAULT '0', - `SkillLineId` int(10) unsigned NOT NULL DEFAULT '0', - `SkillPointCount` int(10) unsigned NOT NULL DEFAULT '0', - `ArenaPointCount` int(10) unsigned NOT NULL DEFAULT '0', - `HonorPointCount` int(10) unsigned NOT NULL DEFAULT '0', - `Money` bigint(20) unsigned NOT NULL DEFAULT '0', - `Xp` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `TitleId` int(11) NOT NULL DEFAULT 0, + `PackageId` int(11) NOT NULL DEFAULT 0, + `SkillLineId` int(10) unsigned NOT NULL DEFAULT 0, + `SkillPointCount` int(10) unsigned NOT NULL DEFAULT 0, + `ArenaPointCount` int(10) unsigned NOT NULL DEFAULT 0, + `HonorPointCount` int(10) unsigned NOT NULL DEFAULT 0, + `Money` bigint(20) unsigned NOT NULL DEFAULT 0, + `Xp` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ChoiceId`,`ResponseId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2376,9 +2394,9 @@ CREATE TABLE `playerchoice_response_reward_currency` ( `ChoiceId` int(11) NOT NULL, `ResponseId` int(11) NOT NULL, `Index` int(10) unsigned NOT NULL, - `CurrencyId` int(10) unsigned NOT NULL DEFAULT '0', - `Quantity` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `CurrencyId` int(10) unsigned NOT NULL DEFAULT 0, + `Quantity` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ChoiceId`,`ResponseId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2394,9 +2412,9 @@ CREATE TABLE `playerchoice_response_reward_faction` ( `ChoiceId` int(11) NOT NULL, `ResponseId` int(11) NOT NULL, `Index` int(10) unsigned NOT NULL, - `FactionId` int(10) unsigned NOT NULL DEFAULT '0', - `Quantity` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `FactionId` int(10) unsigned NOT NULL DEFAULT 0, + `Quantity` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ChoiceId`,`ResponseId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2412,10 +2430,10 @@ CREATE TABLE `playerchoice_response_reward_item` ( `ChoiceId` int(11) NOT NULL, `ResponseId` int(11) NOT NULL, `Index` int(10) unsigned NOT NULL, - `ItemId` int(10) unsigned NOT NULL DEFAULT '0', - `BonusListIDs` text, - `Quantity` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `ItemId` int(10) unsigned NOT NULL DEFAULT 0, + `BonusListIDs` text DEFAULT NULL, + `Quantity` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ChoiceId`,`ResponseId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2428,14 +2446,14 @@ DROP TABLE IF EXISTS `playercreateinfo`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `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, + `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; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2448,11 +2466,11 @@ DROP TABLE IF EXISTS `playercreateinfo_action`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(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, PRIMARY KEY (`race`,`class`,`button`), KEY `playercreateinfo_race_class_index` (`race`,`class`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -2466,9 +2484,9 @@ DROP TABLE IF EXISTS `playercreateinfo_cast_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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` bigint(20) unsigned NOT NULL, + `classMask` int(10) unsigned NOT NULL DEFAULT 0, + `spell` mediumint(8) unsigned NOT NULL DEFAULT 0, `note` varchar(255) DEFAULT NULL, PRIMARY KEY (`raceMask`,`classMask`,`spell`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -2482,10 +2500,10 @@ DROP TABLE IF EXISTS `playercreateinfo_item`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(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, PRIMARY KEY (`race`,`class`,`itemid`), KEY `playercreateinfo_race_class_index` (`race`,`class`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -2499,9 +2517,9 @@ DROP TABLE IF EXISTS `playercreateinfo_spell_custom`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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` bigint(20) unsigned NOT NULL, + `classmask` int(10) unsigned NOT NULL DEFAULT 0, + `Spell` mediumint(8) unsigned NOT NULL DEFAULT 0, `Note` varchar(255) DEFAULT NULL, PRIMARY KEY (`racemask`,`classmask`,`Spell`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -2515,14 +2533,14 @@ DROP TABLE IF EXISTS `points_of_interest`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `points_of_interest` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `PositionX` float NOT NULL DEFAULT '0', - `PositionY` float NOT NULL DEFAULT '0', - `Icon` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Flags` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Importance` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Name` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `PositionX` float NOT NULL DEFAULT 0, + `PositionY` float NOT NULL DEFAULT 0, + `Icon` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Flags` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Importance` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Name` text DEFAULT NULL, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2535,10 +2553,10 @@ DROP TABLE IF EXISTS `points_of_interest_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `points_of_interest_locale` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Name` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `Name` text DEFAULT NULL, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2551,9 +2569,9 @@ DROP TABLE IF EXISTS `pool_creature`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pool_creature` ( - `guid` bigint(20) unsigned NOT NULL DEFAULT '0', - `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `chance` float unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT 0, + `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `chance` float unsigned NOT NULL DEFAULT 0, `description` varchar(255) DEFAULT NULL, PRIMARY KEY (`guid`), KEY `idx_guid` (`guid`) @@ -2568,9 +2586,9 @@ DROP TABLE IF EXISTS `pool_gameobject`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pool_gameobject` ( - `guid` bigint(20) unsigned NOT NULL DEFAULT '0', - `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `chance` float unsigned NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT 0, + `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `chance` float unsigned NOT NULL DEFAULT 0, `description` varchar(255) DEFAULT NULL, PRIMARY KEY (`guid`), KEY `idx_guid` (`guid`) @@ -2585,9 +2603,9 @@ DROP TABLE IF EXISTS `pool_pool`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pool_pool` ( - `pool_id` mediumint(8) unsigned NOT NULL DEFAULT '0', - `mother_pool` mediumint(8) unsigned NOT NULL DEFAULT '0', - `chance` float NOT NULL DEFAULT '0', + `pool_id` mediumint(8) unsigned NOT NULL DEFAULT 0, + `mother_pool` mediumint(8) unsigned NOT NULL DEFAULT 0, + `chance` float NOT NULL DEFAULT 0, `description` varchar(255) DEFAULT NULL, PRIMARY KEY (`pool_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -2601,8 +2619,8 @@ DROP TABLE IF EXISTS `pool_quest`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `pool_quest` ( - `entry` int(10) unsigned NOT NULL DEFAULT '0', - `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `entry` int(10) unsigned NOT NULL DEFAULT 0, + `pool_entry` mediumint(8) unsigned NOT NULL DEFAULT 0, `description` varchar(255) DEFAULT NULL, PRIMARY KEY (`entry`), KEY `idx_guid` (`entry`) @@ -2617,8 +2635,8 @@ DROP TABLE IF EXISTS `pool_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Pool entry', + `max_limit` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Max number of objects (0) is no limit', `description` varchar(255) DEFAULT NULL, PRIMARY KEY (`entry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -2632,15 +2650,15 @@ DROP TABLE IF EXISTS `prospecting_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Item` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Reference` mediumint(8) 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, `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; @@ -2654,16 +2672,16 @@ DROP TABLE IF EXISTS `quest_details`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(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, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2676,17 +2694,34 @@ DROP TABLE IF EXISTS `quest_greeting`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_greeting` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `GreetEmoteType` smallint(5) unsigned NOT NULL DEFAULT '0', - `GreetEmoteDelay` int(10) unsigned NOT NULL DEFAULT '0', - `Greeting` text, - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Type` tinyint(3) unsigned NOT NULL DEFAULT 0, + `GreetEmoteType` smallint(5) unsigned NOT NULL DEFAULT 0, + `GreetEmoteDelay` int(10) unsigned NOT NULL DEFAULT 0, + `Greeting` text DEFAULT NULL, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`Type`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- +-- Table structure for table `quest_greeting_locale` +-- + +DROP TABLE IF EXISTS `quest_greeting_locale`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `quest_greeting_locale` ( + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `type` tinyint(3) unsigned NOT NULL DEFAULT 0, + `locale` varchar(4) NOT NULL, + `Greeting` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, + PRIMARY KEY (`ID`,`type`,`locale`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- -- Table structure for table `quest_mail_sender` -- @@ -2694,8 +2729,8 @@ DROP TABLE IF EXISTS `quest_mail_sender`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_mail_sender` ( - `QuestId` int(5) unsigned NOT NULL DEFAULT '0', - `RewardMailSenderEntry` int(5) unsigned NOT NULL DEFAULT '0', + `QuestId` int(5) unsigned NOT NULL DEFAULT 0, + `RewardMailSenderEntry` int(5) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`QuestId`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2708,18 +2743,18 @@ DROP TABLE IF EXISTS `quest_objectives`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_objectives` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `QuestID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(3) unsigned NOT NULL DEFAULT '0', - `Order` tinyint(3) unsigned NOT NULL DEFAULT '0', - `StorageIndex` tinyint(3) NOT NULL DEFAULT '0', - `ObjectID` int(10) NOT NULL DEFAULT '0', - `Amount` int(10) NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `Flags2` int(10) unsigned NOT NULL DEFAULT '0', - `ProgressBarWeight` float NOT NULL DEFAULT '0', - `Description` text, - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `QuestID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Type` tinyint(3) unsigned NOT NULL DEFAULT 0, + `Order` tinyint(3) unsigned NOT NULL DEFAULT 0, + `StorageIndex` tinyint(3) NOT NULL DEFAULT 0, + `ObjectID` int(10) NOT NULL DEFAULT 0, + `Amount` int(10) NOT NULL DEFAULT 0, + `Flags` int(10) unsigned NOT NULL DEFAULT 0, + `Flags2` int(10) unsigned NOT NULL DEFAULT 0, + `ProgressBarWeight` float NOT NULL DEFAULT 0, + `Description` text DEFAULT NULL, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2732,12 +2767,12 @@ DROP TABLE IF EXISTS `quest_objectives_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_objectives_locale` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `QuestId` mediumint(8) unsigned NOT NULL DEFAULT '0', - `StorageIndex` tinyint(3) NOT NULL DEFAULT '0', - `Description` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `QuestId` mediumint(8) unsigned NOT NULL DEFAULT 0, + `StorageIndex` tinyint(3) NOT NULL DEFAULT 0, + `Description` text DEFAULT NULL, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2750,17 +2785,17 @@ DROP TABLE IF EXISTS `quest_offer_reward`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_offer_reward` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Emote1` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote2` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote3` smallint(5) unsigned NOT NULL DEFAULT '0', - `Emote4` smallint(5) unsigned NOT NULL DEFAULT '0', - `EmoteDelay1` int(10) unsigned NOT NULL DEFAULT '0', - `EmoteDelay2` int(10) unsigned NOT NULL DEFAULT '0', - `EmoteDelay3` int(10) unsigned NOT NULL DEFAULT '0', - `EmoteDelay4` int(10) unsigned NOT NULL DEFAULT '0', - `RewardText` text, - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Emote1` smallint(5) unsigned NOT NULL DEFAULT 0, + `Emote2` smallint(5) unsigned NOT NULL DEFAULT 0, + `Emote3` smallint(5) unsigned NOT NULL DEFAULT 0, + `Emote4` smallint(5) unsigned NOT NULL DEFAULT 0, + `EmoteDelay1` int(10) unsigned NOT NULL DEFAULT 0, + `EmoteDelay2` int(10) unsigned NOT NULL DEFAULT 0, + `EmoteDelay3` int(10) unsigned NOT NULL DEFAULT 0, + `EmoteDelay4` int(10) unsigned NOT NULL DEFAULT 0, + `RewardText` text DEFAULT NULL, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2773,10 +2808,10 @@ DROP TABLE IF EXISTS `quest_offer_reward_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_offer_reward_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `RewardText` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `RewardText` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2789,22 +2824,21 @@ DROP TABLE IF EXISTS `quest_poi`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_poi` ( - `QuestID` int(11) NOT NULL DEFAULT '0', - `BlobIndex` int(11) NOT NULL DEFAULT '0', - `Idx1` int(11) NOT NULL DEFAULT '0', - `ObjectiveIndex` int(11) NOT NULL DEFAULT '0', - `QuestObjectiveID` int(11) NOT NULL DEFAULT '0', - `QuestObjectID` int(11) NOT NULL DEFAULT '0', - `MapID` int(11) NOT NULL DEFAULT '0', - `WorldMapAreaId` int(11) NOT NULL DEFAULT '0', - `Floor` int(11) NOT NULL DEFAULT '0', - `Priority` int(11) NOT NULL DEFAULT '0', - `Flags` int(11) NOT NULL DEFAULT '0', - `WorldEffectID` int(11) NOT NULL DEFAULT '0', - `PlayerConditionID` int(11) NOT NULL DEFAULT '0', - `WoDUnk1` int(11) NOT NULL DEFAULT '0', - `AlwaysAllowMergingBlobs` tinyint(1) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `QuestID` int(11) NOT NULL DEFAULT 0, + `BlobIndex` int(11) NOT NULL DEFAULT 0, + `Idx1` int(11) NOT NULL DEFAULT 0, + `ObjectiveIndex` int(11) NOT NULL DEFAULT 0, + `QuestObjectiveID` int(11) NOT NULL DEFAULT 0, + `QuestObjectID` int(11) NOT NULL DEFAULT 0, + `MapID` int(11) NOT NULL DEFAULT 0, + `UiMapID` int(11) NOT NULL DEFAULT 0, + `Priority` int(11) NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `WorldEffectID` int(11) NOT NULL DEFAULT 0, + `PlayerConditionID` int(11) NOT NULL DEFAULT 0, + `SpawnTrackingID` int(11) NOT NULL DEFAULT 0, + `AlwaysAllowMergingBlobs` tinyint(1) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`QuestID`,`BlobIndex`,`Idx1`), KEY `idx` (`QuestID`,`BlobIndex`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -2818,12 +2852,12 @@ DROP TABLE IF EXISTS `quest_poi_points`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_poi_points` ( - `QuestID` int(11) NOT NULL DEFAULT '0', - `Idx1` int(11) NOT NULL DEFAULT '0', - `Idx2` int(11) NOT NULL DEFAULT '0', - `X` int(11) NOT NULL DEFAULT '0', - `Y` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `QuestID` int(11) NOT NULL DEFAULT 0, + `Idx1` int(11) NOT NULL DEFAULT 0, + `Idx2` int(11) NOT NULL DEFAULT 0, + `X` int(11) NOT NULL DEFAULT 0, + `Y` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`QuestID`,`Idx1`,`Idx2`), KEY `questId_id` (`QuestID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -2837,13 +2871,13 @@ DROP TABLE IF EXISTS `quest_request_items`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `EmoteOnCompleteDelay` int(10) unsigned NOT NULL DEFAULT '0', - `EmoteOnIncompleteDelay` int(10) unsigned NOT NULL DEFAULT '0', - `CompletionText` text, - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `EmoteOnComplete` smallint(5) unsigned NOT NULL DEFAULT 0, + `EmoteOnIncomplete` smallint(5) unsigned NOT NULL DEFAULT 0, + `EmoteOnCompleteDelay` int(10) unsigned NOT NULL DEFAULT 0, + `EmoteOnIncompleteDelay` int(10) unsigned NOT NULL DEFAULT 0, + `CompletionText` text DEFAULT NULL, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2856,10 +2890,10 @@ DROP TABLE IF EXISTS `quest_request_items_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_request_items_locale` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `CompletionText` text, - `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0', + `CompletionText` text DEFAULT NULL, + `VerifiedBuild` smallint(6) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2872,124 +2906,128 @@ DROP TABLE IF EXISTS `quest_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_template` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `QuestType` tinyint(3) unsigned NOT NULL DEFAULT '2', - `QuestLevel` int(11) NOT NULL DEFAULT '-1', - `MaxScalingLevel` int(11) NOT NULL DEFAULT '255', - `QuestPackageID` int(10) unsigned NOT NULL DEFAULT '0', - `MinLevel` int(11) 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', - `RewardNextQuest` int(10) unsigned NOT NULL DEFAULT '0', - `RewardXPDifficulty` int(10) unsigned NOT NULL DEFAULT '0', - `RewardXPMultiplier` float NOT NULL DEFAULT '1', - `RewardMoney` int(11) NOT NULL DEFAULT '0', - `RewardMoneyDifficulty` int(10) unsigned NOT NULL DEFAULT '0', - `RewardMoneyMultiplier` float NOT NULL DEFAULT '1', - `RewardBonusMoney` int(10) unsigned NOT NULL DEFAULT '0', - `RewardDisplaySpell1` int(10) unsigned NOT NULL DEFAULT '0', - `RewardDisplaySpell2` int(10) unsigned NOT NULL DEFAULT '0', - `RewardDisplaySpell3` int(10) unsigned NOT NULL DEFAULT '0', - `RewardSpell` int(10) unsigned NOT NULL DEFAULT '0', - `RewardHonor` int(10) unsigned NOT NULL DEFAULT '0', - `RewardKillHonor` int(10) unsigned NOT NULL DEFAULT '0', - `StartItem` int(10) unsigned NOT NULL DEFAULT '0', - `RewardArtifactXPDifficulty` int(10) unsigned NOT NULL DEFAULT '0', - `RewardArtifactXPMultiplier` float NOT NULL DEFAULT '1', - `RewardArtifactCategoryID` int(10) unsigned NOT NULL DEFAULT '0', - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `FlagsEx` int(10) unsigned NOT NULL DEFAULT '0', - `RewardItem1` int(10) unsigned NOT NULL DEFAULT '0', - `RewardAmount1` int(10) unsigned NOT NULL DEFAULT '0', - `RewardItem2` int(10) unsigned NOT NULL DEFAULT '0', - `RewardAmount2` int(10) unsigned NOT NULL DEFAULT '0', - `RewardItem3` int(10) unsigned NOT NULL DEFAULT '0', - `RewardAmount3` int(10) unsigned NOT NULL DEFAULT '0', - `RewardItem4` int(10) unsigned NOT NULL DEFAULT '0', - `RewardAmount4` int(10) unsigned NOT NULL DEFAULT '0', - `ItemDrop1` int(10) unsigned NOT NULL DEFAULT '0', - `ItemDropQuantity1` int(10) unsigned NOT NULL DEFAULT '0', - `ItemDrop2` int(10) unsigned NOT NULL DEFAULT '0', - `ItemDropQuantity2` int(10) unsigned NOT NULL DEFAULT '0', - `ItemDrop3` int(10) unsigned NOT NULL DEFAULT '0', - `ItemDropQuantity3` int(10) unsigned NOT NULL DEFAULT '0', - `ItemDrop4` int(10) unsigned NOT NULL DEFAULT '0', - `ItemDropQuantity4` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemID1` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemQuantity1` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemDisplayID1` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemID2` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemQuantity2` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemDisplayID2` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemID3` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemQuantity3` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemDisplayID3` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemID4` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemQuantity4` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemDisplayID4` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemID5` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemQuantity5` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemDisplayID5` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemID6` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemQuantity6` int(10) unsigned NOT NULL DEFAULT '0', - `RewardChoiceItemDisplayID6` int(10) unsigned NOT NULL DEFAULT '0', - `POIContinent` int(10) unsigned NOT NULL DEFAULT '0', - `POIx` float NOT NULL DEFAULT '0', - `POIy` float NOT NULL DEFAULT '0', - `POIPriority` int(11) NOT NULL DEFAULT '0', - `RewardTitle` int(10) unsigned NOT NULL DEFAULT '0', - `RewardArenaPoints` int(10) unsigned NOT NULL DEFAULT '0', - `RewardSkillLineID` int(10) unsigned NOT NULL DEFAULT '0', - `RewardNumSkillUps` int(10) unsigned NOT NULL DEFAULT '0', - `PortraitGiver` int(10) unsigned NOT NULL DEFAULT '0', - `PortraitTurnIn` int(10) unsigned NOT NULL DEFAULT '0', - `RewardFactionID1` int(10) unsigned NOT NULL DEFAULT '0', - `RewardFactionValue1` int(11) NOT NULL DEFAULT '0', - `RewardFactionOverride1` int(11) NOT NULL DEFAULT '0', - `RewardFactionCapIn1` int(10) unsigned NOT NULL DEFAULT '0', - `RewardFactionID2` int(10) unsigned NOT NULL DEFAULT '0', - `RewardFactionValue2` int(11) NOT NULL DEFAULT '0', - `RewardFactionOverride2` int(11) NOT NULL DEFAULT '0', - `RewardFactionCapIn2` int(10) unsigned NOT NULL DEFAULT '0', - `RewardFactionID3` int(10) unsigned NOT NULL DEFAULT '0', - `RewardFactionValue3` int(11) NOT NULL DEFAULT '0', - `RewardFactionOverride3` int(11) NOT NULL DEFAULT '0', - `RewardFactionCapIn3` int(10) unsigned NOT NULL DEFAULT '0', - `RewardFactionID4` int(10) unsigned NOT NULL DEFAULT '0', - `RewardFactionValue4` int(11) NOT NULL DEFAULT '0', - `RewardFactionOverride4` int(11) NOT NULL DEFAULT '0', - `RewardFactionCapIn4` int(10) unsigned NOT NULL DEFAULT '0', - `RewardFactionID5` int(10) unsigned NOT NULL DEFAULT '0', - `RewardFactionValue5` int(11) NOT NULL DEFAULT '0', - `RewardFactionOverride5` int(11) NOT NULL DEFAULT '0', - `RewardFactionCapIn5` int(10) unsigned NOT NULL DEFAULT '0', - `RewardFactionFlags` int(10) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyID1` int(10) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyQty1` int(10) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyID2` int(10) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyQty2` int(10) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyID3` int(10) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyQty3` int(10) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyID4` int(10) unsigned NOT NULL DEFAULT '0', - `RewardCurrencyQty4` int(10) unsigned NOT NULL DEFAULT '0', - `AcceptedSoundKitID` int(10) unsigned NOT NULL DEFAULT '0', - `CompleteSoundKitID` int(10) unsigned NOT NULL DEFAULT '0', - `AreaGroupID` int(10) unsigned NOT NULL DEFAULT '0', - `TimeAllowed` int(10) unsigned NOT NULL DEFAULT '0', - `AllowableRaces` bigint(20) unsigned DEFAULT '0', - `QuestRewardID` int(10) unsigned NOT NULL DEFAULT '0', - `Expansion` int(11) NOT NULL DEFAULT '0', - `LogTitle` text, - `LogDescription` text, - `QuestDescription` text, - `AreaDescription` text, - `PortraitGiverText` text, - `PortraitGiverName` text, - `PortraitTurnInText` text, - `PortraitTurnInName` text, - `QuestCompletionLog` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `QuestType` tinyint(3) unsigned NOT NULL DEFAULT 2, + `QuestLevel` int(11) NOT NULL DEFAULT -1, + `ScalingFactionGroup` int(11) NOT NULL DEFAULT 0, + `MaxScalingLevel` int(11) NOT NULL DEFAULT 255, + `QuestPackageID` int(10) unsigned NOT NULL DEFAULT 0, + `MinLevel` int(11) 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, + `RewardNextQuest` int(10) unsigned NOT NULL DEFAULT 0, + `RewardXPDifficulty` int(10) unsigned NOT NULL DEFAULT 0, + `RewardXPMultiplier` float NOT NULL DEFAULT 1, + `RewardMoney` int(11) NOT NULL DEFAULT 0, + `RewardMoneyDifficulty` int(10) unsigned NOT NULL DEFAULT 0, + `RewardMoneyMultiplier` float NOT NULL DEFAULT 1, + `RewardBonusMoney` int(10) unsigned NOT NULL DEFAULT 0, + `RewardDisplaySpell1` int(10) unsigned NOT NULL DEFAULT 0, + `RewardDisplaySpell2` int(10) unsigned NOT NULL DEFAULT 0, + `RewardDisplaySpell3` int(10) unsigned NOT NULL DEFAULT 0, + `RewardSpell` int(10) unsigned NOT NULL DEFAULT 0, + `RewardHonor` int(10) unsigned NOT NULL DEFAULT 0, + `RewardKillHonor` int(10) unsigned NOT NULL DEFAULT 0, + `StartItem` int(10) unsigned NOT NULL DEFAULT 0, + `RewardArtifactXPDifficulty` int(10) unsigned NOT NULL DEFAULT 0, + `RewardArtifactXPMultiplier` float NOT NULL DEFAULT 1, + `RewardArtifactCategoryID` int(10) unsigned NOT NULL DEFAULT 0, + `Flags` int(10) unsigned NOT NULL DEFAULT 0, + `FlagsEx` int(10) unsigned NOT NULL DEFAULT 0, + `FlagsEx2` int(10) unsigned NOT NULL DEFAULT 0, + `RewardItem1` int(10) unsigned NOT NULL DEFAULT 0, + `RewardAmount1` int(10) unsigned NOT NULL DEFAULT 0, + `RewardItem2` int(10) unsigned NOT NULL DEFAULT 0, + `RewardAmount2` int(10) unsigned NOT NULL DEFAULT 0, + `RewardItem3` int(10) unsigned NOT NULL DEFAULT 0, + `RewardAmount3` int(10) unsigned NOT NULL DEFAULT 0, + `RewardItem4` int(10) unsigned NOT NULL DEFAULT 0, + `RewardAmount4` int(10) unsigned NOT NULL DEFAULT 0, + `ItemDrop1` int(10) unsigned NOT NULL DEFAULT 0, + `ItemDropQuantity1` int(10) unsigned NOT NULL DEFAULT 0, + `ItemDrop2` int(10) unsigned NOT NULL DEFAULT 0, + `ItemDropQuantity2` int(10) unsigned NOT NULL DEFAULT 0, + `ItemDrop3` int(10) unsigned NOT NULL DEFAULT 0, + `ItemDropQuantity3` int(10) unsigned NOT NULL DEFAULT 0, + `ItemDrop4` int(10) unsigned NOT NULL DEFAULT 0, + `ItemDropQuantity4` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemID1` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemQuantity1` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemDisplayID1` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemID2` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemQuantity2` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemDisplayID2` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemID3` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemQuantity3` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemDisplayID3` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemID4` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemQuantity4` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemDisplayID4` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemID5` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemQuantity5` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemDisplayID5` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemID6` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemQuantity6` int(10) unsigned NOT NULL DEFAULT 0, + `RewardChoiceItemDisplayID6` int(10) unsigned NOT NULL DEFAULT 0, + `POIContinent` int(10) unsigned NOT NULL DEFAULT 0, + `POIx` float NOT NULL DEFAULT 0, + `POIy` float NOT NULL DEFAULT 0, + `POIPriority` int(11) NOT NULL DEFAULT 0, + `RewardTitle` int(10) unsigned NOT NULL DEFAULT 0, + `RewardArenaPoints` int(10) unsigned NOT NULL DEFAULT 0, + `RewardSkillLineID` int(10) unsigned NOT NULL DEFAULT 0, + `RewardNumSkillUps` int(10) unsigned NOT NULL DEFAULT 0, + `PortraitGiver` int(10) unsigned NOT NULL DEFAULT 0, + `PortraitGiverMount` int(11) NOT NULL DEFAULT 0, + `PortraitTurnIn` int(10) unsigned NOT NULL DEFAULT 0, + `RewardFactionID1` int(10) unsigned NOT NULL DEFAULT 0, + `RewardFactionValue1` int(11) NOT NULL DEFAULT 0, + `RewardFactionOverride1` int(11) NOT NULL DEFAULT 0, + `RewardFactionCapIn1` int(10) unsigned NOT NULL DEFAULT 0, + `RewardFactionID2` int(10) unsigned NOT NULL DEFAULT 0, + `RewardFactionValue2` int(11) NOT NULL DEFAULT 0, + `RewardFactionOverride2` int(11) NOT NULL DEFAULT 0, + `RewardFactionCapIn2` int(10) unsigned NOT NULL DEFAULT 0, + `RewardFactionID3` int(10) unsigned NOT NULL DEFAULT 0, + `RewardFactionValue3` int(11) NOT NULL DEFAULT 0, + `RewardFactionOverride3` int(11) NOT NULL DEFAULT 0, + `RewardFactionCapIn3` int(10) unsigned NOT NULL DEFAULT 0, + `RewardFactionID4` int(10) unsigned NOT NULL DEFAULT 0, + `RewardFactionValue4` int(11) NOT NULL DEFAULT 0, + `RewardFactionOverride4` int(11) NOT NULL DEFAULT 0, + `RewardFactionCapIn4` int(10) unsigned NOT NULL DEFAULT 0, + `RewardFactionID5` int(10) unsigned NOT NULL DEFAULT 0, + `RewardFactionValue5` int(11) NOT NULL DEFAULT 0, + `RewardFactionOverride5` int(11) NOT NULL DEFAULT 0, + `RewardFactionCapIn5` int(10) unsigned NOT NULL DEFAULT 0, + `RewardFactionFlags` int(10) unsigned NOT NULL DEFAULT 0, + `RewardCurrencyID1` int(10) unsigned NOT NULL DEFAULT 0, + `RewardCurrencyQty1` int(10) unsigned NOT NULL DEFAULT 0, + `RewardCurrencyID2` int(10) unsigned NOT NULL DEFAULT 0, + `RewardCurrencyQty2` int(10) unsigned NOT NULL DEFAULT 0, + `RewardCurrencyID3` int(10) unsigned NOT NULL DEFAULT 0, + `RewardCurrencyQty3` int(10) unsigned NOT NULL DEFAULT 0, + `RewardCurrencyID4` int(10) unsigned NOT NULL DEFAULT 0, + `RewardCurrencyQty4` int(10) unsigned NOT NULL DEFAULT 0, + `AcceptedSoundKitID` int(10) unsigned NOT NULL DEFAULT 0, + `CompleteSoundKitID` int(10) unsigned NOT NULL DEFAULT 0, + `AreaGroupID` int(10) unsigned NOT NULL DEFAULT 0, + `TimeAllowed` int(10) unsigned NOT NULL DEFAULT 0, + `AllowableRaces` bigint(20) unsigned DEFAULT 0, + `TreasurePickerID` int(11) NOT NULL DEFAULT 0, + `Expansion` int(11) NOT NULL DEFAULT 0, + `ManagedWorldStateID` int(11) NOT NULL DEFAULT 0, + `LogTitle` text DEFAULT NULL, + `LogDescription` text DEFAULT NULL, + `QuestDescription` text DEFAULT NULL, + `AreaDescription` text DEFAULT NULL, + `PortraitGiverText` text DEFAULT NULL, + `PortraitGiverName` text DEFAULT NULL, + `PortraitTurnInText` text DEFAULT NULL, + `PortraitTurnInName` text DEFAULT NULL, + `QuestCompletionLog` text DEFAULT NULL, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Quest System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3002,23 +3040,23 @@ DROP TABLE IF EXISTS `quest_template_addon`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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) NOT NULL DEFAULT '0', - `ExclusiveGroup` 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(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) NOT NULL DEFAULT 0, + `ExclusiveGroup` 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, `ScriptName` varchar(64) NOT NULL DEFAULT '', PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -3032,18 +3070,18 @@ DROP TABLE IF EXISTS `quest_template_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_template_locale` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `LogTitle` text, - `LogDescription` text, - `QuestDescription` text, - `AreaDescription` text, - `PortraitGiverText` text, - `PortraitGiverName` text, - `PortraitTurnInText` text, - `PortraitTurnInName` text, - `QuestCompletionLog` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `LogTitle` text DEFAULT NULL, + `LogDescription` text DEFAULT NULL, + `QuestDescription` text DEFAULT NULL, + `AreaDescription` text DEFAULT NULL, + `PortraitGiverText` text DEFAULT NULL, + `PortraitGiverName` text DEFAULT NULL, + `PortraitTurnInText` text DEFAULT NULL, + `PortraitTurnInName` text DEFAULT NULL, + `QuestCompletionLog` text DEFAULT NULL, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`ID`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3056,10 +3094,10 @@ DROP TABLE IF EXISTS `quest_visual_effect`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `quest_visual_effect` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `Index` tinyint(3) unsigned NOT NULL DEFAULT '0', - `VisualEffect` mediumint(8) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) NOT NULL DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Index` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VisualEffect` mediumint(8) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) NOT NULL DEFAULT 0, PRIMARY KEY (`ID`,`Index`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3072,9 +3110,9 @@ DROP TABLE IF EXISTS `race_unlock_requirement`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `race_unlock_requirement` ( - `raceID` tinyint(3) unsigned NOT NULL DEFAULT '0', - `expansion` tinyint(3) unsigned NOT NULL DEFAULT '0', - `achievementId` int(10) unsigned NOT NULL DEFAULT '0', + `raceID` tinyint(3) unsigned NOT NULL DEFAULT 0, + `expansion` tinyint(3) unsigned NOT NULL DEFAULT 0, + `achievementId` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`raceID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3087,15 +3125,15 @@ DROP TABLE IF EXISTS `reference_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Item` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Reference` mediumint(8) 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, `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; @@ -3109,14 +3147,14 @@ DROP TABLE IF EXISTS `reputation_reward_rate`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `reputation_reward_rate` ( - `faction` mediumint(8) 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', - `quest_monthly_rate` float NOT NULL DEFAULT '1', - `quest_repeatable_rate` float NOT NULL DEFAULT '1', - `creature_rate` float NOT NULL DEFAULT '1', - `spell_rate` float NOT NULL DEFAULT '1', + `faction` mediumint(8) 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, + `quest_monthly_rate` float NOT NULL DEFAULT 1, + `quest_repeatable_rate` float NOT NULL DEFAULT 1, + `creature_rate` float NOT NULL DEFAULT 1, + `spell_rate` float NOT NULL DEFAULT 1, PRIMARY KEY (`faction`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3129,22 +3167,22 @@ DROP TABLE IF EXISTS `reputation_spillover_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', - `rate_2` float NOT NULL DEFAULT '0', - `rank_2` tinyint(3) unsigned NOT NULL DEFAULT '0', - `faction3` smallint(5) 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', - `rate_4` float NOT NULL DEFAULT '0', - `rank_4` tinyint(3) unsigned NOT NULL DEFAULT '0', - `faction5` smallint(5) unsigned NOT NULL DEFAULT '0', - `rate_5` float NOT NULL DEFAULT '0', - `rank_5` tinyint(3) unsigned NOT NULL DEFAULT '0', + `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', + `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, + `rate_2` float NOT NULL DEFAULT 0, + `rank_2` tinyint(3) unsigned NOT NULL DEFAULT 0, + `faction3` smallint(5) 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, + `rate_4` float NOT NULL DEFAULT 0, + `rank_4` tinyint(3) unsigned NOT NULL DEFAULT 0, + `faction5` smallint(5) unsigned NOT NULL DEFAULT 0, + `rate_5` float NOT NULL DEFAULT 0, + `rank_5` tinyint(3) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`faction`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Reputation spillover reputation gain'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3157,17 +3195,16 @@ DROP TABLE IF EXISTS `scenario_poi`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scenario_poi` ( - `CriteriaTreeID` int(11) NOT NULL DEFAULT '0', - `BlobIndex` int(11) NOT NULL DEFAULT '0', - `Idx1` int(11) NOT NULL DEFAULT '0', - `MapID` int(11) NOT NULL DEFAULT '0', - `WorldMapAreaId` int(11) NOT NULL DEFAULT '0', - `Floor` int(11) NOT NULL DEFAULT '0', - `Priority` int(11) NOT NULL DEFAULT '0', - `Flags` int(11) NOT NULL DEFAULT '0', - `WorldEffectID` int(11) NOT NULL DEFAULT '0', - `PlayerConditionID` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `CriteriaTreeID` int(11) NOT NULL DEFAULT 0, + `BlobIndex` int(11) NOT NULL DEFAULT 0, + `Idx1` int(11) NOT NULL DEFAULT 0, + `MapID` int(11) NOT NULL DEFAULT 0, + `UiMapID` int(11) NOT NULL DEFAULT 0, + `Priority` int(11) NOT NULL DEFAULT 0, + `Flags` int(11) NOT NULL DEFAULT 0, + `WorldEffectID` int(11) NOT NULL DEFAULT 0, + `PlayerConditionID` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`CriteriaTreeID`,`BlobIndex`,`Idx1`), KEY `idx` (`CriteriaTreeID`,`BlobIndex`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -3181,12 +3218,12 @@ DROP TABLE IF EXISTS `scenario_poi_points`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scenario_poi_points` ( - `CriteriaTreeID` int(11) NOT NULL DEFAULT '0', - `Idx1` int(11) NOT NULL DEFAULT '0', - `Idx2` int(11) NOT NULL DEFAULT '0', - `X` int(11) NOT NULL DEFAULT '0', - `Y` int(11) NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `CriteriaTreeID` int(11) NOT NULL DEFAULT 0, + `Idx1` int(11) NOT NULL DEFAULT 0, + `Idx2` int(11) NOT NULL DEFAULT 0, + `X` int(11) NOT NULL DEFAULT 0, + `Y` int(11) NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`CriteriaTreeID`,`Idx1`,`Idx2`), KEY `questId_id` (`CriteriaTreeID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -3200,10 +3237,10 @@ DROP TABLE IF EXISTS `scenarios`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scenarios` ( - `map` int(10) unsigned NOT NULL DEFAULT '0', - `difficulty` tinyint(3) unsigned NOT NULL DEFAULT '0', - `scenario_A` int(10) unsigned NOT NULL DEFAULT '0', - `scenario_H` int(10) unsigned NOT NULL DEFAULT '0', + `map` int(10) unsigned NOT NULL DEFAULT 0, + `difficulty` tinyint(3) unsigned NOT NULL DEFAULT 0, + `scenario_A` int(10) unsigned NOT NULL DEFAULT 0, + `scenario_H` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`map`,`difficulty`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3217,8 +3254,8 @@ DROP TABLE IF EXISTS `scene_template`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scene_template` ( `SceneId` int(10) unsigned NOT NULL, - `Flags` int(10) unsigned NOT NULL DEFAULT '0', - `ScriptPackageID` int(10) unsigned NOT NULL DEFAULT '0', + `Flags` int(10) unsigned NOT NULL DEFAULT 0, + `ScriptPackageID` int(10) unsigned NOT NULL DEFAULT 0, `ScriptName` varchar(64) NOT NULL DEFAULT '', PRIMARY KEY (`SceneId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -3268,13 +3305,13 @@ DROP TABLE IF EXISTS `script_waypoint`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `script_waypoint` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0' COMMENT 'creature_template entry', - `pointid` mediumint(8) unsigned NOT NULL DEFAULT '0', - `location_x` float NOT NULL DEFAULT '0', - `location_y` float NOT NULL DEFAULT '0', - `location_z` float NOT NULL DEFAULT '0', - `waittime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'waittime in millisecs', - `point_comment` text, + `entry` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'creature_template entry', + `pointid` mediumint(8) unsigned NOT NULL DEFAULT 0, + `location_x` float NOT NULL DEFAULT 0, + `location_y` float NOT NULL DEFAULT 0, + `location_z` float NOT NULL DEFAULT 0, + `waittime` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'waittime in millisecs', + `point_comment` text DEFAULT NULL, PRIMARY KEY (`entry`,`pointid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Script Creature waypoints'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3287,10 +3324,10 @@ DROP TABLE IF EXISTS `skill_discovery_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `chance` float NOT NULL DEFAULT '0' COMMENT 'chance to discover', + `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', + `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'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3303,10 +3340,10 @@ DROP TABLE IF EXISTS `skill_extra_item_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `additionalCreateChance` float NOT NULL DEFAULT '0' COMMENT 'chance to create add', - `additionalMaxNum` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'max num of adds', + `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', + `additionalCreateChance` float NOT NULL DEFAULT 0 COMMENT 'chance to create add', + `additionalMaxNum` tinyint(3) 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'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3319,8 +3356,8 @@ DROP TABLE IF EXISTS `skill_fishing_base_level`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(8) unsigned NOT NULL DEFAULT 0 COMMENT 'Area identifier', + `skill` smallint(6) NOT NULL DEFAULT 0 COMMENT 'Base skill level requirement', PRIMARY KEY (`entry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Fishing system'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3333,10 +3370,10 @@ DROP TABLE IF EXISTS `skill_perfect_item_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `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', + `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', PRIMARY KEY (`spellId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Crafting Perfection System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3349,23 +3386,23 @@ DROP TABLE IF EXISTS `skill_tiers`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `skill_tiers` ( - `ID` int(10) unsigned NOT NULL DEFAULT '0', - `Value1` int(10) unsigned NOT NULL DEFAULT '0', - `Value2` int(10) unsigned NOT NULL DEFAULT '0', - `Value3` int(10) unsigned NOT NULL DEFAULT '0', - `Value4` int(10) unsigned NOT NULL DEFAULT '0', - `Value5` int(10) unsigned NOT NULL DEFAULT '0', - `Value6` int(10) unsigned NOT NULL DEFAULT '0', - `Value7` int(10) unsigned NOT NULL DEFAULT '0', - `Value8` int(10) unsigned NOT NULL DEFAULT '0', - `Value9` int(10) unsigned NOT NULL DEFAULT '0', - `Value10` int(10) unsigned NOT NULL DEFAULT '0', - `Value11` int(10) unsigned NOT NULL DEFAULT '0', - `Value12` int(10) unsigned NOT NULL DEFAULT '0', - `Value13` int(10) unsigned NOT NULL DEFAULT '0', - `Value14` int(10) unsigned NOT NULL DEFAULT '0', - `Value15` int(10) unsigned NOT NULL DEFAULT '0', - `Value16` int(10) unsigned NOT NULL DEFAULT '0', + `ID` int(10) unsigned NOT NULL DEFAULT 0, + `Value1` int(10) unsigned NOT NULL DEFAULT 0, + `Value2` int(10) unsigned NOT NULL DEFAULT 0, + `Value3` int(10) unsigned NOT NULL DEFAULT 0, + `Value4` int(10) unsigned NOT NULL DEFAULT 0, + `Value5` int(10) unsigned NOT NULL DEFAULT 0, + `Value6` int(10) unsigned NOT NULL DEFAULT 0, + `Value7` int(10) unsigned NOT NULL DEFAULT 0, + `Value8` int(10) unsigned NOT NULL DEFAULT 0, + `Value9` int(10) unsigned NOT NULL DEFAULT 0, + `Value10` int(10) unsigned NOT NULL DEFAULT 0, + `Value11` int(10) unsigned NOT NULL DEFAULT 0, + `Value12` int(10) unsigned NOT NULL DEFAULT 0, + `Value13` int(10) unsigned NOT NULL DEFAULT 0, + `Value14` int(10) unsigned NOT NULL DEFAULT 0, + `Value15` int(10) unsigned NOT NULL DEFAULT 0, + `Value16` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`ID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3378,15 +3415,15 @@ DROP TABLE IF EXISTS `skinning_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Item` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Reference` mediumint(8) 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, `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; @@ -3400,34 +3437,35 @@ DROP TABLE IF EXISTS `smart_scripts`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `smart_scripts` ( - `entryorguid` bigint(20) NOT NULL DEFAULT '0', - `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` tinyint(3) unsigned NOT NULL DEFAULT '0', - `event_chance` tinyint(3) unsigned NOT NULL DEFAULT '100', - `event_flags` smallint(3) 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', + `entryorguid` bigint(20) NOT NULL DEFAULT 0, + `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` tinyint(3) unsigned NOT NULL DEFAULT 0, + `event_chance` tinyint(3) unsigned NOT NULL DEFAULT 100, + `event_flags` smallint(3) 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, `event_param_string` varchar(255) NOT NULL DEFAULT '', - `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_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', + `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_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; @@ -3441,16 +3479,16 @@ DROP TABLE IF EXISTS `spell_area`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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` int(10) unsigned NOT NULL DEFAULT '0', - `gender` tinyint(3) unsigned NOT NULL DEFAULT '2', - `flags` tinyint(3) unsigned NOT NULL DEFAULT '3', - `quest_start_status` int(11) NOT NULL DEFAULT '64', - `quest_end_status` int(11) NOT NULL DEFAULT '11', + `spell` 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` bigint(20) unsigned NOT NULL DEFAULT 0, + `gender` tinyint(3) unsigned NOT NULL DEFAULT 2, + `flags` tinyint(3) unsigned NOT NULL DEFAULT 3, + `quest_start_status` int(11) NOT NULL DEFAULT 64, + `quest_end_status` int(11) NOT NULL DEFAULT 11, PRIMARY KEY (`spell`,`area`,`quest_start`,`aura_spell`,`racemask`,`gender`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3465,19 +3503,42 @@ DROP TABLE IF EXISTS `spell_areatrigger`; CREATE TABLE `spell_areatrigger` ( `SpellMiscId` int(10) unsigned NOT NULL, `AreaTriggerId` int(10) unsigned NOT NULL, - `MoveCurveId` int(10) unsigned NOT NULL DEFAULT '0', - `ScaleCurveId` int(10) unsigned NOT NULL DEFAULT '0', - `MorphCurveId` int(10) unsigned NOT NULL DEFAULT '0', - `FacingCurveId` int(10) unsigned NOT NULL DEFAULT '0', - `DecalPropertiesId` int(10) unsigned NOT NULL DEFAULT '0', - `TimeToTarget` int(10) unsigned NOT NULL DEFAULT '0', - `TimeToTargetScale` int(10) unsigned NOT NULL DEFAULT '0', - `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT '0', + `MoveCurveId` int(10) unsigned NOT NULL DEFAULT 0, + `ScaleCurveId` int(10) unsigned NOT NULL DEFAULT 0, + `MorphCurveId` int(10) unsigned NOT NULL DEFAULT 0, + `FacingCurveId` int(10) unsigned NOT NULL DEFAULT 0, + `AnimId` int(11) NOT NULL DEFAULT 0, + `AnimKitId` int(11) NOT NULL DEFAULT 0, + `DecalPropertiesId` int(10) unsigned NOT NULL DEFAULT 0, + `TimeToTarget` int(10) unsigned NOT NULL DEFAULT 0, + `TimeToTargetScale` int(10) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`SpellMiscId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- +-- Table structure for table `spell_areatrigger_circular` +-- + +DROP TABLE IF EXISTS `spell_areatrigger_circular`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `spell_areatrigger_circular` ( + `SpellMiscId` int(10) unsigned NOT NULL, + `StartDelay` int(10) unsigned NOT NULL DEFAULT 0, + `CircleRadius` float NOT NULL DEFAULT 0, + `BlendFromRadius` float NOT NULL DEFAULT 0, + `InitialAngle` float NOT NULL DEFAULT 0, + `ZOffset` float NOT NULL DEFAULT 0, + `CounterClockwise` tinyint(3) unsigned NOT NULL DEFAULT 0, + `CanLoop` tinyint(3) unsigned NOT NULL DEFAULT 0, + `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT 0, + PRIMARY KEY (`SpellMiscId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- -- Table structure for table `spell_areatrigger_splines` -- @@ -3487,10 +3548,10 @@ DROP TABLE IF EXISTS `spell_areatrigger_splines`; CREATE TABLE `spell_areatrigger_splines` ( `SpellMiscId` int(10) unsigned NOT NULL, `Idx` int(10) unsigned NOT NULL, - `X` float NOT NULL DEFAULT '0', - `Y` float NOT NULL DEFAULT '0', - `Z` float NOT NULL DEFAULT '0', - `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT '0', + `X` float NOT NULL DEFAULT 0, + `Y` float NOT NULL DEFAULT 0, + `Z` float NOT NULL DEFAULT 0, + `VerifiedBuild` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`SpellMiscId`,`Idx`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3503,8 +3564,8 @@ DROP TABLE IF EXISTS `spell_custom_attr`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'spell id', + `attributes` mediumint(8) unsigned NOT NULL DEFAULT 0 COMMENT 'SpellCustomAttributes', PRIMARY KEY (`entry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='SpellInfo custom attributes'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3518,29 +3579,29 @@ DROP TABLE IF EXISTS `spell_dbc`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_dbc` ( `Id` int(10) unsigned NOT NULL, - `Attributes` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx2` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx3` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx4` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx5` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx6` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx7` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx8` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx9` int(10) unsigned NOT NULL DEFAULT '0', - `AttributesEx10` int(10) unsigned NOT NULL DEFAULT '0', - `CastingTimeIndex` int(10) unsigned NOT NULL DEFAULT '1', - `DurationIndex` int(10) unsigned NOT NULL DEFAULT '0', - `RangeIndex` int(10) unsigned NOT NULL DEFAULT '1', - `SchoolMask` int(10) unsigned NOT NULL DEFAULT '0', - `SpellAuraOptionsId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellCastingRequirementsId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellCategoriesId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellClassOptionsId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellEquippedItemsId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellLevelsId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellTargetRestrictionsId` int(10) unsigned NOT NULL DEFAULT '0', - `SpellInterruptsId` 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, + `AttributesEx8` int(10) unsigned NOT NULL DEFAULT 0, + `AttributesEx9` int(10) unsigned NOT NULL DEFAULT 0, + `AttributesEx10` int(10) unsigned NOT NULL DEFAULT 0, + `CastingTimeIndex` int(10) unsigned NOT NULL DEFAULT 1, + `DurationIndex` int(10) unsigned NOT NULL DEFAULT 0, + `RangeIndex` int(10) unsigned NOT NULL DEFAULT 1, + `SchoolMask` int(10) unsigned NOT NULL DEFAULT 0, + `SpellAuraOptionsId` int(10) unsigned NOT NULL DEFAULT 0, + `SpellCastingRequirementsId` int(10) unsigned NOT NULL DEFAULT 0, + `SpellCategoriesId` int(10) unsigned NOT NULL DEFAULT 0, + `SpellClassOptionsId` int(10) unsigned NOT NULL DEFAULT 0, + `SpellEquippedItemsId` int(10) unsigned NOT NULL DEFAULT 0, + `SpellLevelsId` int(10) unsigned NOT NULL DEFAULT 0, + `SpellTargetRestrictionsId` int(10) unsigned NOT NULL DEFAULT 0, + `SpellInterruptsId` int(10) unsigned NOT NULL DEFAULT 0, `Comment` text NOT NULL, PRIMARY KEY (`Id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Custom spell.dbc entries'; @@ -3555,9 +3616,9 @@ DROP TABLE IF EXISTS `spell_enchant_proc_data`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_enchant_proc_data` ( `entry` int(10) unsigned NOT NULL, - `customChance` int(10) unsigned NOT NULL DEFAULT '0', - `PPMChance` float unsigned NOT NULL DEFAULT '0', - `procEx` int(10) unsigned NOT NULL DEFAULT '0', + `customChance` int(10) unsigned NOT NULL DEFAULT 0, + `PPMChance` float unsigned NOT NULL DEFAULT 0, + `procEx` int(10) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`entry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Spell enchant proc data'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3570,8 +3631,8 @@ DROP TABLE IF EXISTS `spell_group`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_group` ( - `id` int(10) unsigned NOT NULL DEFAULT '0', - `spell_id` int(11) NOT NULL DEFAULT '0', + `id` int(10) unsigned NOT NULL DEFAULT 0, + `spell_id` int(11) NOT NULL DEFAULT 0, PRIMARY KEY (`id`,`spell_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3584,8 +3645,8 @@ DROP TABLE IF EXISTS `spell_group_stack_rules`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(11) unsigned NOT NULL DEFAULT 0, + `stack_rule` tinyint(3) NOT NULL DEFAULT 0, PRIMARY KEY (`group_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3598,9 +3659,9 @@ DROP TABLE IF EXISTS `spell_learn_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(10) unsigned NOT NULL DEFAULT 0, + `SpellID` int(10) unsigned NOT NULL DEFAULT 0, + `Active` tinyint(3) unsigned NOT NULL DEFAULT 1, PRIMARY KEY (`entry`,`SpellID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3614,8 +3675,8 @@ DROP TABLE IF EXISTS `spell_linked_spell`; /*!40101 SET character_set_client = utf8 */; 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_effect` mediumint(8) NOT NULL DEFAULT 0, + `type` tinyint(3) 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'; @@ -3629,15 +3690,15 @@ DROP TABLE IF EXISTS `spell_loot_template`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `Entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Item` mediumint(8) unsigned NOT NULL DEFAULT 0, + `Reference` mediumint(8) 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, `Comment` varchar(255) DEFAULT NULL, PRIMARY KEY (`Entry`,`Item`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; @@ -3652,8 +3713,8 @@ DROP TABLE IF EXISTS `spell_pet_auras`; /*!40101 SET character_set_client = utf8 */; 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', + `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', PRIMARY KEY (`spell`,`effectId`,`pet`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; @@ -3667,22 +3728,22 @@ DROP TABLE IF EXISTS `spell_proc`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `SpellFamilyMask3` 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', - `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', + `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, + `SpellFamilyMask3` 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, + `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, PRIMARY KEY (`SpellId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3695,8 +3756,8 @@ DROP TABLE IF EXISTS `spell_required`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_required` ( - `spell_id` mediumint(8) NOT NULL DEFAULT '0', - `req_spell` mediumint(8) NOT NULL DEFAULT '0', + `spell_id` mediumint(8) NOT NULL DEFAULT 0, + `req_spell` mediumint(8) NOT NULL DEFAULT 0, PRIMARY KEY (`spell_id`,`req_spell`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell Additinal Data'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3723,17 +3784,17 @@ DROP TABLE IF EXISTS `spell_scripts`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `x` float NOT NULL DEFAULT '0', - `y` float NOT NULL DEFAULT '0', - `z` float NOT NULL DEFAULT '0', - `o` float NOT NULL DEFAULT '0' + `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, + `x` float NOT NULL DEFAULT 0, + `y` float NOT NULL DEFAULT 0, + `z` float NOT NULL DEFAULT 0, + `o` float NOT NULL DEFAULT 0 ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3745,13 +3806,13 @@ DROP TABLE IF EXISTS `spell_target_position`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `spell_target_position` ( - `ID` mediumint(8) unsigned NOT NULL DEFAULT '0', - `EffectIndex` tinyint(3) unsigned NOT NULL DEFAULT '0', - `MapID` smallint(3) unsigned NOT NULL DEFAULT '0', - `PositionX` float NOT NULL DEFAULT '0', - `PositionY` float NOT NULL DEFAULT '0', - `PositionZ` float NOT NULL DEFAULT '0', - `VerifiedBuild` smallint(5) DEFAULT '0', + `ID` mediumint(8) unsigned NOT NULL DEFAULT 0, + `EffectIndex` tinyint(3) unsigned NOT NULL DEFAULT 0, + `MapID` smallint(3) unsigned NOT NULL DEFAULT 0, + `PositionX` float NOT NULL DEFAULT 0, + `PositionY` float NOT NULL DEFAULT 0, + `PositionZ` float NOT NULL DEFAULT 0, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`ID`,`EffectIndex`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell System'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3766,61 +3827,61 @@ DROP TABLE IF EXISTS `spell_threat`; CREATE TABLE `spell_threat` ( `entry` mediumint(8) unsigned NOT NULL, `flatMod` int(11) 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', + `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; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `spelleffect_dbc` +-- Table structure for table `spell_totem_model` -- -DROP TABLE IF EXISTS `spelleffect_dbc`; +DROP TABLE IF EXISTS `spell_totem_model`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `spelleffect_dbc` ( - `Id` int(10) unsigned NOT NULL, - `Effect` int(10) unsigned NOT NULL DEFAULT '0', - `EffectValueMultiplier` float unsigned NOT NULL DEFAULT '0', - `EffectApplyAuraName` int(10) unsigned NOT NULL DEFAULT '0', - `EffectAmplitude` int(10) unsigned NOT NULL DEFAULT '0', - `EffectBasePoints` int(10) NOT NULL DEFAULT '0', - `EffectBonusMultiplier` float unsigned NOT NULL DEFAULT '0', - `EffectDamageMultiplier` float unsigned NOT NULL DEFAULT '0', - `EffectChainTarget` int(10) unsigned NOT NULL DEFAULT '0', - `EffectDieSides` int(10) NOT NULL DEFAULT '0', - `EffectItemType` int(10) unsigned NOT NULL DEFAULT '0', - `EffectMechanic` int(10) unsigned NOT NULL DEFAULT '0', - `EffectMiscValue` int(10) NOT NULL DEFAULT '0', - `EffectMiscValueB` int(10) NOT NULL DEFAULT '0', - `EffectRadiusIndex` int(10) unsigned NOT NULL DEFAULT '0', - `EffectRadiusIndexMax` int(10) unsigned NOT NULL DEFAULT '0', - `EffectRealPointsPerLevel` float unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskA` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskB` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellClassMaskC` int(10) unsigned NOT NULL DEFAULT '0', - `EffectTriggerSpell` int(10) unsigned NOT NULL DEFAULT '0', - `EffectImplicitTargetA` int(10) unsigned NOT NULL DEFAULT '0', - `EffectImplicitTargetB` int(10) unsigned NOT NULL DEFAULT '0', - `EffectSpellId` int(10) unsigned NOT NULL, - `EffectIndex` int(10) unsigned NOT NULL, - PRIMARY KEY (`Id`) +CREATE TABLE `spell_totem_model` ( + `SpellID` int(10) unsigned NOT NULL, + `RaceID` tinyint(3) unsigned NOT NULL, + `DisplayID` int(10) unsigned NOT NULL DEFAULT 0, + PRIMARY KEY (`SpellID`,`RaceID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; -- --- Table structure for table `terrain_phase_info` +-- Table structure for table `spelleffect_dbc` -- -DROP TABLE IF EXISTS `terrain_phase_info`; +DROP TABLE IF EXISTS `spelleffect_dbc`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; -CREATE TABLE `terrain_phase_info` ( +CREATE TABLE `spelleffect_dbc` ( `Id` int(10) unsigned NOT NULL, - `TerrainSwapMap` int(10) unsigned NOT NULL, - `Comment` varchar(255) DEFAULT NULL, - PRIMARY KEY (`Id`,`TerrainSwapMap`) + `Effect` int(10) unsigned NOT NULL DEFAULT 0, + `EffectValueMultiplier` float unsigned NOT NULL DEFAULT 0, + `EffectApplyAuraName` int(10) unsigned NOT NULL DEFAULT 0, + `EffectAmplitude` int(10) unsigned NOT NULL DEFAULT 0, + `EffectBasePoints` int(10) NOT NULL DEFAULT 0, + `EffectBonusMultiplier` float unsigned NOT NULL DEFAULT 0, + `EffectDamageMultiplier` float unsigned NOT NULL DEFAULT 0, + `EffectChainTarget` int(10) unsigned NOT NULL DEFAULT 0, + `EffectDieSides` int(10) NOT NULL DEFAULT 0, + `EffectItemType` int(10) unsigned NOT NULL DEFAULT 0, + `EffectMechanic` int(10) unsigned NOT NULL DEFAULT 0, + `EffectMiscValue` int(10) NOT NULL DEFAULT 0, + `EffectMiscValueB` int(10) NOT NULL DEFAULT 0, + `EffectRadiusIndex` int(10) unsigned NOT NULL DEFAULT 0, + `EffectRadiusIndexMax` int(10) unsigned NOT NULL DEFAULT 0, + `EffectRealPointsPerLevel` float unsigned NOT NULL DEFAULT 0, + `EffectSpellClassMaskA` int(10) unsigned NOT NULL DEFAULT 0, + `EffectSpellClassMaskB` int(10) unsigned NOT NULL DEFAULT 0, + `EffectSpellClassMaskC` int(10) unsigned NOT NULL DEFAULT 0, + `EffectTriggerSpell` int(10) unsigned NOT NULL DEFAULT 0, + `EffectImplicitTargetA` int(10) unsigned NOT NULL DEFAULT 0, + `EffectImplicitTargetB` int(10) unsigned NOT NULL DEFAULT 0, + `EffectSpellId` int(10) unsigned NOT NULL, + `EffectIndex` int(10) unsigned NOT NULL, + PRIMARY KEY (`Id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3848,9 +3909,9 @@ DROP TABLE IF EXISTS `terrain_worldmap`; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `terrain_worldmap` ( `TerrainSwapMap` int(10) unsigned NOT NULL, - `WorldMapArea` int(10) unsigned NOT NULL, + `UiMapPhaseId` int(10) unsigned NOT NULL, `Comment` varchar(255) DEFAULT NULL, - PRIMARY KEY (`TerrainSwapMap`,`WorldMapArea`) + PRIMARY KEY (`TerrainSwapMap`,`UiMapPhaseId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3862,10 +3923,10 @@ DROP TABLE IF EXISTS `trainer`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `trainer` ( - `Id` int(10) unsigned NOT NULL DEFAULT '0', - `Type` tinyint(2) unsigned NOT NULL DEFAULT '2', - `Greeting` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `Id` int(10) unsigned NOT NULL DEFAULT 0, + `Type` tinyint(2) unsigned NOT NULL DEFAULT 2, + `Greeting` text DEFAULT NULL, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`Id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3878,10 +3939,10 @@ DROP TABLE IF EXISTS `trainer_locale`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `trainer_locale` ( - `Id` int(10) unsigned NOT NULL DEFAULT '0', + `Id` int(10) unsigned NOT NULL DEFAULT 0, `locale` varchar(4) NOT NULL, - `Greeting_lang` text, - `VerifiedBuild` smallint(5) DEFAULT '0', + `Greeting_lang` text DEFAULT NULL, + `VerifiedBuild` smallint(5) DEFAULT 0, PRIMARY KEY (`Id`,`locale`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3894,16 +3955,16 @@ DROP TABLE IF EXISTS `trainer_spell`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(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, PRIMARY KEY (`TrainerId`,`SpellId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3916,11 +3977,12 @@ DROP TABLE IF EXISTS `transports`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `transports` ( - `guid` bigint(20) unsigned NOT NULL DEFAULT '0', - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `name` text, - `phaseid` int(10) NOT NULL DEFAULT '0', - `phasegroup` int(10) NOT NULL DEFAULT '0', + `guid` bigint(20) unsigned NOT NULL DEFAULT 0, + `entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `name` text DEFAULT NULL, + `phaseUseFlags` tinyint(3) unsigned NOT NULL DEFAULT 0, + `phaseid` int(10) NOT NULL DEFAULT 0, + `phasegroup` int(10) NOT NULL DEFAULT 0, `ScriptName` char(64) NOT NULL DEFAULT '', PRIMARY KEY (`guid`), UNIQUE KEY `idx_entry` (`entry`) @@ -3935,16 +3997,16 @@ DROP TABLE IF EXISTS `trinity_string`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `trinity_string` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', + `entry` mediumint(8) unsigned NOT NULL DEFAULT 0, `content_default` text NOT NULL, - `content_loc1` text, - `content_loc2` text, - `content_loc3` text, - `content_loc4` text, - `content_loc5` text, - `content_loc6` text, - `content_loc7` text, - `content_loc8` text, + `content_loc1` text DEFAULT NULL, + `content_loc2` text DEFAULT NULL, + `content_loc3` text DEFAULT NULL, + `content_loc4` text DEFAULT NULL, + `content_loc5` text DEFAULT NULL, + `content_loc6` text DEFAULT NULL, + `content_loc7` text DEFAULT NULL, + `content_loc8` text DEFAULT NULL, PRIMARY KEY (`entry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3960,8 +4022,8 @@ 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.', + `timestamp` timestamp NOT NULL DEFAULT current_timestamp() COMMENT 'timestamp when the query was applied.', + `speed` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'time the query takes to apply in ms.', PRIMARY KEY (`name`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='List of all applied updates in this database.'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -3988,13 +4050,13 @@ DROP TABLE IF EXISTS `vehicle_accessory`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `vehicle_accessory` ( - `guid` bigint(20) 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` bigint(20) unsigned NOT NULL DEFAULT 0, + `accessory_entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `seat_id` tinyint(4) NOT NULL DEFAULT 0, + `minion` tinyint(3) unsigned NOT NULL DEFAULT 0, `description` text 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(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', PRIMARY KEY (`guid`,`seat_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4007,13 +4069,13 @@ DROP TABLE IF EXISTS `vehicle_template_accessory`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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(8) unsigned NOT NULL DEFAULT 0, + `accessory_entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `seat_id` tinyint(4) NOT NULL DEFAULT 0, + `minion` tinyint(3) unsigned NOT NULL DEFAULT 0, `description` text 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(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', PRIMARY KEY (`entry`,`seat_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4029,8 +4091,8 @@ 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', - `hotfix_cache_id` int(11) NOT NULL DEFAULT '0', + `cache_id` int(11) DEFAULT 0, + `hotfix_cache_id` int(11) NOT NULL DEFAULT 0, PRIMARY KEY (`core_version`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Version Notes'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4063,17 +4125,17 @@ DROP TABLE IF EXISTS `waypoint_data`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `waypoint_data` ( - `id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'Creature GUID', - `point` mediumint(8) 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` bigint(20) unsigned NOT NULL DEFAULT '0', + `id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Creature GUID', + `point` mediumint(8) 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` bigint(20) unsigned NOT NULL DEFAULT 0, PRIMARY KEY (`id`,`point`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4086,17 +4148,17 @@ DROP TABLE IF EXISTS `waypoint_scripts`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; 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', - `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', + `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, + `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, PRIMARY KEY (`guid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4109,12 +4171,12 @@ DROP TABLE IF EXISTS `waypoints`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `waypoints` ( - `entry` mediumint(8) unsigned NOT NULL DEFAULT '0', - `pointid` mediumint(8) 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', - `point_comment` text, + `entry` mediumint(8) unsigned NOT NULL DEFAULT 0, + `pointid` mediumint(8) 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, + `point_comment` text DEFAULT NULL, PRIMARY KEY (`entry`,`pointid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature waypoints'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -4128,4 +4190,4 @@ CREATE TABLE `waypoints` ( /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2018-02-19 22:43:12 +-- Dump completed on 2019-07-15 16:12:32 |