This commit is contained in:
luis
2026-03-22 19:29:02 -03:00
parent a2983a2961
commit a30688baab
3 changed files with 247 additions and 0 deletions
@@ -0,0 +1,10 @@
--
-- Table structure for table `battlenet_account_transmog_outfits`
--
DROP TABLE IF EXISTS `battlenet_account_transmog_outfits`;
CREATE TABLE `battlenet_account_transmog_outfits` (
`battlenetAccountId` int unsigned NOT NULL,
`transmogOutfitId` int NOT NULL DEFAULT '0',
PRIMARY KEY (`battlenetAccountId`,`transmogOutfitId`),
CONSTRAINT `fk_battlenet_account_transmog_outfits` FOREIGN KEY (`battlenetAccountId`) REFERENCES `battlenet_accounts` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
@@ -0,0 +1,47 @@
ALTER TABLE `characters`
ADD `transmogOutfitEquippedId` int NOT NULL DEFAULT 2 AFTER `personalTabardBackgroundColor`,
ADD `transmogOutfitLocked` tinyint(1) NOT NULL DEFAULT 0 AFTER `transmogOutfitEquippedId`;
--
-- Table structure for table `character_transmog_outfit`
--
DROP TABLE IF EXISTS `character_transmog_outfit`;
CREATE TABLE `character_transmog_outfit` (
`guid` bigint NOT NULL,
`transmogOutfitId` int NOT NULL,
`name` varchar(16) COLLATE utf8mb4_unicode_ci NOT NULL,
`icon` int NOT NULL,
`situationsEnabled` tinyint(1) NOT NULL,
PRIMARY KEY (`guid`,`transmogOutfitId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `character_transmog_outfit_situation`
--
DROP TABLE IF EXISTS `character_transmog_outfit_situation`;
CREATE TABLE `character_transmog_outfit_situation` (
`guid` bigint NOT NULL,
`transmogOutfitId` int NOT NULL,
`situationID` int NOT NULL,
`specID` int NOT NULL,
`loadoutID` int NOT NULL,
`equipmentSetID` int NOT NULL,
PRIMARY KEY (`guid`,`transmogOutfitId`,`situationID`,`specID`,`loadoutID`,`equipmentSetID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
--
-- Table structure for table `character_transmog_outfit_slot`
--
DROP TABLE IF EXISTS `character_transmog_outfit_slot`;
CREATE TABLE `character_transmog_outfit_slot` (
`guid` bigint NOT NULL,
`transmogOutfitId` int NOT NULL,
`slot` tinyint NOT NULL,
`slotOption` tinyint NOT NULL,
`itemModifiedAppearanceID` int NOT NULL,
`appearanceDisplayType` tinyint NOT NULL,
`spellItemEnchantmentID` int NOT NULL,
`illusionDisplayType` tinyint NOT NULL,
`flags` int NOT NULL,
PRIMARY KEY (`guid`,`transmogOutfitId`,`slot`,`slotOption`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
@@ -0,0 +1,190 @@
--
-- Table structure for table `transmog_outfit_entry`
--
DROP TABLE IF EXISTS `transmog_outfit_entry`;
CREATE TABLE `transmog_outfit_entry` (
`Cost` bigint unsigned NOT NULL DEFAULT '0',
`Name` text,
`ID` int unsigned NOT NULL DEFAULT '0',
`OrderIndex` int NOT NULL DEFAULT '0',
`Source` tinyint unsigned NOT NULL DEFAULT '0',
`Flags` int NOT NULL DEFAULT '0',
`SetType` tinyint unsigned NOT NULL DEFAULT '0',
`OverrideCostModifier` float 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 `transmog_outfit_entry_locale`
--
DROP TABLE IF EXISTS `transmog_outfit_entry_locale`;
CREATE TABLE `transmog_outfit_entry_locale` (
`ID` int unsigned NOT NULL DEFAULT '0',
`locale` varchar(4) NOT NULL,
`Name_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 `transmog_outfit_slot_info`
--
DROP TABLE IF EXISTS `transmog_outfit_slot_info`;
CREATE TABLE `transmog_outfit_slot_info` (
`InventorySlotName` text,
`ID` int unsigned NOT NULL DEFAULT '0',
`TransmogOutfitSlotEnum` tinyint NOT NULL DEFAULT '0',
`InventorySlotEnum` int NOT NULL DEFAULT '0',
`Flags` int NOT NULL DEFAULT '0',
`Unused1200` tinyint unsigned NOT NULL DEFAULT '0',
`TransmogCollectionType` tinyint unsigned NOT NULL DEFAULT '0',
`SecondarySlotID` int NOT NULL DEFAULT '0',
`InventorySlotID` int NOT NULL DEFAULT '0',
`UnassignedAtlasID` int NOT NULL DEFAULT '0',
`UnassignedDisplayAtlasID` int NOT NULL DEFAULT '0',
`ItemCostMultiplier` float NOT NULL DEFAULT '0',
`IllusionCostMultiplier` float 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 `transmog_outfit_slot_option`
--
DROP TABLE IF EXISTS `transmog_outfit_slot_option`;
CREATE TABLE `transmog_outfit_slot_option` (
`ID` int unsigned NOT NULL DEFAULT '0',
`Name` text,
`OptionEnum` tinyint unsigned NOT NULL DEFAULT '0',
`TransmogOutfitSlotInfoID` int unsigned NOT NULL DEFAULT '0',
`Flags` int NOT NULL DEFAULT '0',
`SecondaryOptionID` int NOT NULL DEFAULT '0',
`ItemCostMultiplier` float NOT NULL DEFAULT '0',
`IllusionCostMultiplier` float 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 `transmog_outfit_slot_option_locale`
--
DROP TABLE IF EXISTS `transmog_outfit_slot_option_locale`;
CREATE TABLE `transmog_outfit_slot_option_locale` (
`ID` int unsigned NOT NULL DEFAULT '0',
`locale` varchar(4) NOT NULL,
`Name_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 `transmog_situation`
--
DROP TABLE IF EXISTS `transmog_situation`;
CREATE TABLE `transmog_situation` (
`Name` text,
`ID` int unsigned NOT NULL DEFAULT '0',
`SituationEnum` tinyint NOT NULL DEFAULT '0',
`Flags` int NOT NULL DEFAULT '0',
`TransmogSituationGroupID` int unsigned NOT NULL DEFAULT '0',
`OrderIndex` 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 `transmog_situation_locale`
--
DROP TABLE IF EXISTS `transmog_situation_locale`;
CREATE TABLE `transmog_situation_locale` (
`ID` int unsigned NOT NULL DEFAULT '0',
`locale` varchar(4) NOT NULL,
`Name_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 `transmog_situation_group`
--
DROP TABLE IF EXISTS `transmog_situation_group`;
CREATE TABLE `transmog_situation_group` (
`ID` int unsigned NOT NULL DEFAULT '0',
`TransmogSituationTriggerID` int unsigned NOT NULL DEFAULT '0',
`OrderIndex` int NOT NULL DEFAULT '0',
`Flags` 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 `transmog_situation_trigger`
--
DROP TABLE IF EXISTS `transmog_situation_trigger`;
CREATE TABLE `transmog_situation_trigger` (
`Name` text,
`Description` text,
`ID` int unsigned NOT NULL DEFAULT '0',
`TriggerEnum` tinyint unsigned NOT NULL DEFAULT '0',
`Flags` 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 `transmog_situation_trigger_locale`
--
DROP TABLE IF EXISTS `transmog_situation_trigger_locale`;
CREATE TABLE `transmog_situation_trigger_locale` (
`ID` int unsigned NOT NULL DEFAULT '0',
`locale` varchar(4) NOT NULL,
`Name_lang` text,
`Description_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);