aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-10-05 23:57:25 +0200
committerShauren <shauren.trinity@gmail.com>2023-10-05 23:57:25 +0200
commite161874695c5506bfa3cbcddf944d68b11cbc124 (patch)
tree1ef7b18fbe683c0e747ecb3f51593563d118a5cd /sql/updates
parent77504240783fad4f01f8726e948b99fc91085c21 (diff)
Core/Realms: Replaced hardcoded realm category list with Cfg_Categories.db2
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/hotfixes/master/2023_10_05_26_hotfixes.sql38
1 files changed, 38 insertions, 0 deletions
diff --git a/sql/updates/hotfixes/master/2023_10_05_26_hotfixes.sql b/sql/updates/hotfixes/master/2023_10_05_26_hotfixes.sql
new file mode 100644
index 00000000000..111abc03f6b
--- /dev/null
+++ b/sql/updates/hotfixes/master/2023_10_05_26_hotfixes.sql
@@ -0,0 +1,38 @@
+--
+-- Table structure for table `cfg_categories`
+--
+DROP TABLE IF EXISTS `cfg_categories`;
+CREATE TABLE `cfg_categories` (
+ `ID` int(10) unsigned NOT NULL DEFAULT '0',
+ `Name` text,
+ `LocaleMask` smallint(5) unsigned NOT NULL DEFAULT '0',
+ `CreateCharsetMask` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `ExistingCharsetMask` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `Flags` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `Order` tinyint(4) 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 `cfg_categories_locale`
+--
+DROP TABLE IF EXISTS `cfg_categories_locale`;
+CREATE TABLE `cfg_categories_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
+/*!50500 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) */;