aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorAqua Deus <95978183+aquadeus@users.noreply.github.com>2022-10-11 22:16:02 +0200
committerGitHub <noreply@github.com>2022-10-11 22:16:02 +0200
commit4772c4817f1b34553f1c697e2aedc0372af9aea2 (patch)
tree9f7ed43aba6c4be3460e2de5097204ea0fbccf82 /sql
parent8262d6be23811eddfd280b7d9341e2cac01a6e83 (diff)
Core/Garrisons: Implement SMSG_GARRISON_OPEN_TALENT_NPC opcode (#28256)
Co-authored-by: ModoX <moardox@gmail.com> Co-authored-by: Shauren <shauren.trinity@gmail.com>
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/hotfixes/master/2022_10_11_00_hotfixes.sql44
-rw-r--r--sql/updates/world/master/2022_10_11_04_world.sql11
2 files changed, 55 insertions, 0 deletions
diff --git a/sql/updates/hotfixes/master/2022_10_11_00_hotfixes.sql b/sql/updates/hotfixes/master/2022_10_11_00_hotfixes.sql
new file mode 100644
index 00000000000..a08dde1bc3a
--- /dev/null
+++ b/sql/updates/hotfixes/master/2022_10_11_00_hotfixes.sql
@@ -0,0 +1,44 @@
+--
+-- 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);
diff --git a/sql/updates/world/master/2022_10_11_04_world.sql b/sql/updates/world/master/2022_10_11_04_world.sql
new file mode 100644
index 00000000000..5fa0f003a8f
--- /dev/null
+++ b/sql/updates/world/master/2022_10_11_04_world.sql
@@ -0,0 +1,11 @@
+--
+-- Table structure for table `gossip_menu_option_addon`
+--
+DROP TABLE IF EXISTS `gossip_menu_option_addon`;
+CREATE TABLE `gossip_menu_option_addon` (
+ `MenuID` int unsigned NOT NULL DEFAULT '0',
+ `OptionID` int unsigned NOT NULL DEFAULT '0',
+ `GarrTalentTreeID` int DEFAULT NULL,
+ `VerifiedBuild` int NOT NULL DEFAULT '0',
+ PRIMARY KEY (`MenuID`,`OptionID`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;