aboutsummaryrefslogtreecommitdiff
path: root/sql/updates/auth
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-03-04 13:52:20 +0100
committerShauren <shauren.trinity@gmail.com>2025-03-04 13:52:20 +0100
commit29e032707686b18bbcce7029e8dd2eaa6606f6d4 (patch)
treec12b9ee11cf55e9c2dce2723e801c2267f93634c /sql/updates/auth
parent75c8c477d8b1ff8ae45c0954794a0f053af88fa5 (diff)
Core/Players: Implement warband scene collection
Diffstat (limited to 'sql/updates/auth')
-rw-r--r--sql/updates/auth/master/2025_03_04_00_auth.sql12
1 files changed, 12 insertions, 0 deletions
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;