diff options
| author | Shauren <shauren.trinity@gmail.com> | 2021-01-02 17:55:43 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-01-02 17:55:43 +0100 |
| commit | 3afed1788a81fe65ee414c590936be65d69f9314 (patch) | |
| tree | 48835f2416cb9e54301daa758adb3ef3c8b906db /sql/updates | |
| parent | a68bc20b242650fb8f8c448dc02f5287bf3b3631 (diff) | |
Core/Instances: Use level requirements from MapDifficultyXCondition.db2 instead of access_requirement db table
Diffstat (limited to 'sql/updates')
| -rw-r--r-- | sql/updates/hotfixes/master/2021_01_02_00_hotfixes.sql | 42 | ||||
| -rw-r--r-- | sql/updates/world/master/2021_01_02_00_world.sql | 1 |
2 files changed, 43 insertions, 0 deletions
diff --git a/sql/updates/hotfixes/master/2021_01_02_00_hotfixes.sql b/sql/updates/hotfixes/master/2021_01_02_00_hotfixes.sql new file mode 100644 index 00000000000..f41aaa42e3a --- /dev/null +++ b/sql/updates/hotfixes/master/2021_01_02_00_hotfixes.sql @@ -0,0 +1,42 @@ +-- +-- Table structure for table `map_difficulty_x_condition` +-- +DROP TABLE IF EXISTS `map_difficulty_x_condition`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `map_difficulty_x_condition` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `FailureDescription` text, + `PlayerConditionID` int(10) unsigned NOT NULL DEFAULT '0', + `OrderIndex` int(11) NOT NULL DEFAULT '0', + `MapDifficultyID` int(10) unsigned 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 */; + +-- +-- Table structure for table `map_difficulty_x_condition_locale` +-- +DROP TABLE IF EXISTS `map_difficulty_x_condition_locale`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `map_difficulty_x_condition_locale` ( + `ID` int(10) unsigned NOT NULL DEFAULT '0', + `locale` varchar(4) NOT NULL, + `FailureDescription_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 */; diff --git a/sql/updates/world/master/2021_01_02_00_world.sql b/sql/updates/world/master/2021_01_02_00_world.sql new file mode 100644 index 00000000000..b8e9d7b07cc --- /dev/null +++ b/sql/updates/world/master/2021_01_02_00_world.sql @@ -0,0 +1 @@ +UPDATE `access_requirement` SET `level_min`=0,`level_max`=0; |
