docs(database): add current Vcore MariaDB schemas
This commit is contained in:
1 parent
96c937d5e4
commit
3a6c0b5575
7 files changed
+6074
No files matched your search
@@ -0,0 +1,20 @@
|
||||
# Vcore Database Schemas
|
||||
|
||||
This directory contains schema-only snapshots of the MariaDB databases
|
||||
used by Vcore (World of Warcraft Cataclysm 4.3.4).
|
||||
|
||||
## Databases
|
||||
|
||||
- cata_world
|
||||
- cata_locale_reference
|
||||
- cata_characters
|
||||
- cata_auth
|
||||
- cata_hotfixes
|
||||
- vcore_dev
|
||||
|
||||
The files contain database structures only, not production table data.
|
||||
|
||||
These snapshots reflect the database state at the time of export.
|
||||
They are not a substitute for SQL migrations or database backups.
|
||||
|
||||
Initial snapshot: 2026-10-08.
|
||||
@@ -0,0 +1,300 @@
|
||||
/*M!999999\- enable the sandbox mode */
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8mb4 */;
|
||||
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||||
/*!40103 SET TIME_ZONE='+00:00' */;
|
||||
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||||
/*!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 */;
|
||||
DROP TABLE IF EXISTS `account`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `account` (
|
||||
`id` int(10) 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_auth` binary(40) DEFAULT NULL,
|
||||
`session_key_bnet` varbinary(64) DEFAULT NULL,
|
||||
`totp_secret` varbinary(128) DEFAULT NULL,
|
||||
`v` varchar(64) NOT NULL DEFAULT '',
|
||||
`s` varchar(64) NOT NULL DEFAULT '',
|
||||
`token_key` varchar(100) 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(10) unsigned NOT NULL DEFAULT 0,
|
||||
`locked` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`lock_country` varchar(2) NOT NULL DEFAULT '00',
|
||||
`last_login` timestamp NULL DEFAULT NULL,
|
||||
`online` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`expansion` tinyint(3) unsigned NOT NULL DEFAULT 3,
|
||||
`mutetime` bigint(20) NOT NULL DEFAULT 0,
|
||||
`mutereason` varchar(255) NOT NULL DEFAULT '',
|
||||
`muteby` varchar(50) NOT NULL DEFAULT '',
|
||||
`locale` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`os` varchar(5) DEFAULT NULL,
|
||||
`timezone_offset` smallint(6) NOT NULL DEFAULT 0,
|
||||
`recruiter` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `idx_username` (`username`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Account System';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `account_access`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `account_access` (
|
||||
`AccountID` int(10) unsigned NOT NULL,
|
||||
`SecurityLevel` tinyint(3) unsigned NOT NULL,
|
||||
`RealmID` int(11) NOT NULL DEFAULT -1,
|
||||
PRIMARY KEY (`AccountID`,`RealmID`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `account_banned`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `account_banned` (
|
||||
`id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Account id',
|
||||
`bandate` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`unbandate` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`bannedby` varchar(50) NOT NULL,
|
||||
`banreason` varchar(255) NOT NULL,
|
||||
`active` tinyint(3) unsigned NOT NULL DEFAULT 1,
|
||||
PRIMARY KEY (`id`,`bandate`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Ban List';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `account_muted`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `account_muted` (
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier',
|
||||
`mutedate` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`mutetime` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`mutedby` varchar(50) NOT NULL,
|
||||
`mutereason` varchar(255) NOT NULL,
|
||||
PRIMARY KEY (`guid`,`mutedate`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='mute List';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `autobroadcast`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `autobroadcast` (
|
||||
`realmid` int(11) NOT NULL DEFAULT -1,
|
||||
`id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`weight` tinyint(3) unsigned DEFAULT 1,
|
||||
`text` longtext NOT NULL,
|
||||
PRIMARY KEY (`id`,`realmid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `build_auth_key`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `build_auth_key` (
|
||||
`build` int(11) NOT NULL,
|
||||
`platform` char(4) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
|
||||
`arch` char(4) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
|
||||
`type` char(4) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
|
||||
`key` binary(16) NOT NULL,
|
||||
PRIMARY KEY (`build`,`platform`,`arch`,`type`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `build_executable_hash`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `build_executable_hash` (
|
||||
`build` int(11) NOT NULL,
|
||||
`platform` char(4) CHARACTER SET ascii COLLATE ascii_bin NOT NULL,
|
||||
`executableHash` binary(20) NOT NULL,
|
||||
PRIMARY KEY (`build`,`platform`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `build_info`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `build_info` (
|
||||
`build` int(11) NOT NULL,
|
||||
`majorVersion` int(11) DEFAULT NULL,
|
||||
`minorVersion` int(11) DEFAULT NULL,
|
||||
`bugfixVersion` int(11) DEFAULT NULL,
|
||||
`hotfixVersion` char(3) DEFAULT NULL,
|
||||
PRIMARY KEY (`build`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `ip_banned`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `ip_banned` (
|
||||
`ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
|
||||
`bandate` int(10) unsigned NOT NULL,
|
||||
`unbandate` int(10) 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 COLLATE=utf8mb4_unicode_ci COMMENT='Banned IPs';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `logs`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `logs` (
|
||||
`time` int(10) unsigned NOT NULL,
|
||||
`realm` int(10) unsigned NOT NULL,
|
||||
`type` varchar(250) NOT NULL,
|
||||
`level` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`string` text CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `logs_ip_actions`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `logs_ip_actions` (
|
||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique Identifier',
|
||||
`account_id` int(10) unsigned NOT NULL COMMENT 'Account ID',
|
||||
`character_guid` int(10) unsigned NOT NULL COMMENT 'Character Guid',
|
||||
`type` tinyint(3) unsigned NOT NULL,
|
||||
`ip` varchar(15) NOT NULL DEFAULT '127.0.0.1',
|
||||
`systemnote` text DEFAULT NULL COMMENT 'Notes inserted by system',
|
||||
`unixtime` int(10) unsigned NOT NULL COMMENT 'Unixtime',
|
||||
`time` timestamp NOT NULL DEFAULT current_timestamp() COMMENT 'Timestamp',
|
||||
`comment` text DEFAULT NULL COMMENT 'Allows users to add a comment',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Used to log ips of individual actions';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `rbac_account_permissions`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `rbac_account_permissions` (
|
||||
`accountId` int(10) unsigned NOT NULL COMMENT 'Account id',
|
||||
`permissionId` int(10) unsigned NOT NULL COMMENT 'Permission id',
|
||||
`granted` tinyint(1) NOT NULL DEFAULT 1 COMMENT 'Granted = 1, Denied = 0',
|
||||
`realmId` int(11) NOT NULL DEFAULT -1 COMMENT 'Realm Id, -1 means all',
|
||||
PRIMARY KEY (`accountId`,`permissionId`,`realmId`),
|
||||
KEY `fk__rbac_account_roles__rbac_permissions` (`permissionId`),
|
||||
CONSTRAINT `fk__rbac_account_permissions__account` FOREIGN KEY (`accountId`) REFERENCES `account` (`id`) ON DELETE CASCADE,
|
||||
CONSTRAINT `fk__rbac_account_roles__rbac_permissions` FOREIGN KEY (`permissionId`) REFERENCES `rbac_permissions` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Account-Permission relation';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `rbac_default_permissions`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `rbac_default_permissions` (
|
||||
`secId` int(10) unsigned NOT NULL COMMENT 'Security Level id',
|
||||
`permissionId` int(10) unsigned NOT NULL COMMENT 'permission id',
|
||||
`realmId` int(11) NOT NULL DEFAULT -1 COMMENT 'Realm Id, -1 means all',
|
||||
PRIMARY KEY (`secId`,`permissionId`,`realmId`),
|
||||
KEY `fk__rbac_default_permissions__rbac_permissions` (`permissionId`),
|
||||
CONSTRAINT `fk__rbac_default_permissions__rbac_permissions` FOREIGN KEY (`permissionId`) REFERENCES `rbac_permissions` (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Default permission to assign to different account security levels';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `rbac_linked_permissions`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `rbac_linked_permissions` (
|
||||
`id` int(10) unsigned NOT NULL COMMENT 'Permission id',
|
||||
`linkedId` int(10) unsigned NOT NULL COMMENT 'Linked Permission id',
|
||||
PRIMARY KEY (`id`,`linkedId`),
|
||||
KEY `fk__rbac_linked_permissions__rbac_permissions1` (`id`),
|
||||
KEY `fk__rbac_linked_permissions__rbac_permissions2` (`linkedId`),
|
||||
CONSTRAINT `fk__rbac_linked_permissions__rbac_permissions1` FOREIGN KEY (`id`) REFERENCES `rbac_permissions` (`id`) ON DELETE CASCADE,
|
||||
CONSTRAINT `fk__rbac_linked_permissions__rbac_permissions2` FOREIGN KEY (`linkedId`) REFERENCES `rbac_permissions` (`id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Permission - Linked Permission relation';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `rbac_permissions`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `rbac_permissions` (
|
||||
`id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'Permission id',
|
||||
`name` varchar(100) NOT NULL COMMENT 'Permission name',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Permission List';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `realmcharacters`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `realmcharacters` (
|
||||
`realmid` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`acctid` int(10) unsigned NOT NULL,
|
||||
`numchars` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`realmid`,`acctid`),
|
||||
KEY `acctid` (`acctid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Realm Character Tracker';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `realmlist`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `realmlist` (
|
||||
`id` int(10) 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(5) unsigned NOT NULL DEFAULT 8085,
|
||||
`icon` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`flag` tinyint(3) unsigned NOT NULL DEFAULT 2,
|
||||
`timezone` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`allowedSecurityLevel` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`population` float unsigned NOT NULL DEFAULT 0,
|
||||
`gamebuild` int(10) unsigned NOT NULL DEFAULT 15595,
|
||||
`Region` tinyint(3) unsigned NOT NULL DEFAULT 2,
|
||||
`Battlegroup` tinyint(3) unsigned NOT NULL DEFAULT 1,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `idx_name` (`name`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Realm System';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `secret_digest`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `secret_digest` (
|
||||
`id` int(10) unsigned NOT NULL,
|
||||
`digest` varchar(100) NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `updates`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `updates` (
|
||||
`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','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(10) unsigned NOT NULL DEFAULT 0 COMMENT 'time the query takes to apply in ms.',
|
||||
PRIMARY KEY (`name`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of all applied updates in this database.';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `updates_include`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `updates_include` (
|
||||
`path` varchar(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
|
||||
`state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.',
|
||||
PRIMARY KEY (`path`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of directories where we want to include sql updates.';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `uptime`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `uptime` (
|
||||
`realmid` int(10) unsigned NOT NULL,
|
||||
`starttime` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`uptime` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`maxplayers` smallint(5) unsigned NOT NULL DEFAULT 0,
|
||||
`revision` varchar(255) NOT NULL DEFAULT 'Trinitycore',
|
||||
PRIMARY KEY (`realmid`,`starttime`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Uptime system';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,315 @@
|
||||
/*M!999999\- enable the sandbox mode */
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8mb4 */;
|
||||
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||||
/*!40103 SET TIME_ZONE='+00:00' */;
|
||||
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||||
/*!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 */;
|
||||
DROP TABLE IF EXISTS `hotfix_data`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `hotfix_data` (
|
||||
`TableHash` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RecordID` int(11) NOT NULL,
|
||||
`Deleted` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`TableHash`,`RecordID`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `item`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `item` (
|
||||
`ID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`ClassID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`SubclassID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`SoundOverrideSubclassID` int(11) NOT NULL DEFAULT 0,
|
||||
`Material` int(11) NOT NULL DEFAULT 0,
|
||||
`DisplayInfoID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`InventoryType` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`SheatheType` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`VerifiedBuild` smallint(6) NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `item_currency_cost`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `item_currency_cost` (
|
||||
`ID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`ItemID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`VerifiedBuild` smallint(6) NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`ID`),
|
||||
UNIQUE KEY `idx_itemId` (`ItemID`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `item_extended_cost`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `item_extended_cost` (
|
||||
`ID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredHonorPoints` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredArenaPoints` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredArenaSlot` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredItem1` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredItem2` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredItem3` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredItem4` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredItem5` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredItemCount1` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredItemCount2` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredItemCount3` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredItemCount4` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredItemCount5` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredPersonalArenaRating` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`ItemPurchaseGroup` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredCurrency1` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredCurrency2` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredCurrency3` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredCurrency4` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredCurrency5` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredCurrencyCount1` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredCurrencyCount2` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredCurrencyCount3` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredCurrencyCount4` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredCurrencyCount5` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredFactionId` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredFactionStanding` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequirementFlags` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredGuildLevel` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredAchievement` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`VerifiedBuild` smallint(6) NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `item_sparse`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `item_sparse` (
|
||||
`ID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`Quality` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`Flags1` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`Flags2` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`PriceRandomValue` float NOT NULL DEFAULT 0,
|
||||
`PriceVariance` float NOT NULL DEFAULT 0,
|
||||
`BuyCount` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`BuyPrice` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`SellPrice` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`InventoryType` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`AllowableClass` int(11) NOT NULL DEFAULT 0,
|
||||
`AllowableRace` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemLevel` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredLevel` int(11) NOT NULL DEFAULT 0,
|
||||
`RequiredSkill` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredSkillRank` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredSpell` int(11) NOT NULL DEFAULT 0,
|
||||
`RequiredHonorRank` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredCityRank` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredReputationFaction` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RequiredReputationRank` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`MaxCount` int(11) NOT NULL DEFAULT 0,
|
||||
`Stackable` int(11) NOT NULL DEFAULT 0,
|
||||
`ContainerSlots` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`ItemStatType1` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatType2` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatType3` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatType4` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatType5` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatType6` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatType7` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatType8` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatType9` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatType10` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatValue1` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatValue2` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatValue3` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatValue4` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatValue5` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatValue6` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatValue7` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatValue8` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatValue9` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatValue10` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatAllocation1` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatAllocation2` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatAllocation3` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatAllocation4` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatAllocation5` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatAllocation6` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatAllocation7` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatAllocation8` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatAllocation9` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatAllocation10` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatSocketCostMultiplier1` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatSocketCostMultiplier2` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatSocketCostMultiplier3` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatSocketCostMultiplier4` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatSocketCostMultiplier5` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatSocketCostMultiplier6` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatSocketCostMultiplier7` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatSocketCostMultiplier8` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatSocketCostMultiplier9` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemStatSocketCostMultiplier10` int(11) NOT NULL DEFAULT 0,
|
||||
`ScalingStatDistribution` int(11) NOT NULL DEFAULT 0,
|
||||
`DamageType` int(11) NOT NULL DEFAULT 0,
|
||||
`Delay` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`RangedModRange` float NOT NULL DEFAULT 0,
|
||||
`SpellID1` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellID2` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellID3` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellID4` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellID5` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellTrigger1` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellTrigger2` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellTrigger3` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellTrigger4` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellTrigger5` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCharges1` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCharges2` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCharges3` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCharges4` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCharges5` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCooldown1` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCooldown2` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCooldown3` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCooldown4` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCooldown5` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCategory1` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCategory2` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCategory3` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCategory4` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCategory5` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCategoryCooldown1` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCategoryCooldown2` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCategoryCooldown3` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCategoryCooldown4` int(11) NOT NULL DEFAULT 0,
|
||||
`SpellCategoryCooldown5` int(11) NOT NULL DEFAULT 0,
|
||||
`Bonding` int(11) NOT NULL DEFAULT 0,
|
||||
`Display` mediumtext DEFAULT NULL,
|
||||
`Display1` mediumtext DEFAULT NULL,
|
||||
`Display2` mediumtext DEFAULT NULL,
|
||||
`Display3` mediumtext DEFAULT NULL,
|
||||
`Description` mediumtext DEFAULT NULL,
|
||||
`PageText` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`LanguageID` int(11) NOT NULL DEFAULT 0,
|
||||
`PageMaterial` int(11) NOT NULL DEFAULT 0,
|
||||
`StartQuest` int(11) NOT NULL DEFAULT 0,
|
||||
`LockID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`Material` int(11) NOT NULL DEFAULT 0,
|
||||
`SheatheType` int(11) NOT NULL DEFAULT 0,
|
||||
`RandomProperty` int(11) NOT NULL DEFAULT 0,
|
||||
`RandomSuffix` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`ItemSet` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`AreaID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`MapID` int(11) NOT NULL DEFAULT 0,
|
||||
`BagFamily` int(11) NOT NULL DEFAULT 0,
|
||||
`TotemCategory` int(11) NOT NULL DEFAULT 0,
|
||||
`SocketColor1` int(11) NOT NULL DEFAULT 0,
|
||||
`SocketColor2` int(11) NOT NULL DEFAULT 0,
|
||||
`SocketColor3` int(11) NOT NULL DEFAULT 0,
|
||||
`Content1` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`Content2` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`Content3` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`SocketBonus` int(11) NOT NULL DEFAULT 0,
|
||||
`GemProperties` int(11) NOT NULL DEFAULT 0,
|
||||
`ArmorDamageModifier` float NOT NULL DEFAULT 0,
|
||||
`Duration` int(11) NOT NULL DEFAULT 0,
|
||||
`ItemLimitCategory` int(11) NOT NULL DEFAULT 0,
|
||||
`HolidayID` int(11) NOT NULL DEFAULT 0,
|
||||
`StatScalingFactor` float NOT NULL DEFAULT 0,
|
||||
`CurrencySubstitutionID` int(11) NOT NULL DEFAULT 0,
|
||||
`CurrencySubstitutionCount` int(11) NOT NULL DEFAULT 0,
|
||||
`VerifiedBuild` smallint(6) NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `item_sparse_locale`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `item_sparse_locale` (
|
||||
`ID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`locale` varchar(4) NOT NULL,
|
||||
`Display_lang` mediumtext DEFAULT NULL,
|
||||
`Display1_lang` mediumtext DEFAULT NULL,
|
||||
`Display2_lang` mediumtext DEFAULT NULL,
|
||||
`Display3_lang` mediumtext DEFAULT NULL,
|
||||
`Description_lang` mediumtext DEFAULT NULL,
|
||||
`VerifiedBuild` smallint(6) NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`ID`,`locale`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `key_chain`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `key_chain` (
|
||||
`ID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`Key1` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key2` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key3` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key4` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key5` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key6` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key7` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key8` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key9` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key10` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key11` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key12` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key13` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key14` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key15` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key16` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key17` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key18` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key19` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key20` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key21` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key22` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key23` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key24` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key25` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key26` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key27` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key28` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key29` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key30` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key31` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`Key32` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `updates`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `updates` (
|
||||
`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','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(10) unsigned NOT NULL DEFAULT 0 COMMENT 'time the query takes to apply in ms.',
|
||||
PRIMARY KEY (`name`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of all applied updates in this database.';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `updates_include`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `updates_include` (
|
||||
`path` varchar(200) NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
|
||||
`state` enum('RELEASED','ARCHIVED') NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.',
|
||||
PRIMARY KEY (`path`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='List of directories where we want to include sql updates.';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
@@ -0,0 +1,374 @@
|
||||
/*M!999999\- enable the sandbox mode */
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8mb4 */;
|
||||
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||||
/*!40103 SET TIME_ZONE='+00:00' */;
|
||||
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||||
/*!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 */;
|
||||
DROP TABLE IF EXISTS `backup_creature_locale_before_mangos_names`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `backup_creature_locale_before_mangos_names` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`locale` varchar(4) NOT NULL,
|
||||
`Name` text DEFAULT NULL,
|
||||
`FemaleName` text DEFAULT NULL,
|
||||
`Title` text DEFAULT NULL,
|
||||
`VerifiedBuild` smallint(6) DEFAULT 0
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `backup_creature_locale_missing_rows`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `backup_creature_locale_missing_rows` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `backup_guildmaster_gossip_options`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `backup_guildmaster_gossip_options` (
|
||||
`MenuID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`OptionID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`OptionIcon` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`OptionText` text DEFAULT NULL,
|
||||
`OptionBroadcastTextID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`OptionType` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`OptionNpcflag` bigint(20) unsigned NOT NULL DEFAULT 0,
|
||||
`ActionMenuID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`ActionPoiID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`BoxCoded` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`BoxMoney` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`BoxText` mediumtext DEFAULT NULL,
|
||||
`BoxBroadcastTextID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`VerifiedBuild` smallint(6) NOT NULL DEFAULT 0
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `backup_guildmaster_urtrun_gossip_options`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `backup_guildmaster_urtrun_gossip_options` (
|
||||
`MenuID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`OptionID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`OptionIcon` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`OptionText` text DEFAULT NULL,
|
||||
`OptionBroadcastTextID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`OptionType` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`OptionNpcflag` bigint(20) unsigned NOT NULL DEFAULT 0,
|
||||
`ActionMenuID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`ActionPoiID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`BoxCoded` tinyint(3) unsigned NOT NULL DEFAULT 0,
|
||||
`BoxMoney` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`BoxText` mediumtext DEFAULT NULL,
|
||||
`BoxBroadcastTextID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`VerifiedBuild` smallint(6) NOT NULL DEFAULT 0
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `backup_quest_locale_before_gtdb_fill`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `backup_quest_locale_before_gtdb_fill` (
|
||||
`ID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`locale` varchar(4) NOT NULL,
|
||||
`Title` text DEFAULT NULL,
|
||||
`Details` text DEFAULT NULL,
|
||||
`Objectives` text DEFAULT NULL,
|
||||
`OfferRewardText` text DEFAULT NULL,
|
||||
`RequestItemsText` text DEFAULT NULL,
|
||||
`EndText` text DEFAULT NULL,
|
||||
`CompletedText` text DEFAULT NULL,
|
||||
`ObjectiveText1` text DEFAULT NULL,
|
||||
`ObjectiveText2` text DEFAULT NULL,
|
||||
`ObjectiveText3` text DEFAULT NULL,
|
||||
`ObjectiveText4` text DEFAULT NULL,
|
||||
`QuestGiverTextWindow` text DEFAULT NULL,
|
||||
`QuestGiverTargetName` text DEFAULT NULL,
|
||||
`QuestTurnTextWindow` text DEFAULT NULL,
|
||||
`QuestTurnTargetName` text DEFAULT NULL,
|
||||
`VerifiedBuild` smallint(6) DEFAULT 0
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `backup_quest_locale_before_mangos_fill`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `backup_quest_locale_before_mangos_fill` (
|
||||
`ID` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`locale` varchar(4) NOT NULL,
|
||||
`Title` text DEFAULT NULL,
|
||||
`Details` text DEFAULT NULL,
|
||||
`Objectives` text DEFAULT NULL,
|
||||
`OfferRewardText` text DEFAULT NULL,
|
||||
`RequestItemsText` text DEFAULT NULL,
|
||||
`EndText` text DEFAULT NULL,
|
||||
`CompletedText` text DEFAULT NULL,
|
||||
`ObjectiveText1` text DEFAULT NULL,
|
||||
`ObjectiveText2` text DEFAULT NULL,
|
||||
`ObjectiveText3` text DEFAULT NULL,
|
||||
`ObjectiveText4` text DEFAULT NULL,
|
||||
`QuestGiverTextWindow` text DEFAULT NULL,
|
||||
`QuestGiverTargetName` text DEFAULT NULL,
|
||||
`QuestTurnTextWindow` text DEFAULT NULL,
|
||||
`QuestTurnTargetName` text DEFAULT NULL,
|
||||
`VerifiedBuild` smallint(6) DEFAULT 0
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `backup_quest_locale_missing_rows`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `backup_quest_locale_missing_rows` (
|
||||
`ID` int(10) unsigned NOT NULL DEFAULT 0
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `backup_quest_locale_missing_rows_before_gtdb`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `backup_quest_locale_missing_rows_before_gtdb` (
|
||||
`ID` int(10) unsigned NOT NULL DEFAULT 0
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_001`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_001` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_002`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_002` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_003`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_003` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_004`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_004` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_005`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_005` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_006`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_006` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_007`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_007` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_008`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_008` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_009`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_009` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_010`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_010` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_011`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_011` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_012`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_012` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_013`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_013` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_014`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_014` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_batch_015`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_batch_015` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `creature_name_review_exceptions`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `creature_name_review_exceptions` (
|
||||
`entry` int(10) unsigned NOT NULL,
|
||||
`EnglishName` text NOT NULL,
|
||||
`ProposedGermanName` text DEFAULT NULL,
|
||||
`reason` varchar(255) DEFAULT NULL,
|
||||
`status` varchar(32) NOT NULL DEFAULT 'open',
|
||||
`final_german_name` text DEFAULT NULL,
|
||||
`notes` text DEFAULT NULL,
|
||||
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `gtdb_quest_de`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `gtdb_quest_de` (
|
||||
`ID` int(10) unsigned NOT NULL,
|
||||
`Title` text DEFAULT NULL,
|
||||
`Details` text DEFAULT NULL,
|
||||
`Objectives` text DEFAULT NULL,
|
||||
`OfferRewardText` text DEFAULT NULL,
|
||||
`RequestItemsText` text DEFAULT NULL,
|
||||
`EndText` text DEFAULT NULL,
|
||||
`CompletedText` text DEFAULT NULL,
|
||||
`ObjectiveText1` text DEFAULT NULL,
|
||||
`ObjectiveText2` text DEFAULT NULL,
|
||||
`ObjectiveText3` text DEFAULT NULL,
|
||||
`ObjectiveText4` text DEFAULT NULL,
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `mangos_creature_de`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `mangos_creature_de` (
|
||||
`entry` int(10) unsigned NOT NULL,
|
||||
`name_de` text DEFAULT NULL,
|
||||
`subname_de` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `mangos_quest_de`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `mangos_quest_de` (
|
||||
`ID` int(10) unsigned NOT NULL,
|
||||
`Title` text DEFAULT NULL,
|
||||
`Details` text DEFAULT NULL,
|
||||
`Objectives` text DEFAULT NULL,
|
||||
`OfferRewardText` text DEFAULT NULL,
|
||||
`RequestItemsText` text DEFAULT NULL,
|
||||
`EndText` text DEFAULT NULL,
|
||||
`CompletedText` text DEFAULT NULL,
|
||||
`ObjectiveText1` text DEFAULT NULL,
|
||||
`ObjectiveText2` text DEFAULT NULL,
|
||||
`ObjectiveText3` text DEFAULT NULL,
|
||||
`ObjectiveText4` text DEFAULT NULL,
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `strong_creature_name_matches`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `strong_creature_name_matches` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`GermanName` text DEFAULT NULL,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `unresolved_creature_names`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `unresolved_creature_names` (
|
||||
`entry` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`EnglishName` varchar(100) NOT NULL,
|
||||
`MangosGermanName` text DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,233 @@
|
||||
/*M!999999\- enable the sandbox mode */
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8mb4 */;
|
||||
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||||
/*!40103 SET TIME_ZONE='+00:00' */;
|
||||
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||||
/*!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 */;
|
||||
DROP TABLE IF EXISTS `bug_report_attachments`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `bug_report_attachments` (
|
||||
`attachment_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`report_id` bigint(20) unsigned NOT NULL,
|
||||
`attachment_type` varchar(32) NOT NULL DEFAULT 'screenshot',
|
||||
`file_name` varchar(255) NOT NULL,
|
||||
`file_path` varchar(1024) NOT NULL,
|
||||
`mime_type` varchar(128) DEFAULT NULL,
|
||||
`file_size` bigint(20) unsigned DEFAULT NULL,
|
||||
`description` varchar(255) DEFAULT NULL,
|
||||
`created_at` datetime NOT NULL DEFAULT current_timestamp(),
|
||||
PRIMARY KEY (`attachment_id`),
|
||||
KEY `idx_bug_report_attachments_report_id` (`report_id`),
|
||||
KEY `idx_bug_report_attachments_type` (`attachment_type`),
|
||||
KEY `idx_bug_report_attachments_created_at` (`created_at`),
|
||||
CONSTRAINT `fk_bug_report_attachments_report` FOREIGN KEY (`report_id`) REFERENCES `bug_reports` (`report_id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `bug_reports`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `bug_reports` (
|
||||
`report_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`report_token` varchar(96) DEFAULT NULL,
|
||||
`bug_id` bigint(20) unsigned DEFAULT NULL,
|
||||
`source_type` varchar(32) NOT NULL DEFAULT 'player',
|
||||
`reported_severity` varchar(16) NOT NULL DEFAULT 'unknown',
|
||||
`status` varchar(16) NOT NULL DEFAULT 'open',
|
||||
`account_id` bigint(20) unsigned DEFAULT NULL,
|
||||
`character_guid` bigint(20) unsigned DEFAULT NULL,
|
||||
`character_name` varchar(64) DEFAULT NULL,
|
||||
`title` varchar(255) DEFAULT NULL,
|
||||
`description` text NOT NULL,
|
||||
`expected_behavior` text DEFAULT NULL,
|
||||
`reproduction_notes` text DEFAULT NULL,
|
||||
`reproducible` tinyint(1) DEFAULT NULL,
|
||||
`map_id` int(10) unsigned DEFAULT NULL,
|
||||
`zone_id` int(10) unsigned DEFAULT NULL,
|
||||
`area_id` int(10) unsigned DEFAULT NULL,
|
||||
`position_x` float DEFAULT NULL,
|
||||
`position_y` float DEFAULT NULL,
|
||||
`position_z` float DEFAULT NULL,
|
||||
`orientation` float DEFAULT NULL,
|
||||
`target_guid` bigint(20) unsigned DEFAULT NULL,
|
||||
`target_entry` int(10) unsigned DEFAULT NULL,
|
||||
`target_type` varchar(32) DEFAULT NULL,
|
||||
`quest_id` int(10) unsigned DEFAULT NULL,
|
||||
`client_build` int(10) unsigned DEFAULT NULL,
|
||||
`server_version` varchar(128) DEFAULT NULL,
|
||||
`core_commit` varchar(64) DEFAULT NULL,
|
||||
`context_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`context_json`)),
|
||||
`created_at` datetime NOT NULL DEFAULT current_timestamp(),
|
||||
`updated_at` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||
`closed_at` datetime DEFAULT NULL,
|
||||
`closed_by_account_id` bigint(20) unsigned DEFAULT NULL,
|
||||
`closure_reason` varchar(32) DEFAULT NULL,
|
||||
`closure_note` text DEFAULT NULL,
|
||||
PRIMARY KEY (`report_id`),
|
||||
UNIQUE KEY `uq_bug_reports_report_token` (`report_token`),
|
||||
KEY `idx_bug_reports_bug_id` (`bug_id`),
|
||||
KEY `idx_bug_reports_created_at` (`created_at`),
|
||||
KEY `idx_bug_reports_character` (`character_guid`),
|
||||
KEY `idx_bug_reports_quest` (`quest_id`),
|
||||
KEY `idx_bug_reports_target` (`target_type`,`target_entry`),
|
||||
KEY `idx_bug_reports_status_created` (`status`,`created_at`),
|
||||
KEY `idx_bug_reports_reported_severity` (`reported_severity`),
|
||||
KEY `idx_bug_reports_zone` (`zone_id`,`area_id`),
|
||||
CONSTRAINT `fk_bug_reports_bug` FOREIGN KEY (`bug_id`) REFERENCES `bugs` (`bug_id`) ON DELETE SET NULL
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `bug_reproduction_events`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `bug_reproduction_events` (
|
||||
`event_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`reproduction_id` bigint(20) unsigned NOT NULL,
|
||||
`source` varchar(16) NOT NULL DEFAULT 'server',
|
||||
`event_time` datetime NOT NULL DEFAULT current_timestamp(),
|
||||
`event_type` varchar(64) NOT NULL,
|
||||
`entity_type` varchar(32) DEFAULT NULL,
|
||||
`entity_id` bigint(20) unsigned DEFAULT NULL,
|
||||
`entity_guid` bigint(20) unsigned DEFAULT NULL,
|
||||
`data_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`data_json`)),
|
||||
PRIMARY KEY (`event_id`),
|
||||
KEY `idx_repro_event_reproduction` (`reproduction_id`),
|
||||
KEY `idx_repro_event_type` (`event_type`),
|
||||
KEY `idx_repro_event_time` (`event_time`),
|
||||
KEY `idx_repro_event_source` (`source`),
|
||||
CONSTRAINT `bug_reproduction_events_ibfk_1` FOREIGN KEY (`reproduction_id`) REFERENCES `bug_reproductions` (`reproduction_id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=526 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `bug_reproductions`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `bug_reproductions` (
|
||||
`reproduction_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`session_token` varchar(96) DEFAULT NULL,
|
||||
`bug_id` bigint(20) unsigned DEFAULT NULL,
|
||||
`report_id` bigint(20) unsigned DEFAULT NULL,
|
||||
`tester_account_id` bigint(20) unsigned DEFAULT NULL,
|
||||
`tester_character_guid` bigint(20) unsigned DEFAULT NULL,
|
||||
`tester_character_name` varchar(64) DEFAULT NULL,
|
||||
`result` varchar(32) NOT NULL DEFAULT 'unknown',
|
||||
`description` text DEFAULT NULL,
|
||||
`steps` text DEFAULT NULL,
|
||||
`observation` text DEFAULT NULL,
|
||||
`map_id` int(10) unsigned DEFAULT NULL,
|
||||
`zone_id` int(10) unsigned DEFAULT NULL,
|
||||
`area_id` int(10) unsigned DEFAULT NULL,
|
||||
`position_x` float DEFAULT NULL,
|
||||
`position_y` float DEFAULT NULL,
|
||||
`position_z` float DEFAULT NULL,
|
||||
`orientation` float DEFAULT NULL,
|
||||
`target_guid` bigint(20) unsigned DEFAULT NULL,
|
||||
`target_entry` int(10) unsigned DEFAULT NULL,
|
||||
`target_type` varchar(32) DEFAULT NULL,
|
||||
`quest_id` int(10) unsigned DEFAULT NULL,
|
||||
`diagnostic_focus_type` varchar(32) DEFAULT NULL,
|
||||
`diagnostic_focus_id` bigint(20) DEFAULT NULL,
|
||||
`context_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`context_json`)),
|
||||
`started_at` datetime DEFAULT NULL,
|
||||
`finished_at` datetime DEFAULT NULL,
|
||||
`created_at` datetime NOT NULL DEFAULT current_timestamp(),
|
||||
PRIMARY KEY (`reproduction_id`),
|
||||
UNIQUE KEY `uq_bug_reproductions_session_token` (`session_token`),
|
||||
KEY `idx_repro_bug` (`bug_id`),
|
||||
KEY `idx_repro_report` (`report_id`),
|
||||
KEY `idx_repro_quest` (`quest_id`),
|
||||
KEY `idx_repro_zone` (`zone_id`),
|
||||
KEY `idx_repro_created` (`created_at`),
|
||||
KEY `idx_bug_reproductions_diagnostic_focus` (`diagnostic_focus_type`,`diagnostic_focus_id`),
|
||||
CONSTRAINT `bug_reproductions_ibfk_1` FOREIGN KEY (`bug_id`) REFERENCES `bugs` (`bug_id`) ON DELETE SET NULL,
|
||||
CONSTRAINT `bug_reproductions_ibfk_2` FOREIGN KEY (`report_id`) REFERENCES `bug_reports` (`report_id`) ON DELETE SET NULL
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `bugs`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `bugs` (
|
||||
`bug_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`bug_token` varchar(96) DEFAULT NULL,
|
||||
`title` varchar(255) NOT NULL,
|
||||
`status` varchar(32) NOT NULL DEFAULT 'new',
|
||||
`severity` varchar(32) NOT NULL DEFAULT 'unknown',
|
||||
`category` varchar(32) NOT NULL DEFAULT 'unknown',
|
||||
`primary_entity_type` varchar(32) DEFAULT NULL,
|
||||
`primary_entity_id` bigint(20) unsigned DEFAULT NULL,
|
||||
`primary_map_id` int(10) unsigned DEFAULT NULL,
|
||||
`primary_zone_id` int(10) unsigned DEFAULT NULL,
|
||||
`primary_area_id` int(10) unsigned DEFAULT NULL,
|
||||
`description` text DEFAULT NULL,
|
||||
`developer_notes` mediumtext DEFAULT NULL,
|
||||
`resolution_notes` mediumtext DEFAULT NULL,
|
||||
`created_at` datetime NOT NULL DEFAULT current_timestamp(),
|
||||
`updated_at` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
|
||||
`resolved_at` datetime DEFAULT NULL,
|
||||
PRIMARY KEY (`bug_id`),
|
||||
UNIQUE KEY `uq_bugs_bug_token` (`bug_token`),
|
||||
KEY `idx_bugs_status` (`status`),
|
||||
KEY `idx_bugs_category` (`category`),
|
||||
KEY `idx_bugs_severity` (`severity`),
|
||||
KEY `idx_bugs_entity` (`primary_entity_type`,`primary_entity_id`),
|
||||
KEY `idx_bugs_created_at` (`created_at`),
|
||||
KEY `idx_bugs_zone` (`primary_zone_id`,`primary_area_id`),
|
||||
KEY `idx_bugs_updated_at` (`updated_at`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `diagnostic_event_catalog`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `diagnostic_event_catalog` (
|
||||
`event_entry` tinyint(3) unsigned NOT NULL,
|
||||
`display_name` varchar(128) NOT NULL,
|
||||
`category` varchar(32) NOT NULL DEFAULT 'seasonal',
|
||||
`enabled` tinyint(1) NOT NULL DEFAULT 1,
|
||||
`sort_order` int(11) NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`event_entry`),
|
||||
KEY `idx_diagnostic_event_catalog_enabled_sort` (`enabled`,`sort_order`,`display_name`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
DROP TABLE IF EXISTS `diagnostic_runs`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `diagnostic_runs` (
|
||||
`diagnostic_run_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`run_token` varchar(96) DEFAULT NULL,
|
||||
`bug_id` bigint(20) unsigned NOT NULL,
|
||||
`requested_by_account_id` bigint(20) unsigned DEFAULT NULL,
|
||||
`requested_by_character_guid` bigint(20) unsigned DEFAULT NULL,
|
||||
`status` varchar(16) NOT NULL DEFAULT 'queued',
|
||||
`claim_token` varchar(96) DEFAULT NULL,
|
||||
`claimed_by` varchar(255) DEFAULT NULL,
|
||||
`claimed_at` datetime DEFAULT NULL,
|
||||
`created_at` datetime NOT NULL DEFAULT current_timestamp(),
|
||||
`started_at` datetime DEFAULT NULL,
|
||||
`finished_at` datetime DEFAULT NULL,
|
||||
`output_path` text DEFAULT NULL,
|
||||
`error_message` text DEFAULT NULL,
|
||||
`wowdiag_version` varchar(64) DEFAULT NULL,
|
||||
`core_revision` varchar(64) DEFAULT NULL,
|
||||
PRIMARY KEY (`diagnostic_run_id`),
|
||||
UNIQUE KEY `uq_diagnostic_runs_token` (`run_token`),
|
||||
UNIQUE KEY `uq_diagnostic_runs_claim_token` (`claim_token`),
|
||||
KEY `idx_diagnostic_runs_bug` (`bug_id`),
|
||||
KEY `idx_diagnostic_runs_status_created` (`status`,`created_at`),
|
||||
KEY `idx_diagnostic_runs_claimed_at` (`claimed_at`),
|
||||
CONSTRAINT `fk_diagnostic_runs_bug` FOREIGN KEY (`bug_id`) REFERENCES `bugs` (`bug_id`) ON DELETE CASCADE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
Reference in new issue
Block a user