mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
feat(DB): release ACDB 7.0.0 (#12811)
* feat(DB): release ACDB 7.0.0 * cleanup * we try sourcery
This commit is contained in:
@@ -15,85 +15,85 @@
|
||||
-- Dumpar struktur för tabell acore_characters.characters
|
||||
DROP TABLE IF EXISTS `characters`;
|
||||
CREATE TABLE IF NOT EXISTS `characters` (
|
||||
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||
`account` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
|
||||
`name` VARCHAR(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
|
||||
`race` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`class` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`gender` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`level` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`xp` INT unsigned NOT NULL DEFAULT 0,
|
||||
`money` INT unsigned NOT NULL DEFAULT 0,
|
||||
`skin` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`face` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`hairStyle` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`hairColor` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`facialStyle` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`bankSlots` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`restState` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`playerFlags` INT unsigned NOT NULL DEFAULT 0,
|
||||
`position_x` float NOT NULL DEFAULT 0,
|
||||
`position_y` float NOT NULL DEFAULT 0,
|
||||
`position_z` float NOT NULL DEFAULT 0,
|
||||
`map` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
|
||||
`instance_id` INT unsigned NOT NULL DEFAULT 0,
|
||||
`instance_mode_mask` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`orientation` float NOT NULL DEFAULT 0,
|
||||
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`account` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
|
||||
`name` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
|
||||
`race` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`class` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`gender` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`level` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`xp` int unsigned NOT NULL DEFAULT '0',
|
||||
`money` int unsigned NOT NULL DEFAULT '0',
|
||||
`skin` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`face` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`hairStyle` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`hairColor` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`facialStyle` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`bankSlots` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`restState` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`playerFlags` int unsigned NOT NULL DEFAULT '0',
|
||||
`position_x` float NOT NULL DEFAULT '0',
|
||||
`position_y` float NOT NULL DEFAULT '0',
|
||||
`position_z` float NOT NULL DEFAULT '0',
|
||||
`map` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
|
||||
`instance_id` int unsigned NOT NULL DEFAULT '0',
|
||||
`instance_mode_mask` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`orientation` float NOT NULL DEFAULT '0',
|
||||
`taximask` text NOT NULL,
|
||||
`online` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`cinematic` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`totaltime` INT unsigned NOT NULL DEFAULT 0,
|
||||
`leveltime` INT unsigned NOT NULL DEFAULT 0,
|
||||
`logout_time` INT unsigned NOT NULL DEFAULT 0,
|
||||
`is_logout_resting` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`rest_bonus` float NOT NULL DEFAULT 0,
|
||||
`resettalents_cost` INT unsigned NOT NULL DEFAULT 0,
|
||||
`resettalents_time` INT unsigned NOT NULL DEFAULT 0,
|
||||
`trans_x` float NOT NULL DEFAULT 0,
|
||||
`trans_y` float NOT NULL DEFAULT 0,
|
||||
`trans_z` float NOT NULL DEFAULT 0,
|
||||
`trans_o` float NOT NULL DEFAULT 0,
|
||||
`transguid` MEDIUMINT NOT NULL DEFAULT 0,
|
||||
`extra_flags` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||
`stable_slots` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`at_login` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||
`zone` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||
`death_expire_time` INT unsigned NOT NULL DEFAULT 0,
|
||||
`online` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`cinematic` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`totaltime` int unsigned NOT NULL DEFAULT '0',
|
||||
`leveltime` int unsigned NOT NULL DEFAULT '0',
|
||||
`logout_time` int unsigned NOT NULL DEFAULT '0',
|
||||
`is_logout_resting` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`rest_bonus` float NOT NULL DEFAULT '0',
|
||||
`resettalents_cost` int unsigned NOT NULL DEFAULT '0',
|
||||
`resettalents_time` int unsigned NOT NULL DEFAULT '0',
|
||||
`trans_x` float NOT NULL DEFAULT '0',
|
||||
`trans_y` float NOT NULL DEFAULT '0',
|
||||
`trans_z` float NOT NULL DEFAULT '0',
|
||||
`trans_o` float NOT NULL DEFAULT '0',
|
||||
`transguid` mediumint NOT NULL DEFAULT '0',
|
||||
`extra_flags` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`stable_slots` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`at_login` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`zone` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`death_expire_time` int unsigned NOT NULL DEFAULT '0',
|
||||
`taxi_path` text,
|
||||
`arenaPoints` INT unsigned NOT NULL DEFAULT 0,
|
||||
`totalHonorPoints` INT unsigned NOT NULL DEFAULT 0,
|
||||
`todayHonorPoints` INT unsigned NOT NULL DEFAULT 0,
|
||||
`yesterdayHonorPoints` INT unsigned NOT NULL DEFAULT 0,
|
||||
`totalKills` INT unsigned NOT NULL DEFAULT 0,
|
||||
`todayKills` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||
`yesterdayKills` SMALLINT unsigned NOT NULL DEFAULT 0,
|
||||
`chosenTitle` INT unsigned NOT NULL DEFAULT 0,
|
||||
`knownCurrencies` BIGINT unsigned NOT NULL DEFAULT 0,
|
||||
`watchedFaction` INT unsigned NOT NULL DEFAULT 0,
|
||||
`drunk` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`health` INT unsigned NOT NULL DEFAULT 0,
|
||||
`power1` INT unsigned NOT NULL DEFAULT 0,
|
||||
`power2` INT unsigned NOT NULL DEFAULT 0,
|
||||
`power3` INT unsigned NOT NULL DEFAULT 0,
|
||||
`power4` INT unsigned NOT NULL DEFAULT 0,
|
||||
`power5` INT unsigned NOT NULL DEFAULT 0,
|
||||
`power6` INT unsigned NOT NULL DEFAULT 0,
|
||||
`power7` INT unsigned NOT NULL DEFAULT 0,
|
||||
`latency` MEDIUMINT unsigned NOT NULL DEFAULT 0,
|
||||
`talentGroupsCount` TINYINT unsigned NOT NULL DEFAULT 1,
|
||||
`activeTalentGroup` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`arenaPoints` int unsigned NOT NULL DEFAULT '0',
|
||||
`totalHonorPoints` int unsigned NOT NULL DEFAULT '0',
|
||||
`todayHonorPoints` int unsigned NOT NULL DEFAULT '0',
|
||||
`yesterdayHonorPoints` int unsigned NOT NULL DEFAULT '0',
|
||||
`totalKills` int unsigned NOT NULL DEFAULT '0',
|
||||
`todayKills` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`yesterdayKills` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`chosenTitle` int unsigned NOT NULL DEFAULT '0',
|
||||
`knownCurrencies` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`watchedFaction` int unsigned NOT NULL DEFAULT '0',
|
||||
`drunk` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`health` int unsigned NOT NULL DEFAULT '0',
|
||||
`power1` int unsigned NOT NULL DEFAULT '0',
|
||||
`power2` int unsigned NOT NULL DEFAULT '0',
|
||||
`power3` int unsigned NOT NULL DEFAULT '0',
|
||||
`power4` int unsigned NOT NULL DEFAULT '0',
|
||||
`power5` int unsigned NOT NULL DEFAULT '0',
|
||||
`power6` int unsigned NOT NULL DEFAULT '0',
|
||||
`power7` int unsigned NOT NULL DEFAULT '0',
|
||||
`latency` mediumint unsigned NOT NULL DEFAULT '0',
|
||||
`talentGroupsCount` tinyint unsigned NOT NULL DEFAULT '1',
|
||||
`activeTalentGroup` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`exploredZones` longtext,
|
||||
`equipmentCache` longtext,
|
||||
`ammoId` INT unsigned NOT NULL DEFAULT 0,
|
||||
`ammoId` int unsigned NOT NULL DEFAULT '0',
|
||||
`knownTitles` longtext,
|
||||
`actionBars` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`grantableLevels` TINYINT unsigned NOT NULL DEFAULT 0,
|
||||
`order` TINYINT DEFAULT NULL,
|
||||
`actionBars` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`grantableLevels` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`order` tinyint DEFAULT NULL,
|
||||
`creation_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`deleteInfos_Account` INT unsigned DEFAULT NULL,
|
||||
`deleteInfos_Name` VARCHAR(12) DEFAULT NULL,
|
||||
`deleteDate` INT unsigned DEFAULT NULL,
|
||||
`innTriggerId` INT unsigned NOT NULL,
|
||||
`deleteInfos_Account` int unsigned DEFAULT NULL,
|
||||
`deleteInfos_Name` varchar(12) DEFAULT NULL,
|
||||
`deleteDate` int unsigned DEFAULT NULL,
|
||||
`innTriggerId` int unsigned NOT NULL,
|
||||
PRIMARY KEY (`guid`),
|
||||
KEY `idx_account` (`account`),
|
||||
KEY `idx_online` (`online`),
|
||||
|
||||
Reference in New Issue
Block a user