mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Players: Implemented PlayerDataElementAccount, PlayerDataElementCharacter, PlayerDataFlagAccount and PlayerDataFlagCharacter
This commit is contained in:
22
sql/updates/characters/master/2025_06_27_00_characters.sql
Normal file
22
sql/updates/characters/master/2025_06_27_00_characters.sql
Normal file
@@ -0,0 +1,22 @@
|
||||
--
|
||||
-- Table structure for table `character_player_data_element`
|
||||
--
|
||||
DROP TABLE IF EXISTS `character_player_data_element`;
|
||||
CREATE TABLE `character_player_data_element` (
|
||||
`characterGuid` bigint unsigned NOT NULL,
|
||||
`playerDataElementCharacterId` int unsigned NOT NULL,
|
||||
`floatValue` float DEFAULT NULL,
|
||||
`int64Value` bigint DEFAULT NULL,
|
||||
PRIMARY KEY (`characterGuid`,`playerDataElementCharacterId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `character_player_data_flag`
|
||||
--
|
||||
DROP TABLE IF EXISTS `character_player_data_flag`;
|
||||
CREATE TABLE `character_player_data_flag` (
|
||||
`characterGuid` bigint unsigned NOT NULL,
|
||||
`storageIndex` int unsigned NOT NULL,
|
||||
`mask` bigint unsigned NOT NULL,
|
||||
PRIMARY KEY (`characterGuid`,`storageIndex`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
Reference in New Issue
Block a user