From 7bf5207054ff77efa6d7737b903ec911f4073a52 Mon Sep 17 00:00:00 2001
From: Shauren <shauren.trinity@gmail.com>
Date: Thu, 3 Jul 2025 16:50:19 +0200
Subject: SQL: Fix base auth_database

---
 sql/base/auth_database.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'sql/base/auth_database.sql')

diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql
index 5d596e3d8ca..4ad5aacdea2 100644
--- a/sql/base/auth_database.sql
+++ b/sql/base/auth_database.sql
@@ -369,10 +369,10 @@ DROP TABLE IF EXISTS `battlenet_account_player_data_element`;
 /*!50503 SET character_set_client = utf8mb4 */;
 CREATE TABLE `battlenet_account_player_data_element` (
   `battlenetAccountId` int unsigned NOT NULL,
-  `playerDataElementCharacterId` int unsigned NOT NULL,
+  `playerDataElementAccountId` int unsigned NOT NULL,
   `floatValue` float DEFAULT NULL,
   `int64Value` bigint DEFAULT NULL,
-  PRIMARY KEY (`battlenetAccountId`,`playerDataElementCharacterId`)
+  PRIMARY KEY (`battlenetAccountId`,`playerDataElementAccountId`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
 /*!40101 SET character_set_client = @saved_cs_client */;
 
-- 
cgit v1.2.3

