TDB 927.22111 - 2022/11/20

Port From (https://github.com/TrinityCore/TrinityCore/commit/85205d8ca5d41e4eca09619ebf46d92e7b925aaa)
This commit is contained in:
hondacrx
2022-12-17 17:09:35 -05:00
parent 3b179a018e
commit a4ebb8455d
389 changed files with 86931 additions and 55 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,44 +0,0 @@
--
-- Table structure for table `garr_talent_tree`
--
DROP TABLE IF EXISTS `garr_talent_tree`;
CREATE TABLE `garr_talent_tree` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`Name` text,
`GarrTypeID` tinyint(3) unsigned NOT NULL DEFAULT '0',
`ClassID` int(11) NOT NULL DEFAULT '0',
`MaxTiers` tinyint(4) NOT NULL DEFAULT '0',
`UiOrder` tinyint(4) NOT NULL DEFAULT '0',
`Flags` int(11) NOT NULL DEFAULT '0',
`UiTextureKitID` smallint(5) unsigned NOT NULL DEFAULT '0',
`GarrTalentTreeType` int(11) NOT NULL DEFAULT '0',
`PlayerConditionID` int(11) NOT NULL DEFAULT '0',
`FeatureTypeIndex` tinyint(4) NOT NULL DEFAULT '0',
`FeatureSubtypeIndex` tinyint(4) NOT NULL DEFAULT '0',
`CurrencyID` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `garr_talent_tree_locale`
--
DROP TABLE IF EXISTS `garr_talent_tree_locale`;
CREATE TABLE `garr_talent_tree_locale` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`locale` varchar(4) NOT NULL,
`Name_lang` text,
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`locale`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
PARTITION BY LIST COLUMNS(locale)
(PARTITION deDE VALUES IN ('deDE') ENGINE = InnoDB,
PARTITION esES VALUES IN ('esES') ENGINE = InnoDB,
PARTITION esMX VALUES IN ('esMX') ENGINE = InnoDB,
PARTITION frFR VALUES IN ('frFR') ENGINE = InnoDB,
PARTITION itIT VALUES IN ('itIT') ENGINE = InnoDB,
PARTITION koKR VALUES IN ('koKR') ENGINE = InnoDB,
PARTITION ptBR VALUES IN ('ptBR') ENGINE = InnoDB,
PARTITION ruRU VALUES IN ('ruRU') ENGINE = InnoDB,
PARTITION zhCN VALUES IN ('zhCN') ENGINE = InnoDB,
PARTITION zhTW VALUES IN ('zhTW') ENGINE = InnoDB);
@@ -1,3 +1,3 @@
-- TDB 927.22082 hotfixes
-- TDB 927.22111 hotfixes
UPDATE `updates` SET `state`='ARCHIVED',`speed`=0;
REPLACE INTO `updates_include` (`path`, `state`) VALUES ('$/sql/old/9.x/hotfixes', 'ARCHIVED');
@@ -0,0 +1,343 @@
--
-- Table structure for table `battle_pet_breed_quality`
--
ALTER TABLE `battle_pet_breed_quality` ADD `MaxQualityRoll` int NOT NULL DEFAULT 0 AFTER `ID`;
--
-- Table structure for table `battle_pet_species`
--
ALTER TABLE `battle_pet_species` MODIFY `Flags` int NOT NULL DEFAULT 0 AFTER `PetTypeEnum`;
--
-- Table structure for table `battlemaster_list`
--
ALTER TABLE `battlemaster_list` MODIFY `MaxPlayers` int NOT NULL DEFAULT 0 AFTER `MinPlayers`;
--
-- Table structure for table `battlemaster_list`
--
ALTER TABLE `character_loadout` MODIFY `Purpose` int NOT NULL DEFAULT 0 AFTER `ChrClassID`;
ALTER TABLE `character_loadout` CHANGE `Unused910` `ItemContext` tinyint NOT NULL DEFAULT 0 AFTER `Purpose`;
--
-- Table structure for table `chr_customization_choice`
--
ALTER TABLE `chr_customization_choice` ADD `ChrCustomizationVisReqID` int NOT NULL DEFAULT 0 AFTER `ChrCustomizationReqID`;
--
-- Table structure for table `chr_customization_element`
--
ALTER TABLE `chr_customization_element` ADD `ChrCustomizationVoiceID` int NOT NULL DEFAULT 0 AFTER `ChrCustItemGeoModifyID`;
--
-- Table structure for table `chr_customization_req`
--
ALTER TABLE `chr_customization_req`
ADD `ReqSource` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL AFTER `ID`,
ADD `QuestID` int NOT NULL DEFAULT 0 AFTER `AchievementID`;
--
-- Table structure for table `chr_customization_req_locale`
--
DROP TABLE IF EXISTS `chr_customization_req_locale`;
CREATE TABLE `chr_customization_req_locale` (
`ID` int unsigned NOT NULL DEFAULT '0',
`locale` varchar(4) NOT NULL,
`ReqSource_lang` text,
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`locale`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
PARTITION BY LIST COLUMNS(locale)
(PARTITION deDE VALUES IN ('deDE') ENGINE = InnoDB,
PARTITION esES VALUES IN ('esES') ENGINE = InnoDB,
PARTITION esMX VALUES IN ('esMX') ENGINE = InnoDB,
PARTITION frFR VALUES IN ('frFR') ENGINE = InnoDB,
PARTITION itIT VALUES IN ('itIT') ENGINE = InnoDB,
PARTITION koKR VALUES IN ('koKR') ENGINE = InnoDB,
PARTITION ptBR VALUES IN ('ptBR') ENGINE = InnoDB,
PARTITION ruRU VALUES IN ('ruRU') ENGINE = InnoDB,
PARTITION zhCN VALUES IN ('zhCN') ENGINE = InnoDB,
PARTITION zhTW VALUES IN ('zhTW') ENGINE = InnoDB);
--
-- Table structure for table `chr_model`
--
ALTER TABLE `chr_model` MODIFY `DisplayID` int NOT NULL DEFAULT 0 AFTER `Sex`;
--
-- Table structure for table `chr_model`
--
ALTER TABLE `chr_race_x_chr_model`
ADD `Sex` int NOT NULL DEFAULT 0 AFTER `ChrModelID`,
ADD `AllowedTransmogSlots` int NOT NULL DEFAULT 0 AFTER `Sex`;
--
-- Table structure for table `chr_races`
--
ALTER TABLE `chr_races` ADD `Unknown1000` int NOT NULL DEFAULT 0 AFTER `Unknown910_23`;
--
-- Table structure for table `cinematic_camera`
--
ALTER TABLE `cinematic_camera` CHANGE `Unknown915` `ConversationID` int unsigned NOT NULL DEFAULT 0 AFTER `FileDataID`;
--
-- Table structure for table `creature_display_info`
--
ALTER TABLE `creature_display_info` ADD `TextureVariationFileDataID4` int NOT NULL DEFAULT 0 AFTER `TextureVariationFileDataID3`;
--
-- Table structure for table `currency_types`
--
ALTER TABLE `currency_types`
ADD `RechargingAmountPerCycle` int unsigned NOT NULL DEFAULT 0 AFTER `MaxQtyWorldStateID`,
ADD `RechargingCycleDurationMS` int unsigned NOT NULL DEFAULT 0 AFTER `RechargingAmountPerCycle`;
--
-- Table structure for table `curve_point`
--
ALTER TABLE `curve_point` MODIFY `ID` int unsigned NOT NULL DEFAULT 0 AFTER `PreSLSquishPosY`;
--
-- Table structure for table `dungeon_encounter`
--
ALTER TABLE `dungeon_encounter` DROP `CreatureDisplayID`;
--
-- Table structure for table `faction`
--
ALTER TABLE `faction`
ADD `RenownFactionID` int NOT NULL DEFAULT 0 AFTER `ParagonFactionID`,
ADD `RenownCurrencyID` int NOT NULL DEFAULT 0 AFTER `RenownFactionID`,
MODIFY `Flags` int NOT NULL DEFAULT 0 AFTER `FriendshipRepID`;
--
-- Table structure for table `faction_template`
--
ALTER TABLE `faction_template`
ADD `Enemies5` smallint unsigned NOT NULL DEFAULT 0 AFTER `Enemies4`,
ADD `Enemies6` smallint unsigned NOT NULL DEFAULT 0 AFTER `Enemies5`,
ADD `Enemies7` smallint unsigned NOT NULL DEFAULT 0 AFTER `Enemies6`,
ADD `Enemies8` smallint unsigned NOT NULL DEFAULT 0 AFTER `Enemies7`,
ADD `Friend5` smallint unsigned NOT NULL DEFAULT 0 AFTER `Friend4`,
ADD `Friend6` smallint unsigned NOT NULL DEFAULT 0 AFTER `Friend5`,
ADD `Friend7` smallint unsigned NOT NULL DEFAULT 0 AFTER `Friend6`,
ADD `Friend8` smallint unsigned NOT NULL DEFAULT 0 AFTER `Friend7`;
--
-- Table structure for table `garr_talent_tree`
--
ALTER TABLE `garr_talent_tree` MODIFY `FeatureTypeIndex` tinyint unsigned NOT NULL DEFAULT 0 AFTER `PlayerConditionID`;
--
-- Table structure for table `gossip_npc_option`
--
DROP TABLE IF EXISTS `gossip_npc_option`;
CREATE TABLE `gossip_npc_option` (
`ID` int unsigned NOT NULL DEFAULT '0',
`GossipNpcOption` int NOT NULL DEFAULT '0',
`LFGDungeonsID` int NOT NULL DEFAULT '0',
`TrainerID` int NOT NULL DEFAULT '0',
`GarrFollowerTypeID` int NOT NULL DEFAULT '0',
`CharShipmentID` int NOT NULL DEFAULT '0',
`GarrTalentTreeID` int NOT NULL DEFAULT '0',
`UiMapID` int NOT NULL DEFAULT '0',
`UiItemInteractionID` int NOT NULL DEFAULT '0',
`Unknown_1000_8` int NOT NULL DEFAULT '0',
`Unknown_1000_9` int NOT NULL DEFAULT '0',
`CovenantID` int NOT NULL DEFAULT '0',
`GossipOptionID` int NOT NULL DEFAULT '0',
`TraitTreeID` int NOT NULL DEFAULT '0',
`ProfessionID` int NOT NULL DEFAULT '0',
`Unknown_1002_14` int NOT NULL DEFAULT '0',
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `item`
--
ALTER TABLE `item` ADD `CraftingQualityID` int NOT NULL DEFAULT 0 AFTER `ModifiedCraftingReagentItemID`;
--
-- Table structure for table `item_extended_cost`
--
ALTER TABLE `item_extended_cost` MODIFY `MinReputation` int NOT NULL DEFAULT 0 AFTER `MinFactionID`;
--
-- Table structure for table `item_search_name`
--
ALTER TABLE `item_search_name` MODIFY `MinReputation` int NOT NULL DEFAULT 0 AFTER `MinFactionID`;
--
-- Table structure for table `item_sparse`
--
ALTER TABLE `item_sparse` MODIFY `MinReputation` int NOT NULL DEFAULT 0 AFTER `MaxCount`;
--
-- Table structure for table `journal_instance`
--
ALTER TABLE `journal_instance` DROP `OrderIndex`;
--
-- Table structure for table `map`
--
ALTER TABLE `map` ADD `NavigationMaxDistance` int NOT NULL DEFAULT 0 AFTER `WdtFileDataID`;
--
-- Table structure for table `mount_capability`
--
ALTER TABLE `mount_capability` ADD `FlightCapabilityID` int NOT NULL DEFAULT 0 AFTER `PlayerConditionID`;
--
-- Table structure for table `player_condition`
--
ALTER TABLE `player_condition`
ADD `TraitNodeEntryLogic` int unsigned NOT NULL DEFAULT 0 AFTER `CovenantID`,
ADD `TraitNodeEntryID1` int NOT NULL DEFAULT 0 AFTER `MovementFlags2`,
ADD `TraitNodeEntryID2` int NOT NULL DEFAULT 0 AFTER `TraitNodeEntryID1`,
ADD `TraitNodeEntryID3` int NOT NULL DEFAULT 0 AFTER `TraitNodeEntryID2`,
ADD `TraitNodeEntryID4` int NOT NULL DEFAULT 0 AFTER `TraitNodeEntryID3`,
ADD `TraitNodeEntryMinRank1` smallint unsigned NOT NULL DEFAULT 0 AFTER `TraitNodeEntryID4`,
ADD `TraitNodeEntryMinRank2` smallint unsigned NOT NULL DEFAULT 0 AFTER `TraitNodeEntryMinRank1`,
ADD `TraitNodeEntryMinRank3` smallint unsigned NOT NULL DEFAULT 0 AFTER `TraitNodeEntryMinRank2`,
ADD `TraitNodeEntryMinRank4` smallint unsigned NOT NULL DEFAULT 0 AFTER `TraitNodeEntryMinRank3`,
ADD `TraitNodeEntryMaxRank1` smallint unsigned NOT NULL DEFAULT 0 AFTER `TraitNodeEntryMinRank4`,
ADD `TraitNodeEntryMaxRank2` smallint unsigned NOT NULL DEFAULT 0 AFTER `TraitNodeEntryMaxRank1`,
ADD `TraitNodeEntryMaxRank3` smallint unsigned NOT NULL DEFAULT 0 AFTER `TraitNodeEntryMaxRank2`,
ADD `TraitNodeEntryMaxRank4` smallint unsigned NOT NULL DEFAULT 0 AFTER `TraitNodeEntryMaxRank3`;
--
-- Table structure for table `power_type`
--
ALTER TABLE `power_type`
MODIFY `MinPower` int NOT NULL DEFAULT 0 AFTER `PowerTypeEnum`,
MODIFY `MaxBasePower` int NOT NULL DEFAULT 0 AFTER `MinPower`,
MODIFY `CenterPower` int NOT NULL DEFAULT 0 AFTER `MaxBasePower`,
MODIFY `DefaultPower` int NOT NULL DEFAULT 0 AFTER `CenterPower`,
MODIFY `DisplayModifier` int NOT NULL DEFAULT 0 AFTER `DefaultPower`,
MODIFY `RegenInterruptTimeMS` int NOT NULL DEFAULT 0 AFTER `DisplayModifier`;
--
-- Table structure for table `pvp_talent`
--
ALTER TABLE `pvp_talent` ADD `PlayerConditionID` int NOT NULL DEFAULT 0 AFTER `LevelRequired`;
--
-- Table structure for table `quest_info`
--
ALTER TABLE `quest_info` MODIFY `Profession` int NOT NULL DEFAULT 0 AFTER `Modifiers`;
--
-- Table structure for table `quest_v2`
--
ALTER TABLE `quest_v2` ADD `UiQuestDetailsTheme` int NOT NULL DEFAULT 0 AFTER `UniqueBitFlag`;
--
-- Table structure for table `quest_v2`
--
ALTER TABLE `skill_line`
ADD `ExpansionNameSharedStringID` int NOT NULL DEFAULT 0 AFTER `SpellBookSpellID`,
ADD `HordeExpansionNameSharedStringID` int NOT NULL DEFAULT 0 AFTER `ExpansionNameSharedStringID`;
--
-- Table structure for table `quest_v2`
--
ALTER TABLE `skill_line_ability`
ADD `AbilityVerb` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL AFTER `RaceMask`,
ADD `AbilityAllVerb` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL AFTER `AbilityVerb`;
--
-- Table structure for table `skill_line_ability_locale`
--
DROP TABLE IF EXISTS `skill_line_ability_locale`;
CREATE TABLE `skill_line_ability_locale` (
`ID` int unsigned NOT NULL DEFAULT '0',
`locale` varchar(4) NOT NULL,
`AbilityVerb_lang` text,
`AbilityAllVerb_lang` text,
`VerifiedBuild` int NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`locale`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
PARTITION BY LIST COLUMNS(locale)
(PARTITION deDE VALUES IN ('deDE') ENGINE = InnoDB,
PARTITION esES VALUES IN ('esES') ENGINE = InnoDB,
PARTITION esMX VALUES IN ('esMX') ENGINE = InnoDB,
PARTITION frFR VALUES IN ('frFR') ENGINE = InnoDB,
PARTITION itIT VALUES IN ('itIT') ENGINE = InnoDB,
PARTITION koKR VALUES IN ('koKR') ENGINE = InnoDB,
PARTITION ptBR VALUES IN ('ptBR') ENGINE = InnoDB,
PARTITION ruRU VALUES IN ('ruRU') ENGINE = InnoDB,
PARTITION zhCN VALUES IN ('zhCN') ENGINE = InnoDB,
PARTITION zhTW VALUES IN ('zhTW') ENGINE = InnoDB);
--
-- Table structure for table `skill_line_ability_locale`
--
ALTER TABLE `sound_kit`
MODIFY `Flags` int NOT NULL DEFAULT 0 AFTER `VolumeFloat`,
ADD `SoundMixGroupID` int unsigned NOT NULL DEFAULT 0 AFTER `MaxInstances`;
--
-- Table structure for table `spell_aura_restrictions`
--
ALTER TABLE `spell_aura_restrictions`
MODIFY `DifficultyID` int NOT NULL DEFAULT 0 AFTER `ID`,
MODIFY `CasterAuraState` int NOT NULL DEFAULT 0 AFTER `DifficultyID`,
MODIFY `TargetAuraState` int NOT NULL DEFAULT 0 AFTER `CasterAuraState`,
MODIFY `ExcludeCasterAuraState` int NOT NULL DEFAULT 0 AFTER `TargetAuraState`,
MODIFY `ExcludeTargetAuraState` int NOT NULL DEFAULT 0 AFTER `ExcludeCasterAuraState`,
ADD `CasterAuraType` int NOT NULL DEFAULT 0 AFTER `ExcludeTargetAuraSpell`,
ADD `TargetAuraType` int NOT NULL DEFAULT 0 AFTER `CasterAuraType`,
ADD `ExcludeCasterAuraType` int NOT NULL DEFAULT 0 AFTER `TargetAuraType`,
ADD `ExcludeTargetAuraType` int NOT NULL DEFAULT 0 AFTER `ExcludeCasterAuraType`;
--
-- Table structure for table `spell_casting_requirements`
--
ALTER TABLE `spell_casting_requirements` MODIFY `MinReputation` int NOT NULL DEFAULT 0 AFTER `MinFactionID`;
--
-- Table structure for table `spell_cooldowns`
--
ALTER TABLE `spell_cooldowns` ADD `AuraSpellID` int NOT NULL DEFAULT 0 AFTER `StartRecoveryTime`;
--
-- Table structure for table `spell_item_enchantment`
--
ALTER TABLE `spell_item_enchantment` ADD `Duration` int NOT NULL DEFAULT 0 AFTER `HordeName`;
--
-- Table structure for table `spell_power`
--
ALTER TABLE `spell_power` ADD `OptionalCostPct` float NOT NULL DEFAULT 0 AFTER `PowerCostMaxPct`;
--
-- Table structure for table `spell_power`
--
ALTER TABLE `spell_reagents` ADD `ReagentRecraftCount1` smallint NOT NULL DEFAULT 0 AFTER `ReagentCount8`,
ADD `ReagentRecraftCount2` smallint NOT NULL DEFAULT 0 AFTER `ReagentRecraftCount1`,
ADD `ReagentRecraftCount3` smallint NOT NULL DEFAULT 0 AFTER `ReagentRecraftCount2`,
ADD `ReagentRecraftCount4` smallint NOT NULL DEFAULT 0 AFTER `ReagentRecraftCount3`,
ADD `ReagentRecraftCount5` smallint NOT NULL DEFAULT 0 AFTER `ReagentRecraftCount4`,
ADD `ReagentRecraftCount6` smallint NOT NULL DEFAULT 0 AFTER `ReagentRecraftCount5`,
ADD `ReagentRecraftCount7` smallint NOT NULL DEFAULT 0 AFTER `ReagentRecraftCount6`,
ADD `ReagentRecraftCount8` smallint NOT NULL DEFAULT 0 AFTER `ReagentRecraftCount7`,
ADD `ReagentSource1` tinyint unsigned NOT NULL DEFAULT 0 AFTER `ReagentRecraftCount8`,
ADD `ReagentSource2` tinyint unsigned NOT NULL DEFAULT 0 AFTER `ReagentSource1`,
ADD `ReagentSource3` tinyint unsigned NOT NULL DEFAULT 0 AFTER `ReagentSource2`,
ADD `ReagentSource4` tinyint unsigned NOT NULL DEFAULT 0 AFTER `ReagentSource3`,
ADD `ReagentSource5` tinyint unsigned NOT NULL DEFAULT 0 AFTER `ReagentSource4`,
ADD `ReagentSource6` tinyint unsigned NOT NULL DEFAULT 0 AFTER `ReagentSource5`,
ADD `ReagentSource7` tinyint unsigned NOT NULL DEFAULT 0 AFTER `ReagentSource6`,
ADD `ReagentSource8` tinyint unsigned NOT NULL DEFAULT 0 AFTER `ReagentSource7`;
--
-- Table structure for table `spell_x_spell_visual`
--
ALTER TABLE `spell_x_spell_visual` ADD `Flags` int NOT NULL DEFAULT 0 AFTER `Probability`;
--
-- Table structure for table `ui_map_link`
--
ALTER TABLE `ui_map_link` ADD `PlayerConditionID` int NOT NULL DEFAULT 0 AFTER `ChildUiMapID`;
@@ -0,0 +1,382 @@
--
-- Table structure for table `skill_line_x_trait_tree`
--
DROP TABLE IF EXISTS `skill_line_x_trait_tree`;
CREATE TABLE `skill_line_x_trait_tree` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`SkillLineID` int(11) NOT NULL DEFAULT '0',
`TraitTreeID` int(11) NOT NULL DEFAULT '0',
`OrderIndex` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_cond`
--
DROP TABLE IF EXISTS `trait_cond`;
CREATE TABLE `trait_cond` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`CondType` int(11) NOT NULL DEFAULT '0',
`TraitTreeID` int(11) NOT NULL DEFAULT '0',
`GrantedRanks` int(11) NOT NULL DEFAULT '0',
`QuestID` int(11) NOT NULL DEFAULT '0',
`AchievementID` int(11) NOT NULL DEFAULT '0',
`SpecSetID` int(11) NOT NULL DEFAULT '0',
`TraitNodeGroupID` int(11) NOT NULL DEFAULT '0',
`TraitNodeID` int(11) NOT NULL DEFAULT '0',
`TraitCurrencyID` int(11) NOT NULL DEFAULT '0',
`SpentAmountRequired` int(11) NOT NULL DEFAULT '0',
`Flags` int(11) NOT NULL DEFAULT '0',
`RequiredLevel` int(11) NOT NULL DEFAULT '0',
`FreeSharedStringID` int(11) NOT NULL DEFAULT '0',
`SpendMoreSharedStringID` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_cost`
--
DROP TABLE IF EXISTS `trait_cost`;
CREATE TABLE `trait_cost` (
`InternalName` text,
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`Amount` int(11) NOT NULL DEFAULT '0',
`TraitCurrencyID` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_currency`
--
DROP TABLE IF EXISTS `trait_currency`;
CREATE TABLE `trait_currency` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`Type` int(11) NOT NULL DEFAULT '0',
`CurrencyTypesID` int(11) NOT NULL DEFAULT '0',
`Flags` int(11) NOT NULL DEFAULT '0',
`Icon` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_currency_source`
--
DROP TABLE IF EXISTS `trait_currency_source`;
CREATE TABLE `trait_currency_source` (
`Requirement` text,
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitCurrencyID` int(11) NOT NULL DEFAULT '0',
`Amount` int(11) NOT NULL DEFAULT '0',
`QuestID` int(11) NOT NULL DEFAULT '0',
`AchievementID` int(11) NOT NULL DEFAULT '0',
`PlayerLevel` int(11) NOT NULL DEFAULT '0',
`TraitNodeEntryID` int(11) NOT NULL DEFAULT '0',
`OrderIndex` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_currency_source_locale`
--
DROP TABLE IF EXISTS `trait_currency_source_locale`;
CREATE TABLE `trait_currency_source_locale` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`locale` varchar(4) NOT NULL,
`Requirement_lang` text,
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`locale`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
PARTITION BY LIST COLUMNS(locale)
(PARTITION deDE VALUES IN ('deDE') ENGINE = InnoDB,
PARTITION esES VALUES IN ('esES') ENGINE = InnoDB,
PARTITION esMX VALUES IN ('esMX') ENGINE = InnoDB,
PARTITION frFR VALUES IN ('frFR') ENGINE = InnoDB,
PARTITION itIT VALUES IN ('itIT') ENGINE = InnoDB,
PARTITION koKR VALUES IN ('koKR') ENGINE = InnoDB,
PARTITION ptBR VALUES IN ('ptBR') ENGINE = InnoDB,
PARTITION ruRU VALUES IN ('ruRU') ENGINE = InnoDB,
PARTITION zhCN VALUES IN ('zhCN') ENGINE = InnoDB,
PARTITION zhTW VALUES IN ('zhTW') ENGINE = InnoDB);
--
-- Table structure for table `trait_definition`
--
DROP TABLE IF EXISTS `trait_definition`;
CREATE TABLE `trait_definition` (
`OverrideName` text,
`OverrideSubtext` text,
`OverrideDescription` text,
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`SpellID` int(11) NOT NULL DEFAULT '0',
`OverrideIcon` int(11) NOT NULL DEFAULT '0',
`OverridesSpellID` int(11) NOT NULL DEFAULT '0',
`VisibleSpellID` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_definition_locale`
--
DROP TABLE IF EXISTS `trait_definition_locale`;
CREATE TABLE `trait_definition_locale` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`locale` varchar(4) NOT NULL,
`OverrideName_lang` text,
`OverrideSubtext_lang` text,
`OverrideDescription_lang` text,
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`locale`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
PARTITION BY LIST COLUMNS(locale)
(PARTITION deDE VALUES IN ('deDE') ENGINE = InnoDB,
PARTITION esES VALUES IN ('esES') ENGINE = InnoDB,
PARTITION esMX VALUES IN ('esMX') ENGINE = InnoDB,
PARTITION frFR VALUES IN ('frFR') ENGINE = InnoDB,
PARTITION itIT VALUES IN ('itIT') ENGINE = InnoDB,
PARTITION koKR VALUES IN ('koKR') ENGINE = InnoDB,
PARTITION ptBR VALUES IN ('ptBR') ENGINE = InnoDB,
PARTITION ruRU VALUES IN ('ruRU') ENGINE = InnoDB,
PARTITION zhCN VALUES IN ('zhCN') ENGINE = InnoDB,
PARTITION zhTW VALUES IN ('zhTW') ENGINE = InnoDB);
--
-- Table structure for table `trait_definition_effect_points`
--
DROP TABLE IF EXISTS `trait_definition_effect_points`;
CREATE TABLE `trait_definition_effect_points` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitDefinitionID` int(11) NOT NULL DEFAULT '0',
`EffectIndex` int(11) NOT NULL DEFAULT '0',
`OperationType` int(11) NOT NULL DEFAULT '0',
`CurveID` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_edge`
--
DROP TABLE IF EXISTS `trait_edge`;
CREATE TABLE `trait_edge` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`VisualStyle` int(11) NOT NULL DEFAULT '0',
`LeftTraitNodeID` int(11) NOT NULL DEFAULT '0',
`RightTraitNodeID` int(11) NOT NULL DEFAULT '0',
`Type` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_node`
--
DROP TABLE IF EXISTS `trait_node`;
CREATE TABLE `trait_node` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitTreeID` int(11) NOT NULL DEFAULT '0',
`PosX` int(11) NOT NULL DEFAULT '0',
`PosY` int(11) NOT NULL DEFAULT '0',
`Type` tinyint(4) NOT NULL DEFAULT '0',
`Flags` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_node_entry`
--
DROP TABLE IF EXISTS `trait_node_entry`;
CREATE TABLE `trait_node_entry` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitDefinitionID` int(11) NOT NULL DEFAULT '0',
`MaxRanks` int(11) NOT NULL DEFAULT '0',
`NodeEntryType` tinyint(3) unsigned NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_node_entry_x_trait_cond`
--
DROP TABLE IF EXISTS `trait_node_entry_x_trait_cond`;
CREATE TABLE `trait_node_entry_x_trait_cond` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitCondID` int(11) NOT NULL DEFAULT '0',
`TraitNodeEntryID` int(10) unsigned NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_node_entry_x_trait_cost`
--
DROP TABLE IF EXISTS `trait_node_entry_x_trait_cost`;
CREATE TABLE `trait_node_entry_x_trait_cost` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitNodeEntryID` int(11) NOT NULL DEFAULT '0',
`TraitCostID` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_node_group`
--
DROP TABLE IF EXISTS `trait_node_group`;
CREATE TABLE `trait_node_group` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitTreeID` int(11) NOT NULL DEFAULT '0',
`Flags` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_node_group_x_trait_cond`
--
DROP TABLE IF EXISTS `trait_node_group_x_trait_cond`;
CREATE TABLE `trait_node_group_x_trait_cond` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitCondID` int(11) NOT NULL DEFAULT '0',
`TraitNodeGroupID` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_node_group_x_trait_cost`
--
DROP TABLE IF EXISTS `trait_node_group_x_trait_cost`;
CREATE TABLE `trait_node_group_x_trait_cost` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitNodeGroupID` int(11) NOT NULL DEFAULT '0',
`TraitCostID` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_node_group_x_trait_node`
--
DROP TABLE IF EXISTS `trait_node_group_x_trait_node`;
CREATE TABLE `trait_node_group_x_trait_node` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitNodeGroupID` int(11) NOT NULL DEFAULT '0',
`TraitNodeID` int(11) NOT NULL DEFAULT '0',
`Index` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_node_x_trait_cond`
--
DROP TABLE IF EXISTS `trait_node_x_trait_cond`;
CREATE TABLE `trait_node_x_trait_cond` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitCondID` int(11) NOT NULL DEFAULT '0',
`TraitNodeID` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_node_x_trait_cost`
--
DROP TABLE IF EXISTS `trait_node_x_trait_cost`;
CREATE TABLE `trait_node_x_trait_cost` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitNodeID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitCostID` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_node_x_trait_node_entry`
--
DROP TABLE IF EXISTS `trait_node_x_trait_node_entry`;
CREATE TABLE `trait_node_x_trait_node_entry` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitNodeID` int(11) NOT NULL DEFAULT '0',
`TraitNodeEntryID` int(11) NOT NULL DEFAULT '0',
`Index` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_tree`
--
DROP TABLE IF EXISTS `trait_tree`;
CREATE TABLE `trait_tree` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitSystemID` int(11) NOT NULL DEFAULT '0',
`Unused1000_1` int(11) NOT NULL DEFAULT '0',
`FirstTraitNodeID` int(11) NOT NULL DEFAULT '0',
`PlayerConditionID` int(11) NOT NULL DEFAULT '0',
`Flags` int(11) NOT NULL DEFAULT '0',
`Unused1000_2` float NOT NULL DEFAULT '0',
`Unused1000_3` float NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_tree_loadout`
--
DROP TABLE IF EXISTS `trait_tree_loadout`;
CREATE TABLE `trait_tree_loadout` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitTreeID` int(11) NOT NULL DEFAULT '0',
`ChrSpecializationID` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_tree_loadout_entry`
--
DROP TABLE IF EXISTS `trait_tree_loadout_entry`;
CREATE TABLE `trait_tree_loadout_entry` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitTreeLoadoutID` int(11) NOT NULL DEFAULT '0',
`SelectedTraitNodeID` int(11) NOT NULL DEFAULT '0',
`SelectedTraitNodeEntryID` int(11) NOT NULL DEFAULT '0',
`NumPoints` int(11) NOT NULL DEFAULT '0',
`OrderIndex` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_tree_x_trait_cost`
--
DROP TABLE IF EXISTS `trait_tree_x_trait_cost`;
CREATE TABLE `trait_tree_x_trait_cost` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitTreeID` int(10) unsigned NOT NULL DEFAULT '0',
`TraitCostID` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `trait_tree_x_trait_currency`
--
DROP TABLE IF EXISTS `trait_tree_x_trait_currency`;
CREATE TABLE `trait_tree_x_trait_currency` (
`ID` int(10) unsigned NOT NULL DEFAULT '0',
`Index` int(11) NOT NULL DEFAULT '0',
`TraitTreeID` int(11) NOT NULL DEFAULT '0',
`TraitCurrencyID` int(11) NOT NULL DEFAULT '0',
`VerifiedBuild` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`ID`,`VerifiedBuild`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
File diff suppressed because one or more lines are too long