feat(DB): release ACDB 7.0.0 (#12811)

* feat(DB): release ACDB 7.0.0

* cleanup

* we try sourcery
This commit is contained in:
Kitzunu
2022-08-21 12:31:37 +02:00
committed by GitHub
parent 4cd3b9c203
commit 3daa8e2146
739 changed files with 197091 additions and 167873 deletions

View File

@@ -13,32 +13,31 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.account
DROP TABLE IF EXISTS `account`;
CREATE TABLE IF NOT EXISTS `account` (
`id` INT unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`username` VARCHAR(32) NOT NULL DEFAULT '',
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`username` varchar(32) NOT NULL DEFAULT '',
`salt` binary(32) NOT NULL,
`verifier` binary(32) NOT NULL,
`session_key` binary(40) DEFAULT NULL,
`totp_secret` varbinary(128) DEFAULT NULL,
`email` VARCHAR(255) NOT NULL DEFAULT '',
`reg_mail` VARCHAR(255) NOT NULL DEFAULT '',
`email` varchar(255) NOT NULL DEFAULT '',
`reg_mail` varchar(255) NOT NULL DEFAULT '',
`joindate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`last_ip` VARCHAR(15) NOT NULL DEFAULT '127.0.0.1',
`last_attempt_ip` VARCHAR(15) NOT NULL DEFAULT '127.0.0.1',
`failed_logins` INT unsigned NOT NULL DEFAULT 0,
`locked` TINYINT unsigned NOT NULL DEFAULT 0,
`lock_country` VARCHAR(2) NOT NULL DEFAULT '00',
`last_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
`last_attempt_ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
`failed_logins` int unsigned NOT NULL DEFAULT '0',
`locked` tinyint unsigned NOT NULL DEFAULT '0',
`lock_country` varchar(2) NOT NULL DEFAULT '00',
`last_login` timestamp NULL DEFAULT NULL,
`online` INT unsigned NOT NULL DEFAULT 0,
`expansion` TINYINT unsigned NOT NULL DEFAULT '2',
`mutetime` BIGINT NOT NULL DEFAULT 0,
`mutereason` VARCHAR(255) NOT NULL DEFAULT '',
`muteby` VARCHAR(50) NOT NULL DEFAULT '',
`locale` TINYINT unsigned NOT NULL DEFAULT 0,
`os` VARCHAR(3) NOT NULL DEFAULT '',
`recruiter` INT unsigned NOT NULL DEFAULT 0,
`totaltime` INT unsigned NOT NULL DEFAULT 0,
`online` int unsigned NOT NULL DEFAULT '0',
`expansion` tinyint unsigned NOT NULL DEFAULT '2',
`mutetime` bigint NOT NULL DEFAULT '0',
`mutereason` varchar(255) NOT NULL DEFAULT '',
`muteby` varchar(50) NOT NULL DEFAULT '',
`locale` tinyint unsigned NOT NULL DEFAULT '0',
`os` varchar(3) NOT NULL DEFAULT '',
`recruiter` int unsigned NOT NULL DEFAULT '0',
`totaltime` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `idx_username` (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Account System';

View File

@@ -13,12 +13,11 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.account_access
DROP TABLE IF EXISTS `account_access`;
CREATE TABLE IF NOT EXISTS `account_access` (
`id` INT unsigned NOT NULL,
`gmlevel` TINYINT unsigned NOT NULL,
`RealmID` INT NOT NULL DEFAULT '-1',
`comment` VARCHAR(255) DEFAULT '',
`id` int unsigned NOT NULL,
`gmlevel` tinyint unsigned NOT NULL,
`RealmID` int NOT NULL DEFAULT '-1',
`comment` varchar(255) DEFAULT '',
PRIMARY KEY (`id`,`RealmID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -13,14 +13,13 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.account_banned
DROP TABLE IF EXISTS `account_banned`;
CREATE TABLE IF NOT EXISTS `account_banned` (
`id` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account id',
`bandate` INT unsigned NOT NULL DEFAULT 0,
`unbandate` INT unsigned NOT NULL DEFAULT 0,
`bannedby` VARCHAR(50) NOT NULL,
`banreason` VARCHAR(255) NOT NULL,
`active` TINYINT unsigned NOT NULL DEFAULT 1,
`id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account id',
`bandate` int unsigned NOT NULL DEFAULT '0',
`unbandate` int unsigned NOT NULL DEFAULT '0',
`bannedby` varchar(50) NOT NULL,
`banreason` varchar(255) NOT NULL,
`active` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`,`bandate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Ban List';

View File

@@ -13,13 +13,12 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.account_muted
DROP TABLE IF EXISTS `account_muted`;
CREATE TABLE IF NOT EXISTS `account_muted` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`mutedate` INT unsigned NOT NULL DEFAULT 0,
`mutetime` INT unsigned NOT NULL DEFAULT 0,
`mutedby` VARCHAR(50) NOT NULL,
`mutereason` VARCHAR(255) NOT NULL,
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`mutedate` int unsigned NOT NULL DEFAULT '0',
`mutetime` int unsigned NOT NULL DEFAULT '0',
`mutedby` varchar(50) NOT NULL,
`mutereason` varchar(255) NOT NULL,
PRIMARY KEY (`guid`,`mutedate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='mute List';

View File

@@ -13,11 +13,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.autobroadcast
DROP TABLE IF EXISTS `autobroadcast`;
CREATE TABLE IF NOT EXISTS `autobroadcast` (
`realmid` INT NOT NULL DEFAULT '-1',
`id` TINYINT unsigned NOT NULL AUTO_INCREMENT,
`weight` TINYINT unsigned DEFAULT 1,
`realmid` int NOT NULL DEFAULT '-1',
`id` tinyint unsigned NOT NULL AUTO_INCREMENT,
`weight` tinyint unsigned DEFAULT '1',
`text` longtext NOT NULL,
PRIMARY KEY (`id`,`realmid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -13,18 +13,17 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.build_info
DROP TABLE IF EXISTS `build_info`;
CREATE TABLE IF NOT EXISTS `build_info` (
`build` INT NOT NULL,
`majorVersion` INT DEFAULT NULL,
`minorVersion` INT DEFAULT NULL,
`bugfixVersion` INT DEFAULT NULL,
`build` int NOT NULL,
`majorVersion` int DEFAULT NULL,
`minorVersion` int DEFAULT NULL,
`bugfixVersion` int DEFAULT NULL,
`hotfixVersion` char(3) DEFAULT NULL,
`winAuthSeed` VARCHAR(32) DEFAULT NULL,
`win64AuthSeed` VARCHAR(32) DEFAULT NULL,
`mac64AuthSeed` VARCHAR(32) DEFAULT NULL,
`winChecksumSeed` VARCHAR(40) DEFAULT NULL,
`macChecksumSeed` VARCHAR(40) DEFAULT NULL,
`winAuthSeed` varchar(32) DEFAULT NULL,
`win64AuthSeed` varchar(32) DEFAULT NULL,
`mac64AuthSeed` varchar(32) DEFAULT NULL,
`winChecksumSeed` varchar(40) DEFAULT NULL,
`macChecksumSeed` varchar(40) DEFAULT NULL,
PRIMARY KEY (`build`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -13,13 +13,12 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.ip_banned
DROP TABLE IF EXISTS `ip_banned`;
CREATE TABLE IF NOT EXISTS `ip_banned` (
`ip` VARCHAR(15) NOT NULL DEFAULT '127.0.0.1',
`bandate` INT unsigned NOT NULL,
`unbandate` INT unsigned NOT NULL,
`bannedby` VARCHAR(50) NOT NULL DEFAULT '[Console]',
`banreason` VARCHAR(255) NOT NULL DEFAULT 'no reason',
`ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
`bandate` int unsigned NOT NULL,
`unbandate` int unsigned NOT NULL,
`bannedby` varchar(50) NOT NULL DEFAULT '[Console]',
`banreason` varchar(255) NOT NULL DEFAULT 'no reason',
PRIMARY KEY (`ip`,`bandate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Banned IPs';

View File

@@ -13,12 +13,11 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.logs
DROP TABLE IF EXISTS `logs`;
CREATE TABLE IF NOT EXISTS `logs` (
`time` INT unsigned NOT NULL,
`realm` INT unsigned NOT NULL,
`type` VARCHAR(250) NOT NULL,
`level` TINYINT unsigned NOT NULL DEFAULT 0,
`time` int unsigned NOT NULL,
`realm` int unsigned NOT NULL,
`type` varchar(250) NOT NULL,
`level` tinyint unsigned NOT NULL DEFAULT '0',
`string` text
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -13,15 +13,14 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.logs_ip_actions
DROP TABLE IF EXISTS `logs_ip_actions`;
CREATE TABLE IF NOT EXISTS `logs_ip_actions` (
`id` INT unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Identifier',
`account_id` INT unsigned NOT NULL COMMENT 'Account ID',
`character_guid` INT unsigned NOT NULL COMMENT 'Character Guid',
`type` TINYINT unsigned NOT NULL,
`ip` VARCHAR(15) NOT NULL DEFAULT '127.0.0.1',
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Identifier',
`account_id` int unsigned NOT NULL COMMENT 'Account ID',
`character_guid` int unsigned NOT NULL COMMENT 'Character Guid',
`type` tinyint unsigned NOT NULL,
`ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
`systemnote` text COMMENT 'Notes inserted by system',
`unixtime` INT unsigned NOT NULL COMMENT 'Unixtime',
`unixtime` int unsigned NOT NULL COMMENT 'Unixtime',
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Timestamp',
`comment` text COMMENT 'Allows users to add a comment',
PRIMARY KEY (`id`)

View File

@@ -13,11 +13,10 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.realmcharacters
DROP TABLE IF EXISTS `realmcharacters`;
CREATE TABLE IF NOT EXISTS `realmcharacters` (
`realmid` INT unsigned NOT NULL DEFAULT 0,
`acctid` INT unsigned NOT NULL,
`numchars` TINYINT unsigned NOT NULL DEFAULT 0,
`realmid` int unsigned NOT NULL DEFAULT '0',
`acctid` int unsigned NOT NULL,
`numchars` tinyint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`realmid`,`acctid`),
KEY `acctid` (`acctid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Realm Character Tracker';

View File

@@ -13,20 +13,19 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.realmlist
DROP TABLE IF EXISTS `realmlist`;
CREATE TABLE IF NOT EXISTS `realmlist` (
`id` INT unsigned NOT NULL AUTO_INCREMENT,
`name` VARCHAR(32) NOT NULL DEFAULT '',
`address` VARCHAR(255) NOT NULL DEFAULT '127.0.0.1',
`localAddress` VARCHAR(255) NOT NULL DEFAULT '127.0.0.1',
`localSubnetMask` VARCHAR(255) NOT NULL DEFAULT '255.255.255.0',
`port` SMALLINT unsigned NOT NULL DEFAULT '8085',
`icon` TINYINT unsigned NOT NULL DEFAULT 0,
`flag` TINYINT unsigned NOT NULL DEFAULT '2',
`timezone` TINYINT unsigned NOT NULL DEFAULT 0,
`allowedSecurityLevel` TINYINT unsigned NOT NULL DEFAULT 0,
`population` float NOT NULL DEFAULT 0,
`gamebuild` INT unsigned NOT NULL DEFAULT '12340',
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(32) NOT NULL DEFAULT '',
`address` varchar(255) NOT NULL DEFAULT '127.0.0.1',
`localAddress` varchar(255) NOT NULL DEFAULT '127.0.0.1',
`localSubnetMask` varchar(255) NOT NULL DEFAULT '255.255.255.0',
`port` smallint unsigned NOT NULL DEFAULT '8085',
`icon` tinyint unsigned NOT NULL DEFAULT '0',
`flag` tinyint unsigned NOT NULL DEFAULT '2',
`timezone` tinyint unsigned NOT NULL DEFAULT '0',
`allowedSecurityLevel` tinyint unsigned NOT NULL DEFAULT '0',
`population` float NOT NULL DEFAULT '0',
`gamebuild` int unsigned NOT NULL DEFAULT '12340',
PRIMARY KEY (`id`),
UNIQUE KEY `idx_name` (`name`),
CONSTRAINT `realmlist_chk_1` CHECK ((`population` >= 0))

View File

@@ -13,10 +13,9 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.secret_digest
DROP TABLE IF EXISTS `secret_digest`;
CREATE TABLE IF NOT EXISTS `secret_digest` (
`id` INT unsigned NOT NULL,
`digest` VARCHAR(100) NOT NULL,
`id` int unsigned NOT NULL,
`digest` varchar(100) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -13,17 +13,16 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.updates
DROP TABLE IF EXISTS `updates`;
CREATE TABLE IF NOT EXISTS `updates` (
`name` VARCHAR(200) NOT NULL COMMENT 'filename with extension of the update.',
`name` varchar(200) NOT NULL COMMENT 'filename with extension of the update.',
`hash` char(40) DEFAULT '' COMMENT 'sha1 hash of the sql file.',
`state` enum('RELEASED','CUSTOM','MODULE','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.',
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.',
`speed` INT unsigned NOT NULL DEFAULT 0 COMMENT 'time the query takes to apply in ms.',
`speed` int unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.',
PRIMARY KEY (`name`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='List of all applied updates in this database.';
-- Dumpar data för tabell acore_auth.updates: 29 rows
-- Dumpar data för tabell acore_auth.updates: 31 rows
DELETE FROM `updates`;
/*!40000 ALTER TABLE `updates` DISABLE KEYS */;
INSERT INTO `updates` (`name`, `hash`, `state`, `timestamp`, `speed`) VALUES
@@ -55,7 +54,9 @@ INSERT INTO `updates` (`name`, `hash`, `state`, `timestamp`, `speed`) VALUES
('2021_10_14_00.sql', 'D4378AFC454DF8351A6DE6C6B6144F82C62980A5', 'ARCHIVED', '2021-10-14 21:59:33', 53),
('2021_10_14_01_auth.sql', 'A4495131ADD2AB4AB6682C1621683963247368F0', 'ARCHIVED', '2022-01-21 23:36:20', 20),
('2021_11_06_00.sql', 'E08D11C492289879C460BB063457DAD968545752', 'ARCHIVED', '2022-01-21 23:36:20', 39),
('2022_01_23_00.sql', '6291006CD2B38EEE02EDDD8AEB6A952477854C77', 'ARCHIVED', '2022-04-24 15:19:14', 28);
('2022_01_23_00.sql', '6291006CD2B38EEE02EDDD8AEB6A952477854C77', 'ARCHIVED', '2022-04-24 15:19:14', 28),
('2022_04_24_00.sql', 'CFB8D5B896B2A5900F5E5A2262B356E0842405BB', 'ARCHIVED', '2022-08-21 09:56:35', 34),
('2022_04_28_00.sql', '26108CBD35D4B885A90CEC25665DCBC00FD06809', 'ARCHIVED', '2022-08-21 09:56:35', 30);
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;

View File

@@ -13,9 +13,8 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.updates_include
DROP TABLE IF EXISTS `updates_include`;
CREATE TABLE IF NOT EXISTS `updates_include` (
`path` VARCHAR(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
`path` varchar(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
`state` enum('RELEASED','ARCHIVED','CUSTOM') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.',
PRIMARY KEY (`path`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='List of directories where we want to include sql updates.';

View File

@@ -13,22 +13,22 @@
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.uptime
DROP TABLE IF EXISTS `uptime`;
CREATE TABLE IF NOT EXISTS `uptime` (
`realmid` INT unsigned NOT NULL,
`starttime` INT unsigned NOT NULL DEFAULT 0,
`uptime` INT unsigned NOT NULL DEFAULT 0,
`maxplayers` SMALLINT unsigned NOT NULL DEFAULT 0,
`revision` VARCHAR(255) NOT NULL DEFAULT 'AzerothCore',
`realmid` int unsigned NOT NULL,
`starttime` int unsigned NOT NULL DEFAULT '0',
`uptime` int unsigned NOT NULL DEFAULT '0',
`maxplayers` smallint unsigned NOT NULL DEFAULT '0',
`revision` varchar(255) NOT NULL DEFAULT 'AzerothCore',
PRIMARY KEY (`realmid`,`starttime`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Uptime system';
-- Dumpar data för tabell acore_auth.uptime: ~2 rows (ungefär)
-- Dumpar data för tabell acore_auth.uptime: ~3 rows (ungefär)
DELETE FROM `uptime`;
/*!40000 ALTER TABLE `uptime` DISABLE KEYS */;
INSERT INTO `uptime` (`realmid`, `starttime`, `uptime`, `maxplayers`, `revision`) VALUES
(1, 1550400304, 121, 0, 'AzerothCore rev. 2bcedc2859e7 2019-02-17 10:04:09 +0100 (master branch) (Unix, Debug)'),
(1, 1550400454, 1440, 0, 'AzerothCore rev. 2bcedc2859e7 2019-02-17 10:04:09 +0100 (master branch) (Unix, Debug)');
(1, 1550400454, 1440, 0, 'AzerothCore rev. 2bcedc2859e7 2019-02-17 10:04:09 +0100 (master branch) (Unix, Debug)'),
(1, 1661068597, 0, 0, 'AzerothCore rev. 5d6dfca80cf1 2022-08-21 09:48:09 +0200 (new-squash-POGGIES branch) (Win64, RelWithDebInfo, Static)');
/*!40000 ALTER TABLE `uptime` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;

View File

@@ -1,46 +0,0 @@
-- --------------------------------------------------------
-- Värd: 127.0.0.1
-- Serverversion: 8.0.28 - MySQL Community Server - GPL
-- Server-OS: Win64
-- HeidiSQL Version: 11.3.0.6295
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_auth.version_db_auth
DROP TABLE IF EXISTS `version_db_auth`;
CREATE TABLE IF NOT EXISTS `version_db_auth` (
`sql_rev` VARCHAR(100) NOT NULL,
`required_rev` VARCHAR(100) DEFAULT NULL,
`date` VARCHAR(50) DEFAULT NULL,
`2021_11_06_00` bit(1) DEFAULT NULL,
PRIMARY KEY (`sql_rev`),
KEY `required` (`required_rev`),
CONSTRAINT `required` FOREIGN KEY (`required_rev`) REFERENCES `version_db_auth` (`sql_rev`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='Last applied sql update to DB';
-- Dumpar data för tabell acore_auth.version_db_auth: ~10 rows (ungefär)
DELETE FROM `version_db_auth`;
/*!40000 ALTER TABLE `version_db_auth` DISABLE KEYS */;
INSERT INTO `version_db_auth` (`sql_rev`, `required_rev`, `date`, `2021_11_06_00`) VALUES
('1554142988374631100', NULL, NULL, NULL),
('1579213352894781043', NULL, NULL, NULL),
('1609867708436603000', NULL, NULL, NULL),
('1615629613255169700', NULL, NULL, NULL),
('1620079951672711500', NULL, NULL, NULL),
('1620114805872279900', NULL, NULL, NULL),
('1620146306002634000', NULL, '2021_06_17_00', NULL),
('1621715473238990700', NULL, '2021_05_30_00', NULL),
('1634163668021762900', NULL, '2021_10_14_00', NULL),
('1635587640506554000', NULL, '2021_11_06_00', NULL);
/*!40000 ALTER TABLE `version_db_auth` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */;

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.account_data
DROP TABLE IF EXISTS `account_data`;
CREATE TABLE IF NOT EXISTS `account_data` (
`accountId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
`type` TINYINT unsigned NOT NULL DEFAULT 0,
`time` INT unsigned NOT NULL DEFAULT 0,
`accountId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
`type` tinyint unsigned NOT NULL DEFAULT '0',
`time` int unsigned NOT NULL DEFAULT '0',
`data` blob NOT NULL,
PRIMARY KEY (`accountId`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.account_instance_times
DROP TABLE IF EXISTS `account_instance_times`;
CREATE TABLE IF NOT EXISTS `account_instance_times` (
`accountId` INT unsigned NOT NULL,
`instanceId` INT unsigned NOT NULL DEFAULT 0,
`releaseTime` BIGINT unsigned NOT NULL DEFAULT 0,
`accountId` int unsigned NOT NULL,
`instanceId` int unsigned NOT NULL DEFAULT '0',
`releaseTime` bigint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`accountId`,`instanceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,15 +15,15 @@
-- Dumpar struktur för tabell acore_characters.account_tutorial
DROP TABLE IF EXISTS `account_tutorial`;
CREATE TABLE IF NOT EXISTS `account_tutorial` (
`accountId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Account Identifier',
`tut0` INT unsigned NOT NULL DEFAULT 0,
`tut1` INT unsigned NOT NULL DEFAULT 0,
`tut2` INT unsigned NOT NULL DEFAULT 0,
`tut3` INT unsigned NOT NULL DEFAULT 0,
`tut4` INT unsigned NOT NULL DEFAULT 0,
`tut5` INT unsigned NOT NULL DEFAULT 0,
`tut6` INT unsigned NOT NULL DEFAULT 0,
`tut7` INT unsigned NOT NULL DEFAULT 0,
`accountId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
`tut0` int unsigned NOT NULL DEFAULT '0',
`tut1` int unsigned NOT NULL DEFAULT '0',
`tut2` int unsigned NOT NULL DEFAULT '0',
`tut3` int unsigned NOT NULL DEFAULT '0',
`tut4` int unsigned NOT NULL DEFAULT '0',
`tut5` int unsigned NOT NULL DEFAULT '0',
`tut6` int unsigned NOT NULL DEFAULT '0',
`tut7` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`accountId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,8 +15,8 @@
-- Dumpar struktur för tabell acore_characters.addons
DROP TABLE IF EXISTS `addons`;
CREATE TABLE IF NOT EXISTS `addons` (
`name` VARCHAR(120) NOT NULL DEFAULT '',
`crc` INT unsigned NOT NULL DEFAULT 0,
`name` varchar(120) NOT NULL DEFAULT '',
`crc` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Addons';

View File

@@ -15,21 +15,21 @@
-- Dumpar struktur för tabell acore_characters.arena_team
DROP TABLE IF EXISTS `arena_team`;
CREATE TABLE IF NOT EXISTS `arena_team` (
`arenaTeamId` INT unsigned NOT NULL DEFAULT 0,
`name` VARCHAR(24) NOT NULL,
`captainGuid` INT unsigned NOT NULL DEFAULT 0,
`type` TINYINT unsigned NOT NULL DEFAULT 0,
`rating` SMALLINT unsigned NOT NULL DEFAULT 0,
`seasonGames` SMALLINT unsigned NOT NULL DEFAULT 0,
`seasonWins` SMALLINT unsigned NOT NULL DEFAULT 0,
`weekGames` SMALLINT unsigned NOT NULL DEFAULT 0,
`weekWins` SMALLINT unsigned NOT NULL DEFAULT 0,
`rank` INT unsigned NOT NULL DEFAULT 0,
`backgroundColor` INT unsigned NOT NULL DEFAULT 0,
`emblemStyle` TINYINT unsigned NOT NULL DEFAULT 0,
`emblemColor` INT unsigned NOT NULL DEFAULT 0,
`borderStyle` TINYINT unsigned NOT NULL DEFAULT 0,
`borderColor` INT unsigned NOT NULL DEFAULT 0,
`arenaTeamId` int unsigned NOT NULL DEFAULT '0',
`name` varchar(24) NOT NULL,
`captainGuid` int unsigned NOT NULL DEFAULT '0',
`type` tinyint unsigned NOT NULL DEFAULT '0',
`rating` smallint unsigned NOT NULL DEFAULT '0',
`seasonGames` smallint unsigned NOT NULL DEFAULT '0',
`seasonWins` smallint unsigned NOT NULL DEFAULT '0',
`weekGames` smallint unsigned NOT NULL DEFAULT '0',
`weekWins` smallint unsigned NOT NULL DEFAULT '0',
`rank` int unsigned NOT NULL DEFAULT '0',
`backgroundColor` int unsigned NOT NULL DEFAULT '0',
`emblemStyle` tinyint unsigned NOT NULL DEFAULT '0',
`emblemColor` int unsigned NOT NULL DEFAULT '0',
`borderStyle` tinyint unsigned NOT NULL DEFAULT '0',
`borderColor` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`arenaTeamId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,13 +15,13 @@
-- Dumpar struktur för tabell acore_characters.arena_team_member
DROP TABLE IF EXISTS `arena_team_member`;
CREATE TABLE IF NOT EXISTS `arena_team_member` (
`arenaTeamId` INT unsigned NOT NULL DEFAULT 0,
`guid` INT unsigned NOT NULL DEFAULT 0,
`weekGames` SMALLINT unsigned NOT NULL DEFAULT 0,
`weekWins` SMALLINT unsigned NOT NULL DEFAULT 0,
`seasonGames` SMALLINT unsigned NOT NULL DEFAULT 0,
`seasonWins` SMALLINT unsigned NOT NULL DEFAULT 0,
`personalRating` SMALLINT NOT NULL DEFAULT 0,
`arenaTeamId` int unsigned NOT NULL DEFAULT '0',
`guid` int unsigned NOT NULL DEFAULT '0',
`weekGames` smallint unsigned NOT NULL DEFAULT '0',
`weekWins` smallint unsigned NOT NULL DEFAULT '0',
`seasonGames` smallint unsigned NOT NULL DEFAULT '0',
`seasonWins` smallint unsigned NOT NULL DEFAULT '0',
`personalRating` smallint NOT NULL DEFAULT '0',
PRIMARY KEY (`arenaTeamId`,`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,16 +15,16 @@
-- Dumpar struktur för tabell acore_characters.auctionhouse
DROP TABLE IF EXISTS `auctionhouse`;
CREATE TABLE IF NOT EXISTS `auctionhouse` (
`id` INT unsigned NOT NULL DEFAULT 0,
`houseid` TINYINT unsigned NOT NULL DEFAULT '7',
`itemguid` INT unsigned NOT NULL DEFAULT 0,
`itemowner` INT unsigned NOT NULL DEFAULT 0,
`buyoutprice` INT unsigned NOT NULL DEFAULT 0,
`time` INT unsigned NOT NULL DEFAULT 0,
`buyguid` INT unsigned NOT NULL DEFAULT 0,
`lastbid` INT unsigned NOT NULL DEFAULT 0,
`startbid` INT unsigned NOT NULL DEFAULT 0,
`deposit` INT unsigned NOT NULL DEFAULT 0,
`id` int unsigned NOT NULL DEFAULT '0',
`houseid` tinyint unsigned NOT NULL DEFAULT '7',
`itemguid` int unsigned NOT NULL DEFAULT '0',
`itemowner` int unsigned NOT NULL DEFAULT '0',
`buyoutprice` int unsigned NOT NULL DEFAULT '0',
`time` int unsigned NOT NULL DEFAULT '0',
`buyguid` int unsigned NOT NULL DEFAULT '0',
`lastbid` int unsigned NOT NULL DEFAULT '0',
`startbid` int unsigned NOT NULL DEFAULT '0',
`deposit` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `item_guid` (`itemguid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.banned_addons
DROP TABLE IF EXISTS `banned_addons`;
CREATE TABLE IF NOT EXISTS `banned_addons` (
`Id` INT unsigned NOT NULL AUTO_INCREMENT,
`Name` VARCHAR(255) NOT NULL,
`Version` VARCHAR(255) NOT NULL DEFAULT '',
`Id` int unsigned NOT NULL AUTO_INCREMENT,
`Name` varchar(255) NOT NULL,
`Version` varchar(255) NOT NULL DEFAULT '',
`Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`Id`),
UNIQUE KEY `idx_name_ver` (`Name`,`Version`)

View File

@@ -15,8 +15,8 @@
-- Dumpar struktur för tabell acore_characters.battleground_deserters
DROP TABLE IF EXISTS `battleground_deserters`;
CREATE TABLE IF NOT EXISTS `battleground_deserters` (
`guid` INT unsigned NOT NULL COMMENT 'characters.guid',
`type` TINYINT unsigned NOT NULL COMMENT 'type of the desertion',
`guid` int unsigned NOT NULL COMMENT 'characters.guid',
`type` tinyint unsigned NOT NULL COMMENT 'type of the desertion',
`datetime` datetime NOT NULL COMMENT 'datetime of the desertion'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

View File

@@ -15,7 +15,7 @@
-- Dumpar struktur för tabell acore_characters.bugreport
DROP TABLE IF EXISTS `bugreport`;
CREATE TABLE IF NOT EXISTS `bugreport` (
`id` INT unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
`type` longtext NOT NULL,
`content` longtext NOT NULL,
PRIMARY KEY (`id`)

View File

@@ -15,15 +15,15 @@
-- Dumpar struktur för tabell acore_characters.calendar_events
DROP TABLE IF EXISTS `calendar_events`;
CREATE TABLE IF NOT EXISTS `calendar_events` (
`id` BIGINT unsigned NOT NULL DEFAULT 0,
`creator` INT unsigned NOT NULL DEFAULT 0,
`title` VARCHAR(255) NOT NULL DEFAULT '',
`description` VARCHAR(255) NOT NULL DEFAULT '',
`type` TINYINT unsigned NOT NULL DEFAULT '4',
`dungeon` INT NOT NULL DEFAULT '-1',
`eventtime` INT unsigned NOT NULL DEFAULT 0,
`flags` INT unsigned NOT NULL DEFAULT 0,
`time2` INT unsigned NOT NULL DEFAULT 0,
`id` bigint unsigned NOT NULL DEFAULT '0',
`creator` int unsigned NOT NULL DEFAULT '0',
`title` varchar(255) NOT NULL DEFAULT '',
`description` varchar(255) NOT NULL DEFAULT '',
`type` tinyint unsigned NOT NULL DEFAULT '4',
`dungeon` int NOT NULL DEFAULT '-1',
`eventtime` int unsigned NOT NULL DEFAULT '0',
`flags` int unsigned NOT NULL DEFAULT '0',
`time2` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,14 +15,14 @@
-- Dumpar struktur för tabell acore_characters.calendar_invites
DROP TABLE IF EXISTS `calendar_invites`;
CREATE TABLE IF NOT EXISTS `calendar_invites` (
`id` BIGINT unsigned NOT NULL DEFAULT 0,
`event` BIGINT unsigned NOT NULL DEFAULT 0,
`invitee` INT unsigned NOT NULL DEFAULT 0,
`sender` INT unsigned NOT NULL DEFAULT 0,
`status` TINYINT unsigned NOT NULL DEFAULT 0,
`statustime` INT unsigned NOT NULL DEFAULT 0,
`rank` TINYINT unsigned NOT NULL DEFAULT 0,
`text` VARCHAR(255) NOT NULL DEFAULT '',
`id` bigint unsigned NOT NULL DEFAULT '0',
`event` bigint unsigned NOT NULL DEFAULT '0',
`invitee` int unsigned NOT NULL DEFAULT '0',
`sender` int unsigned NOT NULL DEFAULT '0',
`status` tinyint unsigned NOT NULL DEFAULT '0',
`statustime` int unsigned NOT NULL DEFAULT '0',
`rank` tinyint unsigned NOT NULL DEFAULT '0',
`text` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,13 +15,13 @@
-- Dumpar struktur för tabell acore_characters.channels
DROP TABLE IF EXISTS `channels`;
CREATE TABLE IF NOT EXISTS `channels` (
`channelId` INT unsigned NOT NULL AUTO_INCREMENT,
`name` VARCHAR(128) NOT NULL,
`team` INT unsigned NOT NULL,
`announce` TINYINT unsigned NOT NULL DEFAULT 1,
`ownership` TINYINT unsigned NOT NULL DEFAULT 1,
`password` VARCHAR(32) DEFAULT NULL,
`lastUsed` INT unsigned NOT NULL,
`channelId` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(128) NOT NULL,
`team` int unsigned NOT NULL,
`announce` tinyint unsigned NOT NULL DEFAULT '1',
`ownership` tinyint unsigned NOT NULL DEFAULT '1',
`password` varchar(32) DEFAULT NULL,
`lastUsed` int unsigned NOT NULL,
PRIMARY KEY (`channelId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Channel System';

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.channels_bans
DROP TABLE IF EXISTS `channels_bans`;
CREATE TABLE IF NOT EXISTS `channels_bans` (
`channelId` INT unsigned NOT NULL,
`playerGUID` INT unsigned NOT NULL,
`banTime` INT unsigned NOT NULL,
`channelId` int unsigned NOT NULL,
`playerGUID` int unsigned NOT NULL,
`banTime` int unsigned NOT NULL,
PRIMARY KEY (`channelId`,`playerGUID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,11 +15,11 @@
-- Dumpar struktur för tabell acore_characters.channels_rights
DROP TABLE IF EXISTS `channels_rights`;
CREATE TABLE IF NOT EXISTS `channels_rights` (
`name` VARCHAR(128) NOT NULL,
`flags` INT unsigned NOT NULL,
`speakdelay` INT unsigned NOT NULL,
`joinmessage` VARCHAR(255) NOT NULL DEFAULT '',
`delaymessage` VARCHAR(255) NOT NULL DEFAULT '',
`name` varchar(128) NOT NULL,
`flags` int unsigned NOT NULL,
`speakdelay` int unsigned NOT NULL,
`joinmessage` varchar(255) NOT NULL DEFAULT '',
`delaymessage` varchar(255) NOT NULL DEFAULT '',
`moderators` text,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.character_account_data
DROP TABLE IF EXISTS `character_account_data`;
CREATE TABLE IF NOT EXISTS `character_account_data` (
`guid` INT unsigned NOT NULL DEFAULT 0,
`type` TINYINT unsigned NOT NULL DEFAULT 0,
`time` INT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL DEFAULT '0',
`type` tinyint unsigned NOT NULL DEFAULT '0',
`time` int unsigned NOT NULL DEFAULT '0',
`data` blob NOT NULL,
PRIMARY KEY (`guid`,`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.character_achievement
DROP TABLE IF EXISTS `character_achievement`;
CREATE TABLE IF NOT EXISTS `character_achievement` (
`guid` INT unsigned NOT NULL,
`achievement` SMALLINT unsigned NOT NULL,
`date` INT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL,
`achievement` smallint unsigned NOT NULL,
`date` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`achievement`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,10 +15,10 @@
-- Dumpar struktur för tabell acore_characters.character_achievement_progress
DROP TABLE IF EXISTS `character_achievement_progress`;
CREATE TABLE IF NOT EXISTS `character_achievement_progress` (
`guid` INT unsigned NOT NULL,
`criteria` SMALLINT unsigned NOT NULL,
`counter` INT unsigned NOT NULL,
`date` INT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL,
`criteria` smallint unsigned NOT NULL,
`counter` int unsigned NOT NULL,
`date` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`criteria`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,11 +15,11 @@
-- Dumpar struktur för tabell acore_characters.character_action
DROP TABLE IF EXISTS `character_action`;
CREATE TABLE IF NOT EXISTS `character_action` (
`guid` INT unsigned NOT NULL DEFAULT 0,
`spec` TINYINT unsigned NOT NULL DEFAULT 0,
`button` TINYINT unsigned NOT NULL DEFAULT 0,
`action` INT unsigned NOT NULL DEFAULT 0,
`type` TINYINT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL DEFAULT '0',
`spec` tinyint unsigned NOT NULL DEFAULT '0',
`button` tinyint unsigned NOT NULL DEFAULT '0',
`action` int unsigned NOT NULL DEFAULT '0',
`type` tinyint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`spec`,`button`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,10 +15,10 @@
-- Dumpar struktur för tabell acore_characters.character_arena_stats
DROP TABLE IF EXISTS `character_arena_stats`;
CREATE TABLE IF NOT EXISTS `character_arena_stats` (
`guid` INT unsigned NOT NULL DEFAULT 0,
`slot` TINYINT unsigned NOT NULL DEFAULT 0,
`matchMakerRating` SMALLINT unsigned NOT NULL DEFAULT 0,
`maxMMR` SMALLINT NOT NULL,
`guid` int unsigned NOT NULL DEFAULT '0',
`slot` tinyint unsigned NOT NULL DEFAULT '0',
`matchMakerRating` smallint unsigned NOT NULL DEFAULT '0',
`maxMMR` smallint NOT NULL,
PRIMARY KEY (`guid`,`slot`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,22 +15,22 @@
-- Dumpar struktur för tabell acore_characters.character_aura
DROP TABLE IF EXISTS `character_aura`;
CREATE TABLE IF NOT EXISTS `character_aura` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`casterGuid` BIGINT unsigned NOT NULL DEFAULT 0 COMMENT 'Full Global Unique Identifier',
`itemGuid` BIGINT unsigned NOT NULL DEFAULT 0,
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`effectMask` TINYINT unsigned NOT NULL DEFAULT 0,
`recalculateMask` TINYINT unsigned NOT NULL DEFAULT 0,
`stackCount` TINYINT unsigned NOT NULL DEFAULT 1,
`amount0` INT NOT NULL DEFAULT 0,
`amount1` INT NOT NULL DEFAULT 0,
`amount2` INT NOT NULL DEFAULT 0,
`base_amount0` INT NOT NULL DEFAULT 0,
`base_amount1` INT NOT NULL DEFAULT 0,
`base_amount2` INT NOT NULL DEFAULT 0,
`maxDuration` INT NOT NULL DEFAULT 0,
`remainTime` INT NOT NULL DEFAULT 0,
`remainCharges` TINYINT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`casterGuid` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier',
`itemGuid` bigint unsigned NOT NULL DEFAULT '0',
`spell` mediumint unsigned NOT NULL DEFAULT '0',
`effectMask` tinyint unsigned NOT NULL DEFAULT '0',
`recalculateMask` tinyint unsigned NOT NULL DEFAULT '0',
`stackCount` tinyint unsigned NOT NULL DEFAULT '1',
`amount0` int NOT NULL DEFAULT '0',
`amount1` int NOT NULL DEFAULT '0',
`amount2` int NOT NULL DEFAULT '0',
`base_amount0` int NOT NULL DEFAULT '0',
`base_amount1` int NOT NULL DEFAULT '0',
`base_amount2` int NOT NULL DEFAULT '0',
`maxDuration` int NOT NULL DEFAULT '0',
`remainTime` int NOT NULL DEFAULT '0',
`remainCharges` tinyint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`casterGuid`,`itemGuid`,`spell`,`effectMask`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,12 +15,12 @@
-- Dumpar struktur för tabell acore_characters.character_banned
DROP TABLE IF EXISTS `character_banned`;
CREATE TABLE IF NOT EXISTS `character_banned` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`bandate` INT unsigned NOT NULL DEFAULT 0,
`unbandate` INT unsigned NOT NULL DEFAULT 0,
`bannedby` VARCHAR(50) NOT NULL,
`banreason` VARCHAR(255) NOT NULL,
`active` TINYINT unsigned NOT NULL DEFAULT 1,
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`bandate` int unsigned NOT NULL DEFAULT '0',
`unbandate` int unsigned NOT NULL DEFAULT '0',
`bannedby` varchar(50) NOT NULL,
`banreason` varchar(255) NOT NULL,
`active` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`guid`,`bandate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Ban List';

View File

@@ -15,7 +15,7 @@
-- Dumpar struktur för tabell acore_characters.character_battleground_random
DROP TABLE IF EXISTS `character_battleground_random`;
CREATE TABLE IF NOT EXISTS `character_battleground_random` (
`guid` INT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,8 +15,8 @@
-- Dumpar struktur för tabell acore_characters.character_brew_of_the_month
DROP TABLE IF EXISTS `character_brew_of_the_month`;
CREATE TABLE IF NOT EXISTS `character_brew_of_the_month` (
`guid` INT unsigned NOT NULL,
`lastEventId` INT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL,
`lastEventId` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,12 +15,12 @@
-- Dumpar struktur för tabell acore_characters.character_declinedname
DROP TABLE IF EXISTS `character_declinedname`;
CREATE TABLE IF NOT EXISTS `character_declinedname` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`genitive` VARCHAR(15) NOT NULL DEFAULT '',
`dative` VARCHAR(15) NOT NULL DEFAULT '',
`accusative` VARCHAR(15) NOT NULL DEFAULT '',
`instrumental` VARCHAR(15) NOT NULL DEFAULT '',
`prepositional` VARCHAR(15) NOT NULL DEFAULT '',
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`genitive` varchar(15) NOT NULL DEFAULT '',
`dative` varchar(15) NOT NULL DEFAULT '',
`accusative` varchar(15) NOT NULL DEFAULT '',
`instrumental` varchar(15) NOT NULL DEFAULT '',
`prepositional` varchar(15) NOT NULL DEFAULT '',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,14 +15,15 @@
-- Dumpar struktur för tabell acore_characters.character_entry_point
DROP TABLE IF EXISTS `character_entry_point`;
CREATE TABLE IF NOT EXISTS `character_entry_point` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`joinX` float NOT NULL DEFAULT 0,
`joinY` float NOT NULL DEFAULT 0,
`joinZ` float NOT NULL DEFAULT 0,
`joinO` float NOT NULL DEFAULT 0,
`joinMapId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
`taxiPath` text,
`mountSpell` INT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`joinX` float NOT NULL DEFAULT '0',
`joinY` float NOT NULL DEFAULT '0',
`joinZ` float NOT NULL DEFAULT '0',
`joinO` float NOT NULL DEFAULT '0',
`joinMapId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
`taxiPath0` int unsigned NOT NULL DEFAULT '0',
`taxiPath1` int unsigned NOT NULL DEFAULT '0',
`mountSpell` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,31 +15,31 @@
-- Dumpar struktur för tabell acore_characters.character_equipmentsets
DROP TABLE IF EXISTS `character_equipmentsets`;
CREATE TABLE IF NOT EXISTS `character_equipmentsets` (
`guid` INT NOT NULL DEFAULT 0,
`setguid` BIGINT NOT NULL AUTO_INCREMENT,
`setindex` TINYINT unsigned NOT NULL DEFAULT 0,
`name` VARCHAR(31) NOT NULL,
`iconname` VARCHAR(100) NOT NULL,
`ignore_mask` INT unsigned NOT NULL DEFAULT 0,
`item0` INT unsigned NOT NULL DEFAULT 0,
`item1` INT unsigned NOT NULL DEFAULT 0,
`item2` INT unsigned NOT NULL DEFAULT 0,
`item3` INT unsigned NOT NULL DEFAULT 0,
`item4` INT unsigned NOT NULL DEFAULT 0,
`item5` INT unsigned NOT NULL DEFAULT 0,
`item6` INT unsigned NOT NULL DEFAULT 0,
`item7` INT unsigned NOT NULL DEFAULT 0,
`item8` INT unsigned NOT NULL DEFAULT 0,
`item9` INT unsigned NOT NULL DEFAULT 0,
`item10` INT unsigned NOT NULL DEFAULT 0,
`item11` INT unsigned NOT NULL DEFAULT 0,
`item12` INT unsigned NOT NULL DEFAULT 0,
`item13` INT unsigned NOT NULL DEFAULT 0,
`item14` INT unsigned NOT NULL DEFAULT 0,
`item15` INT unsigned NOT NULL DEFAULT 0,
`item16` INT unsigned NOT NULL DEFAULT 0,
`item17` INT unsigned NOT NULL DEFAULT 0,
`item18` INT unsigned NOT NULL DEFAULT 0,
`guid` int NOT NULL DEFAULT '0',
`setguid` bigint NOT NULL AUTO_INCREMENT,
`setindex` tinyint unsigned NOT NULL DEFAULT '0',
`name` varchar(31) NOT NULL,
`iconname` varchar(100) NOT NULL,
`ignore_mask` int unsigned NOT NULL DEFAULT '0',
`item0` int unsigned NOT NULL DEFAULT '0',
`item1` int unsigned NOT NULL DEFAULT '0',
`item2` int unsigned NOT NULL DEFAULT '0',
`item3` int unsigned NOT NULL DEFAULT '0',
`item4` int unsigned NOT NULL DEFAULT '0',
`item5` int unsigned NOT NULL DEFAULT '0',
`item6` int unsigned NOT NULL DEFAULT '0',
`item7` int unsigned NOT NULL DEFAULT '0',
`item8` int unsigned NOT NULL DEFAULT '0',
`item9` int unsigned NOT NULL DEFAULT '0',
`item10` int unsigned NOT NULL DEFAULT '0',
`item11` int unsigned NOT NULL DEFAULT '0',
`item12` int unsigned NOT NULL DEFAULT '0',
`item13` int unsigned NOT NULL DEFAULT '0',
`item14` int unsigned NOT NULL DEFAULT '0',
`item15` int unsigned NOT NULL DEFAULT '0',
`item16` int unsigned NOT NULL DEFAULT '0',
`item17` int unsigned NOT NULL DEFAULT '0',
`item18` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`setguid`),
UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`),
KEY `Idx_setindex` (`setindex`)

View File

@@ -15,10 +15,10 @@
-- Dumpar struktur för tabell acore_characters.character_gifts
DROP TABLE IF EXISTS `character_gifts`;
CREATE TABLE IF NOT EXISTS `character_gifts` (
`guid` INT unsigned NOT NULL DEFAULT 0,
`item_guid` INT unsigned NOT NULL DEFAULT 0,
`entry` INT unsigned NOT NULL DEFAULT 0,
`flags` INT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL DEFAULT '0',
`item_guid` int unsigned NOT NULL DEFAULT '0',
`entry` int unsigned NOT NULL DEFAULT '0',
`flags` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`item_guid`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,14 +15,14 @@
-- Dumpar struktur för tabell acore_characters.character_glyphs
DROP TABLE IF EXISTS `character_glyphs`;
CREATE TABLE IF NOT EXISTS `character_glyphs` (
`guid` INT unsigned NOT NULL,
`talentGroup` TINYINT unsigned NOT NULL DEFAULT 0,
`glyph1` SMALLINT unsigned DEFAULT 0,
`glyph2` SMALLINT unsigned DEFAULT 0,
`glyph3` SMALLINT unsigned DEFAULT 0,
`glyph4` SMALLINT unsigned DEFAULT 0,
`glyph5` SMALLINT unsigned DEFAULT 0,
`glyph6` SMALLINT unsigned DEFAULT 0,
`guid` int unsigned NOT NULL,
`talentGroup` tinyint unsigned NOT NULL DEFAULT '0',
`glyph1` smallint unsigned DEFAULT '0',
`glyph2` smallint unsigned DEFAULT '0',
`glyph3` smallint unsigned DEFAULT '0',
`glyph4` smallint unsigned DEFAULT '0',
`glyph5` smallint unsigned DEFAULT '0',
`glyph6` smallint unsigned DEFAULT '0',
PRIMARY KEY (`guid`,`talentGroup`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,12 +15,12 @@
-- Dumpar struktur för tabell acore_characters.character_homebind
DROP TABLE IF EXISTS `character_homebind`;
CREATE TABLE IF NOT EXISTS `character_homebind` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
`zoneId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Zone Identifier',
`posX` float NOT NULL DEFAULT 0,
`posY` float NOT NULL DEFAULT 0,
`posZ` float NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`mapId` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
`zoneId` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Zone Identifier',
`posX` float NOT NULL DEFAULT '0',
`posY` float NOT NULL DEFAULT '0',
`posZ` float NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,10 +15,10 @@
-- Dumpar struktur för tabell acore_characters.character_instance
DROP TABLE IF EXISTS `character_instance`;
CREATE TABLE IF NOT EXISTS `character_instance` (
`guid` INT unsigned NOT NULL DEFAULT 0,
`instance` INT unsigned NOT NULL DEFAULT 0,
`permanent` TINYINT unsigned NOT NULL DEFAULT 0,
`extended` TINYINT unsigned NOT NULL,
`guid` int unsigned NOT NULL DEFAULT '0',
`instance` int unsigned NOT NULL DEFAULT '0',
`permanent` tinyint unsigned NOT NULL DEFAULT '0',
`extended` tinyint unsigned NOT NULL,
PRIMARY KEY (`guid`,`instance`),
KEY `instance` (`instance`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,10 +15,10 @@
-- Dumpar struktur för tabell acore_characters.character_inventory
DROP TABLE IF EXISTS `character_inventory`;
CREATE TABLE IF NOT EXISTS `character_inventory` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`bag` INT unsigned NOT NULL DEFAULT 0,
`slot` TINYINT unsigned NOT NULL DEFAULT 0,
`item` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Item Global Unique Identifier',
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`bag` int unsigned NOT NULL DEFAULT '0',
`slot` tinyint unsigned NOT NULL DEFAULT '0',
`item` int unsigned NOT NULL DEFAULT '0' COMMENT 'Item Global Unique Identifier',
PRIMARY KEY (`item`),
UNIQUE KEY `guid` (`guid`,`bag`,`slot`),
KEY `idx_guid` (`guid`)

View File

@@ -15,22 +15,22 @@
-- Dumpar struktur för tabell acore_characters.character_pet
DROP TABLE IF EXISTS `character_pet`;
CREATE TABLE IF NOT EXISTS `character_pet` (
`id` INT unsigned NOT NULL DEFAULT 0,
`entry` INT unsigned NOT NULL DEFAULT 0,
`owner` INT unsigned NOT NULL DEFAULT 0,
`modelid` INT unsigned DEFAULT 0,
`CreatedBySpell` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`PetType` TINYINT unsigned NOT NULL DEFAULT 0,
`level` SMALLINT unsigned NOT NULL DEFAULT 1,
`exp` INT unsigned NOT NULL DEFAULT 0,
`Reactstate` TINYINT unsigned NOT NULL DEFAULT 0,
`name` VARCHAR(21) NOT NULL DEFAULT 'Pet',
`renamed` TINYINT unsigned NOT NULL DEFAULT 0,
`slot` TINYINT unsigned NOT NULL DEFAULT 0,
`curhealth` INT unsigned NOT NULL DEFAULT 1,
`curmana` INT unsigned NOT NULL DEFAULT 0,
`curhappiness` INT unsigned NOT NULL DEFAULT 0,
`savetime` INT unsigned NOT NULL DEFAULT 0,
`id` int unsigned NOT NULL DEFAULT '0',
`entry` int unsigned NOT NULL DEFAULT '0',
`owner` int unsigned NOT NULL DEFAULT '0',
`modelid` int unsigned DEFAULT '0',
`CreatedBySpell` mediumint unsigned NOT NULL DEFAULT '0',
`PetType` tinyint unsigned NOT NULL DEFAULT '0',
`level` smallint unsigned NOT NULL DEFAULT '1',
`exp` int unsigned NOT NULL DEFAULT '0',
`Reactstate` tinyint unsigned NOT NULL DEFAULT '0',
`name` varchar(21) NOT NULL DEFAULT 'Pet',
`renamed` tinyint unsigned NOT NULL DEFAULT '0',
`slot` tinyint unsigned NOT NULL DEFAULT '0',
`curhealth` int unsigned NOT NULL DEFAULT '1',
`curmana` int unsigned NOT NULL DEFAULT '0',
`curhappiness` int unsigned NOT NULL DEFAULT '0',
`savetime` int unsigned NOT NULL DEFAULT '0',
`abdata` text,
PRIMARY KEY (`id`),
KEY `owner` (`owner`),

View File

@@ -15,13 +15,13 @@
-- Dumpar struktur för tabell acore_characters.character_pet_declinedname
DROP TABLE IF EXISTS `character_pet_declinedname`;
CREATE TABLE IF NOT EXISTS `character_pet_declinedname` (
`id` INT unsigned NOT NULL DEFAULT 0,
`owner` INT unsigned NOT NULL DEFAULT 0,
`genitive` VARCHAR(12) NOT NULL DEFAULT '',
`dative` VARCHAR(12) NOT NULL DEFAULT '',
`accusative` VARCHAR(12) NOT NULL DEFAULT '',
`instrumental` VARCHAR(12) NOT NULL DEFAULT '',
`prepositional` VARCHAR(12) NOT NULL DEFAULT '',
`id` int unsigned NOT NULL DEFAULT '0',
`owner` int unsigned NOT NULL DEFAULT '0',
`genitive` varchar(12) NOT NULL DEFAULT '',
`dative` varchar(12) NOT NULL DEFAULT '',
`accusative` varchar(12) NOT NULL DEFAULT '',
`instrumental` varchar(12) NOT NULL DEFAULT '',
`prepositional` varchar(12) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `owner_key` (`owner`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,22 +15,22 @@
-- Dumpar struktur för tabell acore_characters.character_queststatus
DROP TABLE IF EXISTS `character_queststatus`;
CREATE TABLE IF NOT EXISTS `character_queststatus` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
`status` TINYINT unsigned NOT NULL DEFAULT 0,
`explored` TINYINT unsigned NOT NULL DEFAULT 0,
`timer` INT unsigned NOT NULL DEFAULT 0,
`mobcount1` SMALLINT unsigned NOT NULL DEFAULT 0,
`mobcount2` SMALLINT unsigned NOT NULL DEFAULT 0,
`mobcount3` SMALLINT unsigned NOT NULL DEFAULT 0,
`mobcount4` SMALLINT unsigned NOT NULL DEFAULT 0,
`itemcount1` SMALLINT unsigned NOT NULL DEFAULT 0,
`itemcount2` SMALLINT unsigned NOT NULL DEFAULT 0,
`itemcount3` SMALLINT unsigned NOT NULL DEFAULT 0,
`itemcount4` SMALLINT unsigned NOT NULL DEFAULT 0,
`itemcount5` SMALLINT unsigned NOT NULL DEFAULT 0,
`itemcount6` SMALLINT unsigned NOT NULL DEFAULT 0,
`playercount` SMALLINT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
`status` tinyint unsigned NOT NULL DEFAULT '0',
`explored` tinyint unsigned NOT NULL DEFAULT '0',
`timer` int unsigned NOT NULL DEFAULT '0',
`mobcount1` smallint unsigned NOT NULL DEFAULT '0',
`mobcount2` smallint unsigned NOT NULL DEFAULT '0',
`mobcount3` smallint unsigned NOT NULL DEFAULT '0',
`mobcount4` smallint unsigned NOT NULL DEFAULT '0',
`itemcount1` smallint unsigned NOT NULL DEFAULT '0',
`itemcount2` smallint unsigned NOT NULL DEFAULT '0',
`itemcount3` smallint unsigned NOT NULL DEFAULT '0',
`itemcount4` smallint unsigned NOT NULL DEFAULT '0',
`itemcount5` smallint unsigned NOT NULL DEFAULT '0',
`itemcount6` smallint unsigned NOT NULL DEFAULT '0',
`playercount` smallint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`quest`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.character_queststatus_daily
DROP TABLE IF EXISTS `character_queststatus_daily`;
CREATE TABLE IF NOT EXISTS `character_queststatus_daily` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
`time` INT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
`time` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`quest`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,8 +15,8 @@
-- Dumpar struktur för tabell acore_characters.character_queststatus_monthly
DROP TABLE IF EXISTS `character_queststatus_monthly`;
CREATE TABLE IF NOT EXISTS `character_queststatus_monthly` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
PRIMARY KEY (`guid`,`quest`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.character_queststatus_rewarded
DROP TABLE IF EXISTS `character_queststatus_rewarded`;
CREATE TABLE IF NOT EXISTS `character_queststatus_rewarded` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
`active` TINYINT unsigned NOT NULL DEFAULT 1,
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
`active` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`guid`,`quest`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.character_queststatus_seasonal
DROP TABLE IF EXISTS `character_queststatus_seasonal`;
CREATE TABLE IF NOT EXISTS `character_queststatus_seasonal` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
`event` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Event Identifier',
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
`event` int unsigned NOT NULL DEFAULT '0' COMMENT 'Event Identifier',
PRIMARY KEY (`guid`,`quest`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,8 +15,8 @@
-- Dumpar struktur för tabell acore_characters.character_queststatus_weekly
DROP TABLE IF EXISTS `character_queststatus_weekly`;
CREATE TABLE IF NOT EXISTS `character_queststatus_weekly` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`quest` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier',
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`quest` int unsigned NOT NULL DEFAULT '0' COMMENT 'Quest Identifier',
PRIMARY KEY (`guid`,`quest`),
KEY `idx_guid` (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,10 +15,10 @@
-- Dumpar struktur för tabell acore_characters.character_reputation
DROP TABLE IF EXISTS `character_reputation`;
CREATE TABLE IF NOT EXISTS `character_reputation` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`faction` SMALLINT unsigned NOT NULL DEFAULT 0,
`standing` INT NOT NULL DEFAULT 0,
`flags` SMALLINT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`faction` smallint unsigned NOT NULL DEFAULT '0',
`standing` int NOT NULL DEFAULT '0',
`flags` smallint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`faction`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,8 +15,8 @@
-- Dumpar struktur för tabell acore_characters.character_settings
DROP TABLE IF EXISTS `character_settings`;
CREATE TABLE IF NOT EXISTS `character_settings` (
`guid` INT unsigned NOT NULL,
`source` VARCHAR(40) NOT NULL,
`guid` int unsigned NOT NULL,
`source` varchar(40) NOT NULL,
`data` text,
PRIMARY KEY (`guid`,`source`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COMMENT='Player Settings';

View File

@@ -15,10 +15,10 @@
-- Dumpar struktur för tabell acore_characters.character_skills
DROP TABLE IF EXISTS `character_skills`;
CREATE TABLE IF NOT EXISTS `character_skills` (
`guid` INT unsigned NOT NULL COMMENT 'Global Unique Identifier',
`skill` SMALLINT unsigned NOT NULL,
`value` SMALLINT unsigned NOT NULL,
`max` SMALLINT unsigned NOT NULL,
`guid` int unsigned NOT NULL COMMENT 'Global Unique Identifier',
`skill` smallint unsigned NOT NULL,
`value` smallint unsigned NOT NULL,
`max` smallint unsigned NOT NULL,
PRIMARY KEY (`guid`,`skill`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,10 +15,10 @@
-- Dumpar struktur för tabell acore_characters.character_social
DROP TABLE IF EXISTS `character_social`;
CREATE TABLE IF NOT EXISTS `character_social` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
`friend` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Friend Global Unique Identifier',
`flags` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Friend Flags',
`note` VARCHAR(48) NOT NULL DEFAULT '' COMMENT 'Friend Note',
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
`friend` int unsigned NOT NULL DEFAULT '0' COMMENT 'Friend Global Unique Identifier',
`flags` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Friend Flags',
`note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note',
PRIMARY KEY (`guid`,`friend`,`flags`),
KEY `friend` (`friend`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.character_spell
DROP TABLE IF EXISTS `character_spell`;
CREATE TABLE IF NOT EXISTS `character_spell` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
`specMask` TINYINT unsigned NOT NULL DEFAULT 1,
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`spell` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier',
`specMask` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`guid`,`spell`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,12 +15,12 @@
-- Dumpar struktur för tabell acore_characters.character_spell_cooldown
DROP TABLE IF EXISTS `character_spell_cooldown`;
CREATE TABLE IF NOT EXISTS `character_spell_cooldown` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
`spell` MEDIUMINT unsigned NOT NULL DEFAULT 0 COMMENT 'Spell Identifier',
`category` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`item` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Item Identifier',
`time` INT unsigned NOT NULL DEFAULT 0,
`needSend` TINYINT unsigned NOT NULL DEFAULT 1,
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part',
`spell` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier',
`category` mediumint unsigned NOT NULL DEFAULT '0',
`item` int unsigned NOT NULL DEFAULT '0' COMMENT 'Item Identifier',
`time` int unsigned NOT NULL DEFAULT '0',
`needSend` tinyint unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`guid`,`spell`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,37 +15,37 @@
-- Dumpar struktur för tabell acore_characters.character_stats
DROP TABLE IF EXISTS `character_stats`;
CREATE TABLE IF NOT EXISTS `character_stats` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier, Low part',
`maxhealth` INT unsigned NOT NULL DEFAULT 0,
`maxpower1` INT unsigned NOT NULL DEFAULT 0,
`maxpower2` INT unsigned NOT NULL DEFAULT 0,
`maxpower3` INT unsigned NOT NULL DEFAULT 0,
`maxpower4` INT unsigned NOT NULL DEFAULT 0,
`maxpower5` INT unsigned NOT NULL DEFAULT 0,
`maxpower6` INT unsigned NOT NULL DEFAULT 0,
`maxpower7` INT unsigned NOT NULL DEFAULT 0,
`strength` INT unsigned NOT NULL DEFAULT 0,
`agility` INT unsigned NOT NULL DEFAULT 0,
`stamina` INT unsigned NOT NULL DEFAULT 0,
`intellect` INT unsigned NOT NULL DEFAULT 0,
`spirit` INT unsigned NOT NULL DEFAULT 0,
`armor` INT unsigned NOT NULL DEFAULT 0,
`resHoly` INT unsigned NOT NULL DEFAULT 0,
`resFire` INT unsigned NOT NULL DEFAULT 0,
`resNature` INT unsigned NOT NULL DEFAULT 0,
`resFrost` INT unsigned NOT NULL DEFAULT 0,
`resShadow` INT unsigned NOT NULL DEFAULT 0,
`resArcane` INT unsigned NOT NULL DEFAULT 0,
`blockPct` float NOT NULL DEFAULT 0,
`dodgePct` float NOT NULL DEFAULT 0,
`parryPct` float NOT NULL DEFAULT 0,
`critPct` float NOT NULL DEFAULT 0,
`rangedCritPct` float NOT NULL DEFAULT 0,
`spellCritPct` float NOT NULL DEFAULT 0,
`attackPower` INT unsigned NOT NULL DEFAULT 0,
`rangedAttackPower` INT unsigned NOT NULL DEFAULT 0,
`spellPower` INT unsigned NOT NULL DEFAULT 0,
`resilience` INT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier, Low part',
`maxhealth` int unsigned NOT NULL DEFAULT '0',
`maxpower1` int unsigned NOT NULL DEFAULT '0',
`maxpower2` int unsigned NOT NULL DEFAULT '0',
`maxpower3` int unsigned NOT NULL DEFAULT '0',
`maxpower4` int unsigned NOT NULL DEFAULT '0',
`maxpower5` int unsigned NOT NULL DEFAULT '0',
`maxpower6` int unsigned NOT NULL DEFAULT '0',
`maxpower7` int unsigned NOT NULL DEFAULT '0',
`strength` int unsigned NOT NULL DEFAULT '0',
`agility` int unsigned NOT NULL DEFAULT '0',
`stamina` int unsigned NOT NULL DEFAULT '0',
`intellect` int unsigned NOT NULL DEFAULT '0',
`spirit` int unsigned NOT NULL DEFAULT '0',
`armor` int unsigned NOT NULL DEFAULT '0',
`resHoly` int unsigned NOT NULL DEFAULT '0',
`resFire` int unsigned NOT NULL DEFAULT '0',
`resNature` int unsigned NOT NULL DEFAULT '0',
`resFrost` int unsigned NOT NULL DEFAULT '0',
`resShadow` int unsigned NOT NULL DEFAULT '0',
`resArcane` int unsigned NOT NULL DEFAULT '0',
`blockPct` float NOT NULL DEFAULT '0',
`dodgePct` float NOT NULL DEFAULT '0',
`parryPct` float NOT NULL DEFAULT '0',
`critPct` float NOT NULL DEFAULT '0',
`rangedCritPct` float NOT NULL DEFAULT '0',
`spellCritPct` float NOT NULL DEFAULT '0',
`attackPower` int unsigned NOT NULL DEFAULT '0',
`rangedAttackPower` int unsigned NOT NULL DEFAULT '0',
`spellPower` int unsigned NOT NULL DEFAULT '0',
`resilience` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`),
CONSTRAINT `character_stats_chk_1` CHECK (((`blockPct` >= 0) and (`dodgePct` >= 0) and (`parryPct` >= 0) and (`critPct` >= 0) and (`rangedCritPct` >= 0) and (`spellCritPct` >= 0)))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.character_talent
DROP TABLE IF EXISTS `character_talent`;
CREATE TABLE IF NOT EXISTS `character_talent` (
`guid` INT unsigned NOT NULL,
`spell` MEDIUMINT unsigned NOT NULL,
`specMask` TINYINT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL,
`spell` mediumint unsigned NOT NULL,
`specMask` tinyint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`spell`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -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`),

View File

@@ -15,23 +15,23 @@
-- Dumpar struktur för tabell acore_characters.corpse
DROP TABLE IF EXISTS `corpse`;
CREATE TABLE IF NOT EXISTS `corpse` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
`posX` float NOT NULL DEFAULT 0,
`posY` float NOT NULL DEFAULT 0,
`posZ` float NOT NULL DEFAULT 0,
`orientation` float NOT NULL DEFAULT 0,
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier',
`phaseMask` INT unsigned NOT NULL DEFAULT 1,
`displayId` INT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
`posX` float NOT NULL DEFAULT '0',
`posY` float NOT NULL DEFAULT '0',
`posZ` float NOT NULL DEFAULT '0',
`orientation` float NOT NULL DEFAULT '0',
`mapId` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
`phaseMask` int unsigned NOT NULL DEFAULT '1',
`displayId` int unsigned NOT NULL DEFAULT '0',
`itemCache` text NOT NULL,
`bytes1` INT unsigned NOT NULL DEFAULT 0,
`bytes2` INT unsigned NOT NULL DEFAULT 0,
`guildId` INT unsigned NOT NULL DEFAULT 0,
`flags` TINYINT unsigned NOT NULL DEFAULT 0,
`dynFlags` TINYINT unsigned NOT NULL DEFAULT 0,
`time` INT unsigned NOT NULL DEFAULT 0,
`corpseType` TINYINT unsigned NOT NULL DEFAULT 0,
`instanceId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
`bytes1` int unsigned NOT NULL DEFAULT '0',
`bytes2` int unsigned NOT NULL DEFAULT '0',
`guildId` int unsigned NOT NULL DEFAULT '0',
`flags` tinyint unsigned NOT NULL DEFAULT '0',
`dynFlags` tinyint unsigned NOT NULL DEFAULT '0',
`time` int unsigned NOT NULL DEFAULT '0',
`corpseType` tinyint unsigned NOT NULL DEFAULT '0',
`instanceId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Instance Identifier',
PRIMARY KEY (`guid`),
KEY `idx_type` (`corpseType`),
KEY `idx_instance` (`instanceId`),

View File

@@ -15,10 +15,10 @@
-- Dumpar struktur för tabell acore_characters.creature_respawn
DROP TABLE IF EXISTS `creature_respawn`;
CREATE TABLE IF NOT EXISTS `creature_respawn` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`respawnTime` INT unsigned NOT NULL DEFAULT 0,
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0,
`instanceId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`respawnTime` int unsigned NOT NULL DEFAULT '0',
`mapId` smallint unsigned NOT NULL DEFAULT '0',
`instanceId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Instance Identifier',
PRIMARY KEY (`guid`,`instanceId`),
KEY `idx_instance` (`instanceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Grid Loading System';

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.game_event_condition_save
DROP TABLE IF EXISTS `game_event_condition_save`;
CREATE TABLE IF NOT EXISTS `game_event_condition_save` (
`eventEntry` TINYINT unsigned NOT NULL,
`condition_id` INT unsigned NOT NULL DEFAULT 0,
`done` float DEFAULT 0,
`eventEntry` tinyint unsigned NOT NULL,
`condition_id` int unsigned NOT NULL DEFAULT '0',
`done` float DEFAULT '0',
PRIMARY KEY (`eventEntry`,`condition_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.game_event_save
DROP TABLE IF EXISTS `game_event_save`;
CREATE TABLE IF NOT EXISTS `game_event_save` (
`eventEntry` TINYINT unsigned NOT NULL,
`state` TINYINT unsigned NOT NULL DEFAULT 1,
`next_start` INT unsigned NOT NULL DEFAULT 0,
`eventEntry` tinyint unsigned NOT NULL,
`state` tinyint unsigned NOT NULL DEFAULT '1',
`next_start` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`eventEntry`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,10 +15,10 @@
-- Dumpar struktur för tabell acore_characters.gameobject_respawn
DROP TABLE IF EXISTS `gameobject_respawn`;
CREATE TABLE IF NOT EXISTS `gameobject_respawn` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`respawnTime` INT unsigned NOT NULL DEFAULT 0,
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0,
`instanceId` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Instance Identifier',
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`respawnTime` int unsigned NOT NULL DEFAULT '0',
`mapId` smallint unsigned NOT NULL DEFAULT '0',
`instanceId` int unsigned NOT NULL DEFAULT '0' COMMENT 'Instance Identifier',
PRIMARY KEY (`guid`,`instanceId`),
KEY `idx_instance` (`instanceId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Grid Loading System';

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.gm_subsurvey
DROP TABLE IF EXISTS `gm_subsurvey`;
CREATE TABLE IF NOT EXISTS `gm_subsurvey` (
`surveyId` INT unsigned NOT NULL AUTO_INCREMENT,
`questionId` INT unsigned NOT NULL DEFAULT 0,
`answer` INT unsigned NOT NULL DEFAULT 0,
`surveyId` int unsigned NOT NULL AUTO_INCREMENT,
`questionId` int unsigned NOT NULL DEFAULT '0',
`answer` int unsigned NOT NULL DEFAULT '0',
`answerComment` text NOT NULL,
PRIMARY KEY (`surveyId`,`questionId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,12 +15,12 @@
-- Dumpar struktur för tabell acore_characters.gm_survey
DROP TABLE IF EXISTS `gm_survey`;
CREATE TABLE IF NOT EXISTS `gm_survey` (
`surveyId` INT unsigned NOT NULL AUTO_INCREMENT,
`guid` INT unsigned NOT NULL DEFAULT 0,
`mainSurvey` INT unsigned NOT NULL DEFAULT 0,
`surveyId` int unsigned NOT NULL AUTO_INCREMENT,
`guid` int unsigned NOT NULL DEFAULT '0',
`mainSurvey` int unsigned NOT NULL DEFAULT '0',
`comment` longtext NOT NULL,
`createTime` INT unsigned NOT NULL DEFAULT 0,
`maxMMR` SMALLINT NOT NULL,
`createTime` int unsigned NOT NULL DEFAULT '0',
`maxMMR` smallint NOT NULL,
PRIMARY KEY (`surveyId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,26 +15,26 @@
-- Dumpar struktur för tabell acore_characters.gm_ticket
DROP TABLE IF EXISTS `gm_ticket`;
CREATE TABLE IF NOT EXISTS `gm_ticket` (
`id` INT unsigned NOT NULL AUTO_INCREMENT,
`type` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT '0 open, 1 closed, 2 character deleted',
`playerGuid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier of ticket creator',
`name` VARCHAR(12) NOT NULL COMMENT 'Name of ticket creator',
`id` int unsigned NOT NULL AUTO_INCREMENT,
`type` tinyint unsigned NOT NULL DEFAULT '0' COMMENT '0 open, 1 closed, 2 character deleted',
`playerGuid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier of ticket creator',
`name` varchar(12) NOT NULL COMMENT 'Name of ticket creator',
`description` text NOT NULL,
`createTime` INT unsigned NOT NULL DEFAULT 0,
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0,
`posX` float NOT NULL DEFAULT 0,
`posY` float NOT NULL DEFAULT 0,
`posZ` float NOT NULL DEFAULT 0,
`lastModifiedTime` INT unsigned NOT NULL DEFAULT 0,
`closedBy` INT NOT NULL DEFAULT 0 COMMENT '-1 Closed by Console, >0 GUID of GM',
`assignedTo` INT unsigned NOT NULL DEFAULT 0 COMMENT 'GUID of admin to whom ticket is assigned',
`createTime` int unsigned NOT NULL DEFAULT '0',
`mapId` smallint unsigned NOT NULL DEFAULT '0',
`posX` float NOT NULL DEFAULT '0',
`posY` float NOT NULL DEFAULT '0',
`posZ` float NOT NULL DEFAULT '0',
`lastModifiedTime` int unsigned NOT NULL DEFAULT '0',
`closedBy` int NOT NULL DEFAULT '0' COMMENT '-1 Closed by Console, >0 GUID of GM',
`assignedTo` int unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned',
`comment` text NOT NULL,
`response` text NOT NULL,
`completed` TINYINT unsigned NOT NULL DEFAULT 0,
`escalated` TINYINT unsigned NOT NULL DEFAULT 0,
`viewed` TINYINT unsigned NOT NULL DEFAULT 0,
`needMoreHelp` TINYINT unsigned NOT NULL DEFAULT 0,
`resolvedBy` INT NOT NULL DEFAULT 0 COMMENT '-1 Resolved by Console, >0 GUID of GM',
`completed` tinyint unsigned NOT NULL DEFAULT '0',
`escalated` tinyint unsigned NOT NULL DEFAULT '0',
`viewed` tinyint unsigned NOT NULL DEFAULT '0',
`needMoreHelp` tinyint unsigned NOT NULL DEFAULT '0',
`resolvedBy` int NOT NULL DEFAULT '0' COMMENT '-1 Resolved by Console, >0 GUID of GM',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,11 +15,11 @@
-- Dumpar struktur för tabell acore_characters.group_member
DROP TABLE IF EXISTS `group_member`;
CREATE TABLE IF NOT EXISTS `group_member` (
`guid` INT unsigned NOT NULL,
`memberGuid` INT unsigned NOT NULL,
`memberFlags` TINYINT unsigned NOT NULL DEFAULT 0,
`subgroup` TINYINT unsigned NOT NULL DEFAULT 0,
`roles` TINYINT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL,
`memberGuid` int unsigned NOT NULL,
`memberFlags` tinyint unsigned NOT NULL DEFAULT '0',
`subgroup` tinyint unsigned NOT NULL DEFAULT '0',
`roles` tinyint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`memberGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Groups';

View File

@@ -15,23 +15,23 @@
-- Dumpar struktur för tabell acore_characters.groups
DROP TABLE IF EXISTS `groups`;
CREATE TABLE IF NOT EXISTS `groups` (
`guid` INT unsigned NOT NULL,
`leaderGuid` INT unsigned NOT NULL,
`lootMethod` TINYINT unsigned NOT NULL,
`looterGuid` INT unsigned NOT NULL,
`lootThreshold` TINYINT unsigned NOT NULL,
`icon1` BIGINT unsigned NOT NULL,
`icon2` BIGINT unsigned NOT NULL,
`icon3` BIGINT unsigned NOT NULL,
`icon4` BIGINT unsigned NOT NULL,
`icon5` BIGINT unsigned NOT NULL,
`icon6` BIGINT unsigned NOT NULL,
`icon7` BIGINT unsigned NOT NULL,
`icon8` BIGINT unsigned NOT NULL,
`groupType` TINYINT unsigned NOT NULL,
`difficulty` TINYINT unsigned NOT NULL DEFAULT 0,
`raidDifficulty` TINYINT unsigned NOT NULL DEFAULT 0,
`masterLooterGuid` INT unsigned NOT NULL,
`guid` int unsigned NOT NULL,
`leaderGuid` int unsigned NOT NULL,
`lootMethod` tinyint unsigned NOT NULL,
`looterGuid` int unsigned NOT NULL,
`lootThreshold` tinyint unsigned NOT NULL,
`icon1` bigint unsigned NOT NULL,
`icon2` bigint unsigned NOT NULL,
`icon3` bigint unsigned NOT NULL,
`icon4` bigint unsigned NOT NULL,
`icon5` bigint unsigned NOT NULL,
`icon6` bigint unsigned NOT NULL,
`icon7` bigint unsigned NOT NULL,
`icon8` bigint unsigned NOT NULL,
`groupType` tinyint unsigned NOT NULL,
`difficulty` tinyint unsigned NOT NULL DEFAULT '0',
`raidDifficulty` tinyint unsigned NOT NULL DEFAULT '0',
`masterLooterGuid` int unsigned NOT NULL,
PRIMARY KEY (`guid`),
KEY `leaderGuid` (`leaderGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Groups';

View File

@@ -15,18 +15,18 @@
-- Dumpar struktur för tabell acore_characters.guild
DROP TABLE IF EXISTS `guild`;
CREATE TABLE IF NOT EXISTS `guild` (
`guildid` INT unsigned NOT NULL DEFAULT 0,
`name` VARCHAR(24) NOT NULL DEFAULT '',
`leaderguid` INT unsigned NOT NULL DEFAULT 0,
`EmblemStyle` TINYINT unsigned NOT NULL DEFAULT 0,
`EmblemColor` TINYINT unsigned NOT NULL DEFAULT 0,
`BorderStyle` TINYINT unsigned NOT NULL DEFAULT 0,
`BorderColor` TINYINT unsigned NOT NULL DEFAULT 0,
`BackgroundColor` TINYINT unsigned NOT NULL DEFAULT 0,
`info` VARCHAR(500) NOT NULL DEFAULT '',
`motd` VARCHAR(128) NOT NULL DEFAULT '',
`createdate` INT unsigned NOT NULL DEFAULT 0,
`BankMoney` BIGINT unsigned NOT NULL DEFAULT 0,
`guildid` int unsigned NOT NULL DEFAULT '0',
`name` varchar(24) NOT NULL DEFAULT '',
`leaderguid` int unsigned NOT NULL DEFAULT '0',
`EmblemStyle` tinyint unsigned NOT NULL DEFAULT '0',
`EmblemColor` tinyint unsigned NOT NULL DEFAULT '0',
`BorderStyle` tinyint unsigned NOT NULL DEFAULT '0',
`BorderColor` tinyint unsigned NOT NULL DEFAULT '0',
`BackgroundColor` tinyint unsigned NOT NULL DEFAULT '0',
`info` varchar(500) NOT NULL DEFAULT '',
`motd` varchar(128) NOT NULL DEFAULT '',
`createdate` int unsigned NOT NULL DEFAULT '0',
`BankMoney` bigint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guildid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Guild System';

View File

@@ -15,15 +15,15 @@
-- Dumpar struktur för tabell acore_characters.guild_bank_eventlog
DROP TABLE IF EXISTS `guild_bank_eventlog`;
CREATE TABLE IF NOT EXISTS `guild_bank_eventlog` (
`guildid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Guild Identificator',
`LogGuid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Log record identificator - auxiliary column',
`TabId` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Guild bank TabId',
`EventType` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Event type',
`PlayerGuid` INT unsigned NOT NULL DEFAULT 0,
`ItemOrMoney` INT unsigned NOT NULL DEFAULT 0,
`ItemStackCount` SMALLINT unsigned NOT NULL DEFAULT 0,
`DestTabId` TINYINT unsigned NOT NULL DEFAULT 0 COMMENT 'Destination Tab Id',
`TimeStamp` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Event UNIX time',
`guildid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Guild Identificator',
`LogGuid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Log record identificator - auxiliary column',
`TabId` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Guild bank TabId',
`EventType` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Event type',
`PlayerGuid` int unsigned NOT NULL DEFAULT '0',
`ItemOrMoney` int unsigned NOT NULL DEFAULT '0',
`ItemStackCount` smallint unsigned NOT NULL DEFAULT '0',
`DestTabId` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Destination Tab Id',
`TimeStamp` int unsigned NOT NULL DEFAULT '0' COMMENT 'Event UNIX time',
PRIMARY KEY (`guildid`,`LogGuid`,`TabId`),
KEY `guildid_key` (`guildid`),
KEY `Idx_PlayerGuid` (`PlayerGuid`),

View File

@@ -15,10 +15,10 @@
-- Dumpar struktur för tabell acore_characters.guild_bank_item
DROP TABLE IF EXISTS `guild_bank_item`;
CREATE TABLE IF NOT EXISTS `guild_bank_item` (
`guildid` INT unsigned NOT NULL DEFAULT 0,
`TabId` TINYINT unsigned NOT NULL DEFAULT 0,
`SlotId` TINYINT unsigned NOT NULL DEFAULT 0,
`item_guid` INT unsigned NOT NULL DEFAULT 0,
`guildid` int unsigned NOT NULL DEFAULT '0',
`TabId` tinyint unsigned NOT NULL DEFAULT '0',
`SlotId` tinyint unsigned NOT NULL DEFAULT '0',
`item_guid` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guildid`,`TabId`,`SlotId`),
KEY `guildid_key` (`guildid`),
KEY `Idx_item_guid` (`item_guid`)

View File

@@ -15,11 +15,11 @@
-- Dumpar struktur för tabell acore_characters.guild_bank_right
DROP TABLE IF EXISTS `guild_bank_right`;
CREATE TABLE IF NOT EXISTS `guild_bank_right` (
`guildid` INT unsigned NOT NULL DEFAULT 0,
`TabId` TINYINT unsigned NOT NULL DEFAULT 0,
`rid` TINYINT unsigned NOT NULL DEFAULT 0,
`gbright` TINYINT unsigned NOT NULL DEFAULT 0,
`SlotPerDay` INT unsigned NOT NULL DEFAULT 0,
`guildid` int unsigned NOT NULL DEFAULT '0',
`TabId` tinyint unsigned NOT NULL DEFAULT '0',
`rid` tinyint unsigned NOT NULL DEFAULT '0',
`gbright` tinyint unsigned NOT NULL DEFAULT '0',
`SlotPerDay` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guildid`,`TabId`,`rid`),
KEY `guildid_key` (`guildid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,11 +15,11 @@
-- Dumpar struktur för tabell acore_characters.guild_bank_tab
DROP TABLE IF EXISTS `guild_bank_tab`;
CREATE TABLE IF NOT EXISTS `guild_bank_tab` (
`guildid` INT unsigned NOT NULL DEFAULT 0,
`TabId` TINYINT unsigned NOT NULL DEFAULT 0,
`TabName` VARCHAR(16) NOT NULL DEFAULT '',
`TabIcon` VARCHAR(100) NOT NULL DEFAULT '',
`TabText` VARCHAR(500) DEFAULT NULL,
`guildid` int unsigned NOT NULL DEFAULT '0',
`TabId` tinyint unsigned NOT NULL DEFAULT '0',
`TabName` varchar(16) NOT NULL DEFAULT '',
`TabIcon` varchar(100) NOT NULL DEFAULT '',
`TabText` varchar(500) DEFAULT NULL,
PRIMARY KEY (`guildid`,`TabId`),
KEY `guildid_key` (`guildid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View File

@@ -15,13 +15,13 @@
-- Dumpar struktur för tabell acore_characters.guild_eventlog
DROP TABLE IF EXISTS `guild_eventlog`;
CREATE TABLE IF NOT EXISTS `guild_eventlog` (
`guildid` INT unsigned NOT NULL COMMENT 'Guild Identificator',
`LogGuid` INT unsigned NOT NULL COMMENT 'Log record identificator - auxiliary column',
`EventType` TINYINT unsigned NOT NULL COMMENT 'Event type',
`PlayerGuid1` INT unsigned NOT NULL COMMENT 'Player 1',
`PlayerGuid2` INT unsigned NOT NULL COMMENT 'Player 2',
`NewRank` TINYINT unsigned NOT NULL COMMENT 'New rank(in case promotion/demotion)',
`TimeStamp` INT unsigned NOT NULL COMMENT 'Event UNIX time',
`guildid` int unsigned NOT NULL COMMENT 'Guild Identificator',
`LogGuid` int unsigned NOT NULL COMMENT 'Log record identificator - auxiliary column',
`EventType` tinyint unsigned NOT NULL COMMENT 'Event type',
`PlayerGuid1` int unsigned NOT NULL COMMENT 'Player 1',
`PlayerGuid2` int unsigned NOT NULL COMMENT 'Player 2',
`NewRank` tinyint unsigned NOT NULL COMMENT 'New rank(in case promotion/demotion)',
`TimeStamp` int unsigned NOT NULL COMMENT 'Event UNIX time',
PRIMARY KEY (`guildid`,`LogGuid`),
KEY `Idx_PlayerGuid1` (`PlayerGuid1`),
KEY `Idx_PlayerGuid2` (`PlayerGuid2`),

View File

@@ -15,11 +15,11 @@
-- Dumpar struktur för tabell acore_characters.guild_member
DROP TABLE IF EXISTS `guild_member`;
CREATE TABLE IF NOT EXISTS `guild_member` (
`guildid` INT unsigned NOT NULL COMMENT 'Guild Identificator',
`guid` INT unsigned NOT NULL,
`rank` TINYINT unsigned NOT NULL,
`pnote` VARCHAR(31) NOT NULL DEFAULT '',
`offnote` VARCHAR(31) NOT NULL DEFAULT '',
`guildid` int unsigned NOT NULL COMMENT 'Guild Identificator',
`guid` int unsigned NOT NULL,
`rank` tinyint unsigned NOT NULL,
`pnote` varchar(31) NOT NULL DEFAULT '',
`offnote` varchar(31) NOT NULL DEFAULT '',
UNIQUE KEY `guid_key` (`guid`),
KEY `guildid_key` (`guildid`),
KEY `guildid_rank_key` (`guildid`,`rank`)

View File

@@ -15,14 +15,14 @@
-- Dumpar struktur för tabell acore_characters.guild_member_withdraw
DROP TABLE IF EXISTS `guild_member_withdraw`;
CREATE TABLE IF NOT EXISTS `guild_member_withdraw` (
`guid` INT unsigned NOT NULL,
`tab0` INT unsigned NOT NULL DEFAULT 0,
`tab1` INT unsigned NOT NULL DEFAULT 0,
`tab2` INT unsigned NOT NULL DEFAULT 0,
`tab3` INT unsigned NOT NULL DEFAULT 0,
`tab4` INT unsigned NOT NULL DEFAULT 0,
`tab5` INT unsigned NOT NULL DEFAULT 0,
`money` INT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL,
`tab0` int unsigned NOT NULL DEFAULT '0',
`tab1` int unsigned NOT NULL DEFAULT '0',
`tab2` int unsigned NOT NULL DEFAULT '0',
`tab3` int unsigned NOT NULL DEFAULT '0',
`tab4` int unsigned NOT NULL DEFAULT '0',
`tab5` int unsigned NOT NULL DEFAULT '0',
`money` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Guild Member Daily Withdraws';

View File

@@ -15,11 +15,11 @@
-- Dumpar struktur för tabell acore_characters.guild_rank
DROP TABLE IF EXISTS `guild_rank`;
CREATE TABLE IF NOT EXISTS `guild_rank` (
`guildid` INT unsigned NOT NULL DEFAULT 0,
`rid` TINYINT unsigned NOT NULL,
`rname` VARCHAR(20) NOT NULL DEFAULT '',
`rights` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`BankMoneyPerDay` INT unsigned NOT NULL DEFAULT 0,
`guildid` int unsigned NOT NULL DEFAULT '0',
`rid` tinyint unsigned NOT NULL,
`rname` varchar(20) NOT NULL DEFAULT '',
`rights` mediumint unsigned NOT NULL DEFAULT '0',
`BankMoneyPerDay` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guildid`,`rid`),
KEY `Idx_rid` (`rid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Guild System';

View File

@@ -15,11 +15,11 @@
-- Dumpar struktur för tabell acore_characters.instance
DROP TABLE IF EXISTS `instance`;
CREATE TABLE IF NOT EXISTS `instance` (
`id` INT unsigned NOT NULL DEFAULT 0,
`map` SMALLINT unsigned NOT NULL DEFAULT 0,
`resettime` INT unsigned NOT NULL DEFAULT 0,
`difficulty` TINYINT unsigned NOT NULL DEFAULT 0,
`completedEncounters` INT unsigned NOT NULL DEFAULT 0,
`id` int unsigned NOT NULL DEFAULT '0',
`map` smallint unsigned NOT NULL DEFAULT '0',
`resettime` int unsigned NOT NULL DEFAULT '0',
`difficulty` tinyint unsigned NOT NULL DEFAULT '0',
`completedEncounters` int unsigned NOT NULL DEFAULT '0',
`data` tinytext NOT NULL,
PRIMARY KEY (`id`),
KEY `map` (`map`),

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.instance_reset
DROP TABLE IF EXISTS `instance_reset`;
CREATE TABLE IF NOT EXISTS `instance_reset` (
`mapid` SMALLINT unsigned NOT NULL DEFAULT 0,
`difficulty` TINYINT unsigned NOT NULL DEFAULT 0,
`resettime` INT unsigned NOT NULL DEFAULT 0,
`mapid` smallint unsigned NOT NULL DEFAULT '0',
`difficulty` tinyint unsigned NOT NULL DEFAULT '0',
`resettime` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`mapid`,`difficulty`),
KEY `difficulty` (`difficulty`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
@@ -26,77 +26,77 @@ CREATE TABLE IF NOT EXISTS `instance_reset` (
DELETE FROM `instance_reset`;
/*!40000 ALTER TABLE `instance_reset` DISABLE KEYS */;
INSERT INTO `instance_reset` (`mapid`, `difficulty`, `resettime`) VALUES
(249, 0, 1651147200),
(249, 1, 1651147200),
(269, 1, 1650859200),
(309, 0, 1651032000),
(409, 0, 1651147200),
(469, 0, 1651147200),
(509, 0, 1651032000),
(531, 0, 1651147200),
(532, 0, 1651147200),
(533, 0, 1651147200),
(533, 1, 1651147200),
(534, 0, 1651147200),
(540, 1, 1650859200),
(542, 1, 1650859200),
(543, 1, 1650859200),
(544, 0, 1651147200),
(545, 1, 1650859200),
(546, 1, 1650859200),
(547, 1, 1650859200),
(548, 0, 1651147200),
(550, 0, 1651147200),
(552, 1, 1650859200),
(553, 1, 1650859200),
(554, 1, 1650859200),
(555, 1, 1650859200),
(556, 1, 1650859200),
(557, 1, 1650859200),
(558, 1, 1650859200),
(560, 1, 1650859200),
(564, 0, 1651147200),
(565, 0, 1651147200),
(568, 0, 1651032000),
(574, 1, 1650859200),
(575, 1, 1650859200),
(576, 1, 1650168000),
(578, 1, 1650801600),
(580, 0, 1651147200),
(585, 1, 1650801600),
(595, 1, 1650801600),
(598, 1, 1650801600),
(599, 1, 1650801600),
(600, 1, 1650801600),
(601, 1, 1650801600),
(602, 1, 1650801600),
(603, 0, 1651147200),
(603, 1, 1651147200),
(604, 1, 1650801600),
(608, 1, 1650801600),
(615, 0, 1651147200),
(615, 1, 1651147200),
(616, 0, 1651147200),
(616, 1, 1651147200),
(619, 1, 1650801600),
(624, 0, 1651147200),
(624, 1, 1651147200),
(631, 0, 1651147200),
(631, 1, 1651147200),
(631, 2, 1651147200),
(631, 3, 1651147200),
(632, 1, 1650801600),
(649, 0, 1651147200),
(649, 1, 1651147200),
(649, 2, 1651147200),
(649, 3, 1651147200),
(650, 1, 1650801600),
(658, 1, 1650801600),
(668, 1, 1650801600),
(724, 0, 1651147200),
(724, 1, 1651147200),
(724, 2, 1651147200),
(724, 3, 1651147200);
(249, 0, 1661443200),
(249, 1, 1661443200),
(269, 1, 1661068800),
(309, 0, 1661155200),
(409, 0, 1661443200),
(469, 0, 1661443200),
(509, 0, 1661155200),
(531, 0, 1661443200),
(532, 0, 1661443200),
(533, 0, 1661443200),
(533, 1, 1661443200),
(534, 0, 1661443200),
(540, 1, 1661068800),
(542, 1, 1661068800),
(543, 1, 1661068800),
(544, 0, 1661443200),
(545, 1, 1661068800),
(546, 1, 1661068800),
(547, 1, 1661068800),
(548, 0, 1661443200),
(550, 0, 1661443200),
(552, 1, 1661068800),
(553, 1, 1661068800),
(554, 1, 1661068800),
(555, 1, 1661068800),
(556, 1, 1661068800),
(557, 1, 1661068800),
(558, 1, 1661068800),
(560, 1, 1661068800),
(564, 0, 1661443200),
(565, 0, 1661443200),
(568, 0, 1661155200),
(574, 1, 1661068800),
(575, 1, 1661068800),
(576, 1, 1661068800),
(578, 1, 1661097600),
(580, 0, 1661443200),
(585, 1, 1661097600),
(595, 1, 1661097600),
(598, 1, 1661097600),
(599, 1, 1661097600),
(600, 1, 1661097600),
(601, 1, 1661097600),
(602, 1, 1661097600),
(603, 0, 1661443200),
(603, 1, 1661443200),
(604, 1, 1661097600),
(608, 1, 1661097600),
(615, 0, 1661443200),
(615, 1, 1661443200),
(616, 0, 1661443200),
(616, 1, 1661443200),
(619, 1, 1661097600),
(624, 0, 1661443200),
(624, 1, 1661443200),
(631, 0, 1661443200),
(631, 1, 1661443200),
(631, 2, 1661443200),
(631, 3, 1661443200),
(632, 1, 1661097600),
(649, 0, 1661443200),
(649, 1, 1661443200),
(649, 2, 1661443200),
(649, 3, 1661443200),
(650, 1, 1661097600),
(658, 1, 1661097600),
(668, 1, 1661097600),
(724, 0, 1661443200),
(724, 1, 1661443200),
(724, 2, 1661443200),
(724, 3, 1661443200);
/*!40000 ALTER TABLE `instance_reset` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;

View File

@@ -0,0 +1,32 @@
-- --------------------------------------------------------
-- Värd: 127.0.0.1
-- Serverversion: 8.0.28 - MySQL Community Server - GPL
-- Server-OS: Win64
-- HeidiSQL Version: 11.3.0.6295
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Dumpar struktur för tabell acore_characters.instance_saved_go_state_data
DROP TABLE IF EXISTS `instance_saved_go_state_data`;
CREATE TABLE IF NOT EXISTS `instance_saved_go_state_data` (
`id` int unsigned NOT NULL COMMENT 'instance.id',
`guid` int unsigned NOT NULL COMMENT 'gameobject.guid',
`state` tinyint unsigned DEFAULT '0' COMMENT 'gameobject.state',
PRIMARY KEY (`id`,`guid`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- Dumpar data för tabell acore_characters.instance_saved_go_state_data: ~0 rows (ungefär)
DELETE FROM `instance_saved_go_state_data`;
/*!40000 ALTER TABLE `instance_saved_go_state_data` DISABLE KEYS */;
/*!40000 ALTER TABLE `instance_saved_go_state_data` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */;

View File

@@ -15,19 +15,19 @@
-- Dumpar struktur för tabell acore_characters.item_instance
DROP TABLE IF EXISTS `item_instance`;
CREATE TABLE IF NOT EXISTS `item_instance` (
`guid` INT unsigned NOT NULL DEFAULT 0,
`itemEntry` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`owner_guid` INT unsigned NOT NULL DEFAULT 0,
`creatorGuid` INT unsigned NOT NULL DEFAULT 0,
`giftCreatorGuid` INT unsigned NOT NULL DEFAULT 0,
`count` INT unsigned NOT NULL DEFAULT 1,
`duration` INT NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL DEFAULT '0',
`itemEntry` mediumint unsigned NOT NULL DEFAULT '0',
`owner_guid` int unsigned NOT NULL DEFAULT '0',
`creatorGuid` int unsigned NOT NULL DEFAULT '0',
`giftCreatorGuid` int unsigned NOT NULL DEFAULT '0',
`count` int unsigned NOT NULL DEFAULT '1',
`duration` int NOT NULL DEFAULT '0',
`charges` tinytext,
`flags` MEDIUMINT unsigned NOT NULL DEFAULT 0,
`flags` mediumint unsigned NOT NULL DEFAULT '0',
`enchantments` text NOT NULL,
`randomPropertyId` SMALLINT NOT NULL DEFAULT 0,
`durability` SMALLINT unsigned NOT NULL DEFAULT 0,
`playedTime` INT unsigned NOT NULL DEFAULT 0,
`randomPropertyId` smallint NOT NULL DEFAULT '0',
`durability` smallint unsigned NOT NULL DEFAULT '0',
`playedTime` int unsigned NOT NULL DEFAULT '0',
`text` text,
PRIMARY KEY (`guid`),
KEY `idx_owner_guid` (`owner_guid`)

View File

@@ -15,19 +15,19 @@
-- Dumpar struktur för tabell acore_characters.item_loot_storage
DROP TABLE IF EXISTS `item_loot_storage`;
CREATE TABLE IF NOT EXISTS `item_loot_storage` (
`containerGUID` INT unsigned NOT NULL,
`itemid` INT unsigned NOT NULL,
`count` INT unsigned NOT NULL,
`item_index` INT unsigned NOT NULL DEFAULT 0,
`randomPropertyId` INT NOT NULL,
`randomSuffix` INT unsigned NOT NULL,
`follow_loot_rules` TINYINT unsigned NOT NULL,
`freeforall` TINYINT unsigned NOT NULL,
`is_blocked` TINYINT unsigned NOT NULL,
`is_counted` TINYINT unsigned NOT NULL,
`is_underthreshold` TINYINT unsigned NOT NULL,
`needs_quest` TINYINT unsigned NOT NULL,
`conditionLootId` INT NOT NULL DEFAULT 0
`containerGUID` int unsigned NOT NULL,
`itemid` int unsigned NOT NULL,
`count` int unsigned NOT NULL,
`item_index` int unsigned NOT NULL DEFAULT '0',
`randomPropertyId` int NOT NULL,
`randomSuffix` int unsigned NOT NULL,
`follow_loot_rules` tinyint unsigned NOT NULL,
`freeforall` tinyint unsigned NOT NULL,
`is_blocked` tinyint unsigned NOT NULL,
`is_counted` tinyint unsigned NOT NULL,
`is_underthreshold` tinyint unsigned NOT NULL,
`needs_quest` tinyint unsigned NOT NULL,
`conditionLootId` int NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- Dumpar data för tabell acore_characters.item_loot_storage: ~0 rows (ungefär)

View File

@@ -15,10 +15,10 @@
-- Dumpar struktur för tabell acore_characters.item_refund_instance
DROP TABLE IF EXISTS `item_refund_instance`;
CREATE TABLE IF NOT EXISTS `item_refund_instance` (
`item_guid` INT unsigned NOT NULL COMMENT 'Item GUID',
`player_guid` INT unsigned NOT NULL COMMENT 'Player GUID',
`paidMoney` INT unsigned NOT NULL DEFAULT 0,
`paidExtendedCost` SMALLINT unsigned NOT NULL DEFAULT 0,
`item_guid` int unsigned NOT NULL COMMENT 'Item GUID',
`player_guid` int unsigned NOT NULL COMMENT 'Player GUID',
`paidMoney` int unsigned NOT NULL DEFAULT '0',
`paidExtendedCost` smallint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`item_guid`,`player_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Item Refund System';

View File

@@ -15,7 +15,7 @@
-- Dumpar struktur för tabell acore_characters.item_soulbound_trade_data
DROP TABLE IF EXISTS `item_soulbound_trade_data`;
CREATE TABLE IF NOT EXISTS `item_soulbound_trade_data` (
`itemGuid` INT unsigned NOT NULL COMMENT 'Item GUID',
`itemGuid` int unsigned NOT NULL COMMENT 'Item GUID',
`allowedPlayers` text NOT NULL COMMENT 'Space separated GUID list of players who can receive this item in trade',
PRIMARY KEY (`itemGuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Item Refund System';

View File

@@ -15,15 +15,15 @@
-- Dumpar struktur för tabell acore_characters.lag_reports
DROP TABLE IF EXISTS `lag_reports`;
CREATE TABLE IF NOT EXISTS `lag_reports` (
`reportId` INT unsigned NOT NULL AUTO_INCREMENT,
`guid` INT unsigned NOT NULL DEFAULT 0,
`lagType` TINYINT unsigned NOT NULL DEFAULT 0,
`mapId` SMALLINT unsigned NOT NULL DEFAULT 0,
`posX` float NOT NULL DEFAULT 0,
`posY` float NOT NULL DEFAULT 0,
`posZ` float NOT NULL DEFAULT 0,
`latency` INT unsigned NOT NULL DEFAULT 0,
`createTime` INT unsigned NOT NULL DEFAULT 0,
`reportId` int unsigned NOT NULL AUTO_INCREMENT,
`guid` int unsigned NOT NULL DEFAULT '0',
`lagType` tinyint unsigned NOT NULL DEFAULT '0',
`mapId` smallint unsigned NOT NULL DEFAULT '0',
`posX` float NOT NULL DEFAULT '0',
`posY` float NOT NULL DEFAULT '0',
`posZ` float NOT NULL DEFAULT '0',
`latency` int unsigned NOT NULL DEFAULT '0',
`createTime` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`reportId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Player System';

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.lfg_data
DROP TABLE IF EXISTS `lfg_data`;
CREATE TABLE IF NOT EXISTS `lfg_data` (
`guid` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
`dungeon` INT unsigned NOT NULL DEFAULT 0,
`state` TINYINT unsigned NOT NULL DEFAULT 0,
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`dungeon` int unsigned NOT NULL DEFAULT '0',
`state` tinyint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='LFG Data';

View File

@@ -15,19 +15,19 @@
-- Dumpar struktur för tabell acore_characters.log_arena_fights
DROP TABLE IF EXISTS `log_arena_fights`;
CREATE TABLE IF NOT EXISTS `log_arena_fights` (
`fight_id` INT unsigned NOT NULL,
`fight_id` int unsigned NOT NULL,
`time` datetime NOT NULL,
`type` TINYINT unsigned NOT NULL,
`duration` INT unsigned NOT NULL,
`winner` INT unsigned NOT NULL,
`loser` INT unsigned NOT NULL,
`winner_tr` SMALLINT unsigned NOT NULL,
`winner_mmr` SMALLINT unsigned NOT NULL,
`winner_tr_change` SMALLINT NOT NULL,
`loser_tr` SMALLINT unsigned NOT NULL,
`loser_mmr` SMALLINT unsigned NOT NULL,
`loser_tr_change` SMALLINT NOT NULL,
`currOnline` INT unsigned NOT NULL,
`type` tinyint unsigned NOT NULL,
`duration` int unsigned NOT NULL,
`winner` int unsigned NOT NULL,
`loser` int unsigned NOT NULL,
`winner_tr` smallint unsigned NOT NULL,
`winner_mmr` smallint unsigned NOT NULL,
`winner_tr_change` smallint NOT NULL,
`loser_tr` smallint unsigned NOT NULL,
`loser_mmr` smallint unsigned NOT NULL,
`loser_tr_change` smallint NOT NULL,
`currOnline` int unsigned NOT NULL,
PRIMARY KEY (`fight_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;

View File

@@ -15,16 +15,16 @@
-- Dumpar struktur för tabell acore_characters.log_arena_memberstats
DROP TABLE IF EXISTS `log_arena_memberstats`;
CREATE TABLE IF NOT EXISTS `log_arena_memberstats` (
`fight_id` INT unsigned NOT NULL,
`member_id` TINYINT unsigned NOT NULL,
`fight_id` int unsigned NOT NULL,
`member_id` tinyint unsigned NOT NULL,
`name` char(20) NOT NULL,
`guid` INT unsigned NOT NULL,
`team` INT unsigned NOT NULL,
`account` INT unsigned NOT NULL,
`guid` int unsigned NOT NULL,
`team` int unsigned NOT NULL,
`account` int unsigned NOT NULL,
`ip` char(15) NOT NULL,
`damage` INT unsigned NOT NULL,
`heal` INT unsigned NOT NULL,
`kblows` INT unsigned NOT NULL,
`damage` int unsigned NOT NULL,
`heal` int unsigned NOT NULL,
`kblows` int unsigned NOT NULL,
PRIMARY KEY (`fight_id`,`member_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;

View File

@@ -16,10 +16,10 @@
DROP TABLE IF EXISTS `log_encounter`;
CREATE TABLE IF NOT EXISTS `log_encounter` (
`time` datetime NOT NULL,
`map` SMALLINT unsigned NOT NULL,
`difficulty` TINYINT unsigned NOT NULL,
`creditType` TINYINT unsigned NOT NULL,
`creditEntry` INT unsigned NOT NULL,
`map` smallint unsigned NOT NULL,
`difficulty` tinyint unsigned NOT NULL,
`creditType` tinyint unsigned NOT NULL,
`creditEntry` int unsigned NOT NULL,
`playersInfo` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4;

View File

@@ -15,16 +15,16 @@
-- Dumpar struktur för tabell acore_characters.log_money
DROP TABLE IF EXISTS `log_money`;
CREATE TABLE IF NOT EXISTS `log_money` (
`sender_acc` INT unsigned NOT NULL,
`sender_guid` INT unsigned NOT NULL,
`sender_name` char(32) CHARACTER SET utf8mb4 NOT NULL,
`sender_ip` char(32) CHARACTER SET utf8mb4 NOT NULL,
`receiver_acc` INT unsigned NOT NULL,
`receiver_name` char(32) CHARACTER SET utf8mb4 NOT NULL,
`money` BIGINT unsigned NOT NULL,
`topic` char(255) CHARACTER SET utf8mb4 NOT NULL,
`sender_acc` int unsigned NOT NULL,
`sender_guid` int unsigned NOT NULL,
`sender_name` char(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
`sender_ip` char(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
`receiver_acc` int unsigned NOT NULL,
`receiver_name` char(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
`money` bigint unsigned NOT NULL,
`topic` char(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
`date` datetime NOT NULL,
`type` TINYINT NOT NULL COMMENT '1=COD,2=AH,3=GB DEPOSIT,4=GB WITHDRAW,5=MAIL,6=TRADE'
`type` tinyint NOT NULL COMMENT '1=COD,2=AH,3=GB DEPOSIT,4=GB WITHDRAW,5=MAIL,6=TRADE'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
-- Dumpar data för tabell acore_characters.log_money: 0 rows

View File

@@ -15,20 +15,20 @@
-- Dumpar struktur för tabell acore_characters.mail
DROP TABLE IF EXISTS `mail`;
CREATE TABLE IF NOT EXISTS `mail` (
`id` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier',
`messageType` TINYINT unsigned NOT NULL DEFAULT 0,
`stationery` TINYINT NOT NULL DEFAULT '41',
`mailTemplateId` SMALLINT unsigned NOT NULL DEFAULT 0,
`sender` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
`receiver` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
`id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier',
`messageType` tinyint unsigned NOT NULL DEFAULT '0',
`stationery` tinyint NOT NULL DEFAULT '41',
`mailTemplateId` smallint unsigned NOT NULL DEFAULT '0',
`sender` int unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
`receiver` int unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
`subject` longtext,
`body` longtext,
`has_items` TINYINT unsigned NOT NULL DEFAULT 0,
`expire_time` INT unsigned NOT NULL DEFAULT 0,
`deliver_time` INT unsigned NOT NULL DEFAULT 0,
`money` INT unsigned NOT NULL DEFAULT 0,
`cod` INT unsigned NOT NULL DEFAULT 0,
`checked` TINYINT unsigned NOT NULL DEFAULT 0,
`has_items` tinyint unsigned NOT NULL DEFAULT '0',
`expire_time` int unsigned NOT NULL DEFAULT '0',
`deliver_time` int unsigned NOT NULL DEFAULT '0',
`money` int unsigned NOT NULL DEFAULT '0',
`cod` int unsigned NOT NULL DEFAULT '0',
`checked` tinyint unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_receiver` (`receiver`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='Mail System';

View File

@@ -15,9 +15,9 @@
-- Dumpar struktur för tabell acore_characters.mail_items
DROP TABLE IF EXISTS `mail_items`;
CREATE TABLE IF NOT EXISTS `mail_items` (
`mail_id` INT unsigned NOT NULL DEFAULT 0,
`item_guid` INT unsigned NOT NULL DEFAULT 0,
`receiver` INT unsigned NOT NULL DEFAULT 0 COMMENT 'Character Global Unique Identifier',
`mail_id` int unsigned NOT NULL DEFAULT '0',
`item_guid` int unsigned NOT NULL DEFAULT '0',
`receiver` int unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
PRIMARY KEY (`item_guid`),
KEY `idx_receiver` (`receiver`),
KEY `idx_mail_id` (`mail_id`)

View File

@@ -15,8 +15,8 @@
-- Dumpar struktur för tabell acore_characters.mail_server_character
DROP TABLE IF EXISTS `mail_server_character`;
CREATE TABLE IF NOT EXISTS `mail_server_character` (
`guid` INT unsigned NOT NULL,
`mailId` INT unsigned NOT NULL,
`guid` int unsigned NOT NULL,
`mailId` int unsigned NOT NULL,
PRIMARY KEY (`guid`,`mailId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

Some files were not shown because too many files have changed in this diff Show More