fix garrison and playerbots
This commit is contained in:
@@ -0,0 +1,330 @@
|
||||
--
|
||||
-- Table structure for table `character_garrison`
|
||||
--
|
||||
DROP TABLE IF EXISTS `character_garrison`;
|
||||
CREATE TABLE `character_garrison` (
|
||||
`guid` bigint unsigned NOT NULL,
|
||||
`siteLevelId` int unsigned NOT NULL DEFAULT '0',
|
||||
`followerActivationsRemainingToday` int unsigned NOT NULL DEFAULT '0',
|
||||
`type` int unsigned NOT NULL DEFAULT '0',
|
||||
`missionsStartedToday` int unsigned NOT NULL DEFAULT '0',
|
||||
`lastMissionStartDay` int unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`),
|
||||
CONSTRAINT `fk_garrison_owner` FOREIGN KEY (`guid`) REFERENCES `characters` (`guid`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_garrison_blueprints`
|
||||
--
|
||||
DROP TABLE IF EXISTS `character_garrison_blueprints`;
|
||||
CREATE TABLE `character_garrison_blueprints` (
|
||||
`guid` bigint unsigned NOT NULL,
|
||||
`buildingId` int unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`buildingId`),
|
||||
CONSTRAINT `fk_blueprints_owner` FOREIGN KEY (`guid`) REFERENCES `characters` (`guid`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_garrison_buildings`
|
||||
--
|
||||
DROP TABLE IF EXISTS `character_garrison_buildings`;
|
||||
CREATE TABLE `character_garrison_buildings` (
|
||||
`guid` bigint unsigned NOT NULL,
|
||||
`plotInstanceId` int unsigned NOT NULL DEFAULT '0',
|
||||
`buildingId` int unsigned NOT NULL DEFAULT '0',
|
||||
`timeBuilt` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`active` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`currentGarSpecId` int unsigned NOT NULL DEFAULT '0',
|
||||
`timeSpecCooldown` bigint unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`plotInstanceId`),
|
||||
CONSTRAINT `fk_buildings_owner` FOREIGN KEY (`guid`) REFERENCES `characters` (`guid`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_garrison_specializations`
|
||||
--
|
||||
DROP TABLE IF EXISTS `character_garrison_specializations`;
|
||||
CREATE TABLE `character_garrison_specializations` (
|
||||
`guid` bigint unsigned NOT NULL,
|
||||
`specId` int unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`specId`),
|
||||
CONSTRAINT `fk_spec_owner` FOREIGN KEY (`guid`) REFERENCES `characters` (`guid`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_garrison_follower_abilities`
|
||||
-- (Must be dropped before followers due to FK constraint)
|
||||
--
|
||||
DROP TABLE IF EXISTS `character_garrison_follower_abilities`;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_garrison_followers`
|
||||
--
|
||||
DROP TABLE IF EXISTS `character_garrison_followers`;
|
||||
CREATE TABLE `character_garrison_followers` (
|
||||
`dbId` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||||
`guid` bigint unsigned NOT NULL,
|
||||
`followerId` int unsigned NOT NULL DEFAULT '0',
|
||||
`quality` int unsigned NOT NULL DEFAULT '0',
|
||||
`level` int unsigned NOT NULL DEFAULT '0',
|
||||
`itemLevelWeapon` int unsigned NOT NULL DEFAULT '0',
|
||||
`itemLevelArmor` int unsigned NOT NULL DEFAULT '0',
|
||||
`xp` int unsigned NOT NULL DEFAULT '0',
|
||||
`currentBuilding` int unsigned NOT NULL DEFAULT '0',
|
||||
`currentMission` int unsigned NOT NULL DEFAULT '0',
|
||||
`status` int unsigned NOT NULL DEFAULT '0',
|
||||
`durability` int unsigned NOT NULL DEFAULT '0',
|
||||
`customName` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
PRIMARY KEY (`dbId`),
|
||||
UNIQUE KEY `idx_guid_id` (`guid`,`followerId`),
|
||||
CONSTRAINT `fk_followers_owner` FOREIGN KEY (`guid`) REFERENCES `characters` (`guid`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_garrison_follower_abilities`
|
||||
--
|
||||
CREATE TABLE `character_garrison_follower_abilities` (
|
||||
`dbId` bigint unsigned NOT NULL,
|
||||
`abilityId` int unsigned NOT NULL DEFAULT '0',
|
||||
`slot` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`dbId`,`abilityId`,`slot`),
|
||||
CONSTRAINT `fk_foll_abil_dbid` FOREIGN KEY (`dbId`) REFERENCES `character_garrison_followers` (`dbId`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_garrison_missions`
|
||||
--
|
||||
DROP TABLE IF EXISTS `character_garrison_missions`;
|
||||
CREATE TABLE `character_garrison_missions` (
|
||||
`dbId` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||||
`guid` bigint unsigned NOT NULL,
|
||||
`missionRecID` int unsigned NOT NULL DEFAULT '0',
|
||||
`offerTime` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`offerDuration` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`startTime` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`travelDuration` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`missionDuration` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`missionState` int unsigned NOT NULL DEFAULT '0',
|
||||
`successChance` int unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`dbId`),
|
||||
KEY `idx_guid` (`guid`),
|
||||
CONSTRAINT `fk_missions_owner` FOREIGN KEY (`guid`) REFERENCES `characters` (`guid`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_garrison_shipments`
|
||||
--
|
||||
DROP TABLE IF EXISTS `character_garrison_shipments`;
|
||||
CREATE TABLE `character_garrison_shipments` (
|
||||
`dbId` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||||
`guid` bigint unsigned NOT NULL,
|
||||
`shipmentId` int unsigned NOT NULL DEFAULT '0',
|
||||
`plotInstanceId` int unsigned NOT NULL DEFAULT '0',
|
||||
`creationTime` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`duration` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`assignedFollowerDbId` bigint unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`dbId`),
|
||||
KEY `idx_guid` (`guid`),
|
||||
CONSTRAINT `fk_shipments_owner` FOREIGN KEY (`guid`) REFERENCES `characters` (`guid`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_garrison_talents`
|
||||
--
|
||||
DROP TABLE IF EXISTS `character_garrison_talents`;
|
||||
CREATE TABLE `character_garrison_talents` (
|
||||
`guid` bigint unsigned NOT NULL,
|
||||
`garrTalentId` int unsigned NOT NULL DEFAULT '0',
|
||||
`rank` int unsigned NOT NULL DEFAULT '0',
|
||||
`researchStartTime` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`flags` int unsigned NOT NULL DEFAULT '0',
|
||||
`soulbindConduitId` int unsigned NOT NULL DEFAULT '0',
|
||||
`soulbindConduitRank` int unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`garrTalentId`),
|
||||
CONSTRAINT `fk_talents_owner` FOREIGN KEY (`guid`) REFERENCES `characters` (`guid`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_garrison_trophies`
|
||||
--
|
||||
DROP TABLE IF EXISTS `character_garrison_trophies`;
|
||||
CREATE TABLE `character_garrison_trophies` (
|
||||
`guid` bigint unsigned NOT NULL,
|
||||
`trophyId` int unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`trophyId`),
|
||||
CONSTRAINT `fk_trophies_owner` FOREIGN KEY (`guid`) REFERENCES `characters` (`guid`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_garrison_archived_missions`
|
||||
--
|
||||
DROP TABLE IF EXISTS `character_garrison_archived_missions`;
|
||||
CREATE TABLE `character_garrison_archived_missions` (
|
||||
`guid` bigint unsigned NOT NULL,
|
||||
`garrType` int unsigned NOT NULL DEFAULT '0',
|
||||
`missionRecID` int unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`garrType`,`missionRecID`),
|
||||
CONSTRAINT `fk_archived_owner` FOREIGN KEY (`guid`) REFERENCES `characters` (`guid`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_select_screen_equipment_cache`
|
||||
--
|
||||
DROP TABLE IF EXISTS `character_select_screen_equipment_cache`;
|
||||
CREATE TABLE `character_select_screen_equipment_cache` (
|
||||
`guid` bigint unsigned NOT NULL,
|
||||
`headEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`headVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`headSubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`headInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`headDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`headDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`headSecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`headSheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`neckEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`neckVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`neckSubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`neckInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`neckDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`neckDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`neckSecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`neckSheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`shoulderEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`shoulderVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`shoulderSubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`shoulderInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`shoulderDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`shoulderDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`shoulderSecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`shoulderSheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`bodyEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`bodyVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`bodySubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`bodyInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`bodyDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`bodyDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`bodySecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`bodySheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`chestEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`chestVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`chestSubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`chestInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`chestDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`chestDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`chestSecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`chestSheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`waistEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`waistVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`waistSubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`waistInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`waistDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`waistDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`waistSecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`waistSheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`legsEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`legsVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`legsSubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`legsInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`legsDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`legsDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`legsSecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`legsSheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`feetEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`feetVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`feetSubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`feetInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`feetDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`feetDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`feetSecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`feetSheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`wristsEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`wristsVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`wristsSubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`wristsInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`wristsDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`wristsDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`wristsSecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`wristsSheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`handsEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`handsVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`handsSubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`handsInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`handsDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`handsDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`handsSecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`handsSheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`finger1EquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`finger1VisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`finger1Subclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`finger1InvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`finger1DisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`finger1DisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`finger1SecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`finger1SheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`finger2EquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`finger2VisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`finger2Subclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`finger2InvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`finger2DisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`finger2DisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`finger2SecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`finger2SheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`trinket1EquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`trinket1VisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`trinket1Subclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`trinket1InvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`trinket1DisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`trinket1DisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`trinket1SecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`trinket1SheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`trinket2EquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`trinket2VisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`trinket2Subclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`trinket2InvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`trinket2DisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`trinket2DisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`trinket2SecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`trinket2SheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`backEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`backVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`backSubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`backInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`backDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`backDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`backSecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`backSheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`mainHandEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`mainHandVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`mainHandSubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`mainHandInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`mainHandDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`mainHandDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`mainHandSecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`mainHandSheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`offHandEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`offHandVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`offHandSubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`offHandInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`offHandDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`offHandDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`offHandSecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`offHandSheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`rangedEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`rangedVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`rangedSubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`rangedInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`rangedDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`rangedDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`rangedSecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`rangedSheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`tabardEquippedItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`tabardVisibleItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`tabardSubclass` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`tabardInvType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`tabardDisplayID` int unsigned NOT NULL DEFAULT '0',
|
||||
`tabardDisplayEnchantID` int unsigned NOT NULL DEFAULT '0',
|
||||
`tabardSecondaryItemModifiedAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`tabardSheatheCategory` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`),
|
||||
CONSTRAINT `fk_equip_cache_owner` FOREIGN KEY (`guid`) REFERENCES `characters` (`guid`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
@@ -1,24 +0,0 @@
|
||||
|
||||
build*/
|
||||
.directory
|
||||
.mailmap
|
||||
*.orig
|
||||
*.rej
|
||||
*~
|
||||
.hg/
|
||||
*.kdev*
|
||||
.DS_Store
|
||||
CMakeLists.txt.user
|
||||
*.bak
|
||||
*.patch
|
||||
*.diff
|
||||
*.REMOTE.*
|
||||
*.BACKUP.*
|
||||
*.BASE.*
|
||||
*.LOCAL.*
|
||||
nbproject/*
|
||||
.idea/*
|
||||
.browse.VC*
|
||||
.vscode
|
||||
cmake-build-*/
|
||||
.vs
|
||||
@@ -0,0 +1,67 @@
|
||||
--
|
||||
-- Table structure for table `garr_ability_category`
|
||||
--
|
||||
DROP TABLE IF EXISTS `garr_ability_category`;
|
||||
CREATE TABLE `garr_ability_category` (
|
||||
`ID` int unsigned NOT NULL DEFAULT '0',
|
||||
`Name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`VerifiedBuild` int NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`ID`,`VerifiedBuild`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `garr_ability_category_locale`
|
||||
--
|
||||
DROP TABLE IF EXISTS `garr_ability_category_locale`;
|
||||
CREATE TABLE `garr_ability_category_locale` (
|
||||
`ID` int unsigned NOT NULL DEFAULT '0',
|
||||
`locale` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`Name_lang` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`VerifiedBuild` int NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`ID`,`locale`,`VerifiedBuild`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `garr_foll_support_spell`
|
||||
--
|
||||
DROP TABLE IF EXISTS `garr_foll_support_spell`;
|
||||
CREATE TABLE `garr_foll_support_spell` (
|
||||
`ID` int unsigned NOT NULL DEFAULT '0',
|
||||
`HordeSpellID` int NOT NULL DEFAULT '0',
|
||||
`AllianceSpellID` int NOT NULL DEFAULT '0',
|
||||
`OrderIndex` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`GarrFollowerID` int unsigned 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_modified_appearance`
|
||||
--
|
||||
DROP TABLE IF EXISTS `item_modified_appearance`;
|
||||
CREATE TABLE `item_modified_appearance` (
|
||||
`ID` int unsigned NOT NULL DEFAULT '0',
|
||||
`ItemID` int unsigned NOT NULL DEFAULT '0',
|
||||
`ItemAppearanceModifierID` int unsigned NOT NULL DEFAULT '0',
|
||||
`ItemAppearanceID` int unsigned NOT NULL DEFAULT '0',
|
||||
`OrderIndex` int unsigned NOT NULL DEFAULT '0',
|
||||
`TransmogSourceTypeEnum` int 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 `item_modified_appearance_extra`
|
||||
--
|
||||
DROP TABLE IF EXISTS `item_modified_appearance_extra`;
|
||||
CREATE TABLE `item_modified_appearance_extra` (
|
||||
`ID` int unsigned NOT NULL DEFAULT '0',
|
||||
`IconFileDataID` int unsigned NOT NULL DEFAULT '0',
|
||||
`UnequippedIconFileDataID` int unsigned NOT NULL DEFAULT '0',
|
||||
`SheatheType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`DisplayWeaponSubclassID` int unsigned NOT NULL DEFAULT '0',
|
||||
`DisplayInventoryType` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`VerifiedBuild` int NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`ID`,`VerifiedBuild`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
Reference in New Issue
Block a user