aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/base/auth_database.sql29
-rw-r--r--sql/updates/auth/master/2025_03_04_00_auth.sql12
-rw-r--r--sql/updates/hotfixes/master/2025_03_04_00_hotfixes.sql52
3 files changed, 92 insertions, 1 deletions
diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql
index c5ed2317da0..f56fc0a950b 100644
--- a/sql/base/auth_database.sql
+++ b/sql/base/auth_database.sql
@@ -411,6 +411,32 @@ LOCK TABLES `battlenet_account_transmog_illusions` WRITE;
UNLOCK TABLES;
--
+-- Table structure for table `battlenet_account_warband_scenes`
+--
+
+DROP TABLE IF EXISTS `battlenet_account_warband_scenes`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!50503 SET character_set_client = utf8mb4 */;
+CREATE TABLE `battlenet_account_warband_scenes` (
+ `battlenetAccountId` int unsigned NOT NULL,
+ `warbandSceneId` int NOT NULL DEFAULT '0',
+ `isFavorite` tinyint(1) DEFAULT '0',
+ `hasFanfare` tinyint(1) DEFAULT '0',
+ PRIMARY KEY (`battlenetAccountId`,`warbandSceneId`),
+ CONSTRAINT `fk_battlenet_account_warband_scenes__accountId` FOREIGN KEY (`battlenetAccountId`) REFERENCES `battlenet_accounts` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `battlenet_account_transmog_illusions`
+--
+
+LOCK TABLES `battlenet_account_warband_scenes` WRITE;
+/*!40000 ALTER TABLE `battlenet_account_warband_scenes` DISABLE KEYS */;
+/*!40000 ALTER TABLE `battlenet_account_warband_scenes` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
-- Table structure for table `battlenet_accounts`
--
@@ -3459,7 +3485,8 @@ INSERT INTO `updates` VALUES
('2025_02_03_00_auth.sql','87033116EF72051499AF23FE14545D828F5A9B59','RELEASED','2025-02-03 22:51:31',0),
('2025_02_19_00_auth.sql','6D0EBB3E2DD1B26682A424EDDC090F515BCA5B32','RELEASED','2025-02-19 00:16:52',0),
('2025_02_21_00_auth.sql','E9EA49CEB396561D641A7C82251DCBF9DF3E9983','RELEASED','2025-02-21 00:53:17',0),
-('2025_03_02_00_auth.sql','1CEAB7B308823D5FAA51360A1B2A7CA0E89A6081','RELEASED','2025-03-02 14:50:10',0);
+('2025_03_02_00_auth.sql','1CEAB7B308823D5FAA51360A1B2A7CA0E89A6081','RELEASED','2025-03-02 14:50:10',0),
+('2025_03_04_00_auth.sql','AB20016BC7251E6DE80E2AC658F18F6076EA81AA','RELEASED','2025-03-04 20:01:43',0);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
UNLOCK TABLES;
diff --git a/sql/updates/auth/master/2025_03_04_00_auth.sql b/sql/updates/auth/master/2025_03_04_00_auth.sql
new file mode 100644
index 00000000000..28cb2180db8
--- /dev/null
+++ b/sql/updates/auth/master/2025_03_04_00_auth.sql
@@ -0,0 +1,12 @@
+--
+-- Table structure for table `battlenet_account_warband_scenes`
+--
+DROP TABLE IF EXISTS `battlenet_account_warband_scenes`;
+CREATE TABLE `battlenet_account_warband_scenes` (
+ `battlenetAccountId` int unsigned NOT NULL,
+ `warbandSceneId` int NOT NULL DEFAULT '0',
+ `isFavorite` tinyint(1) DEFAULT '0',
+ `hasFanfare` tinyint(1) DEFAULT '0',
+ PRIMARY KEY (`battlenetAccountId`,`warbandSceneId`),
+ CONSTRAINT `fk_battlenet_account_warband_scenes__accountId` FOREIGN KEY (`battlenetAccountId`) REFERENCES `battlenet_accounts` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
diff --git a/sql/updates/hotfixes/master/2025_03_04_00_hotfixes.sql b/sql/updates/hotfixes/master/2025_03_04_00_hotfixes.sql
new file mode 100644
index 00000000000..5c1157ad589
--- /dev/null
+++ b/sql/updates/hotfixes/master/2025_03_04_00_hotfixes.sql
@@ -0,0 +1,52 @@
+--
+-- Table structure for table `warband_scene`
+--
+DROP TABLE IF EXISTS `warband_scene`;
+CREATE TABLE `warband_scene` (
+ `Name` text,
+ `Description` text,
+ `Source` text,
+ `PositionX` float NOT NULL DEFAULT '0',
+ `PositionY` float NOT NULL DEFAULT '0',
+ `PositionZ` float NOT NULL DEFAULT '0',
+ `LookAtX` float NOT NULL DEFAULT '0',
+ `LookAtY` float NOT NULL DEFAULT '0',
+ `LookAtZ` float NOT NULL DEFAULT '0',
+ `ID` int unsigned NOT NULL DEFAULT '0',
+ `MapID` int unsigned NOT NULL DEFAULT '0',
+ `Fov` float NOT NULL DEFAULT '0',
+ `TimeOfDay` int NOT NULL DEFAULT '0',
+ `Flags` int NOT NULL DEFAULT '0',
+ `SoundAmbienceID` int NOT NULL DEFAULT '0',
+ `Quality` tinyint NOT NULL DEFAULT '0',
+ `TextureKit` int NOT NULL DEFAULT '0',
+ `DefaultScenePriority` int NOT NULL DEFAULT '0',
+ `SourceType` tinyint NOT NULL DEFAULT '0',
+ `VerifiedBuild` int NOT NULL DEFAULT '0',
+ PRIMARY KEY (`ID`,`VerifiedBuild`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+
+--
+-- Table structure for table `warband_scene_locale`
+--
+DROP TABLE IF EXISTS `warband_scene_locale`;
+CREATE TABLE `warband_scene_locale` (
+ `ID` int unsigned NOT NULL DEFAULT '0',
+ `locale` varchar(4) NOT NULL,
+ `Name_lang` text,
+ `Description_lang` text,
+ `Source_lang` text,
+ `VerifiedBuild` int 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) */;