aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2019-12-05 00:12:35 +0100
committerShauren <shauren.trinity@gmail.com>2019-12-05 00:12:35 +0100
commitd934824421c83598853487c5cc9e4cbb3c5d0006 (patch)
treea63415c891a43c417747edeae37ac15ecb4a2389 /sql/updates
parent65b91375e0a3b01eaacab77f973429b544c63a61 (diff)
Core/Items: Implement azerite empowered items
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/characters/master/2019_12_05_00_characters.sql15
-rw-r--r--sql/updates/hotfixes/master/2019_12_05_00_hotfixes.sql67
2 files changed, 82 insertions, 0 deletions
diff --git a/sql/updates/characters/master/2019_12_05_00_characters.sql b/sql/updates/characters/master/2019_12_05_00_characters.sql
new file mode 100644
index 00000000000..647ce02ec86
--- /dev/null
+++ b/sql/updates/characters/master/2019_12_05_00_characters.sql
@@ -0,0 +1,15 @@
+ALTER TABLE `characters` ADD `numRespecs` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `resettalents_time`;
+
+--
+-- Table structure for table `item_instance_azerite_empowered`
+--
+DROP TABLE IF EXISTS `item_instance_azerite_empowered`;
+CREATE TABLE `item_instance_azerite_empowered` (
+ `itemGuid` bigint(20) unsigned NOT NULL,
+ `azeritePowerId1` int(11) NOT NULL,
+ `azeritePowerId2` int(11) NOT NULL,
+ `azeritePowerId3` int(11) NOT NULL,
+ `azeritePowerId4` int(11) NOT NULL,
+ `azeritePowerId5` int(11) NOT NULL,
+ PRIMARY KEY (`itemGuid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
diff --git a/sql/updates/hotfixes/master/2019_12_05_00_hotfixes.sql b/sql/updates/hotfixes/master/2019_12_05_00_hotfixes.sql
new file mode 100644
index 00000000000..b7418b39c07
--- /dev/null
+++ b/sql/updates/hotfixes/master/2019_12_05_00_hotfixes.sql
@@ -0,0 +1,67 @@
+--
+-- Table structure for table `azerite_empowered_item`
+--
+DROP TABLE IF EXISTS `azerite_empowered_item`;
+CREATE TABLE `azerite_empowered_item` (
+ `ID` int(10) unsigned NOT NULL DEFAULT '0',
+ `ItemID` int(11) NOT NULL DEFAULT '0',
+ `AzeriteTierUnlockSetID` int(10) unsigned NOT NULL DEFAULT '0',
+ `AzeritePowerSetID` int(10) unsigned NOT NULL DEFAULT '0',
+ `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
+ PRIMARY KEY (`ID`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Table structure for table `azerite_power_set_member`
+--
+DROP TABLE IF EXISTS `azerite_power_set_member`;
+CREATE TABLE `azerite_power_set_member` (
+ `ID` int(10) unsigned NOT NULL DEFAULT '0',
+ `AzeritePowerSetID` int(11) NOT NULL DEFAULT '0',
+ `AzeritePowerID` int(11) NOT NULL DEFAULT '0',
+ `Class` int(11) NOT NULL DEFAULT '0',
+ `Tier` int(11) NOT NULL DEFAULT '0',
+ `OrderIndex` int(11) NOT NULL DEFAULT '0',
+ `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
+ PRIMARY KEY (`ID`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Table structure for table `azerite_tier_unlock`
+--
+DROP TABLE IF EXISTS `azerite_tier_unlock`;
+CREATE TABLE `azerite_tier_unlock` (
+ `ID` int(10) unsigned NOT NULL DEFAULT '0',
+ `ItemCreationContext` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `Tier` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `AzeriteLevel` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `AzeriteTierUnlockSetID` int(10) unsigned NOT NULL DEFAULT '0',
+ `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
+ PRIMARY KEY (`ID`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Table structure for table `azerite_tier_unlock_set`
+--
+DROP TABLE IF EXISTS `azerite_tier_unlock_set`;
+CREATE TABLE `azerite_tier_unlock_set` (
+ `ID` 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;
+
+--
+-- Table structure for table `azerite_unlock_mapping`
+--
+DROP TABLE IF EXISTS `azerite_unlock_mapping`;
+CREATE TABLE `azerite_unlock_mapping` (
+ `ID` int(10) unsigned NOT NULL DEFAULT '0',
+ `ItemLevel` int(11) NOT NULL DEFAULT '0',
+ `ItemBonusListHead` int(11) NOT NULL DEFAULT '0',
+ `ItemBonusListShoulders` int(11) NOT NULL DEFAULT '0',
+ `ItemBonusListChest` int(11) NOT NULL DEFAULT '0',
+ `AzeriteUnlockMappingSetID` int(10) unsigned NOT NULL DEFAULT '0',
+ `VerifiedBuild` smallint(6) NOT NULL DEFAULT '0',
+ PRIMARY KEY (`ID`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;