aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorOvahlord <dreadkiller@gmx.de>2024-05-28 22:28:22 +0200
committerOvahlord <dreadkiller@gmx.de>2024-05-28 22:28:22 +0200
commit72ef4ccf77eb97717e1cc621a409b38311dbfb7f (patch)
tree50e174f8d8d136bb881f8769e072224f7bd0aad2 /sql
parentd081813212411183d934aed897a9fc64815bf6f0 (diff)
Core/Datastores: named unknown fields for CurrencyTypes
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/hotfixes/cata_classic/2024_05_28_00_hotfixes.sql73
1 files changed, 73 insertions, 0 deletions
diff --git a/sql/updates/hotfixes/cata_classic/2024_05_28_00_hotfixes.sql b/sql/updates/hotfixes/cata_classic/2024_05_28_00_hotfixes.sql
new file mode 100644
index 00000000000..dcfa0ec34b5
--- /dev/null
+++ b/sql/updates/hotfixes/cata_classic/2024_05_28_00_hotfixes.sql
@@ -0,0 +1,73 @@
+--
+-- Table structure for table `currency_types`
+--
+
+DROP TABLE IF EXISTS `currency_types`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!50503 SET character_set_client = utf8mb4 */;
+CREATE TABLE `currency_types` (
+ `ID` int(10) unsigned NOT NULL DEFAULT '0',
+ `Name` text,
+ `Description` text,
+ `CategoryID` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `InventoryIconFileID` int(11) NOT NULL DEFAULT '0',
+ `SpellWeight` int(10) unsigned NOT NULL DEFAULT '0',
+ `SpellCategory` tinyint(3) unsigned NOT NULL DEFAULT '0',
+ `MaxQty` int(10) unsigned NOT NULL DEFAULT '0',
+ `MaxEarnablePerWeek` int(10) unsigned NOT NULL DEFAULT '0',
+ `Quality` tinyint(4) NOT NULL DEFAULT '0',
+ `FactionID` int(11) NOT NULL DEFAULT '0',
+ `AwardConditionID` int(11) NOT NULL DEFAULT '0',
+ `MaxQtyWorldStateID` int(11) NOT NULL DEFAULT '0',
+ `Flags1` int(11) NOT NULL DEFAULT '0',
+ `Flags2` 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;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `currency_types`
+--
+
+LOCK TABLES `currency_types` WRITE;
+/*!40000 ALTER TABLE `currency_types` DISABLE KEYS */;
+/*!40000 ALTER TABLE `currency_types` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `currency_types_locale`
+--
+
+DROP TABLE IF EXISTS `currency_types_locale`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!50503 SET character_set_client = utf8mb4 */;
+CREATE TABLE `currency_types_locale` (
+ `ID` int(10) unsigned NOT NULL DEFAULT '0',
+ `locale` varchar(4) NOT NULL,
+ `Name_lang` text,
+ `Description_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) */;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `currency_types_locale`
+--
+
+LOCK TABLES `currency_types_locale` WRITE;
+/*!40000 ALTER TABLE `currency_types_locale` DISABLE KEYS */;
+/*!40000 ALTER TABLE `currency_types_locale` ENABLE KEYS */;
+UNLOCK TABLES;