mirror of
https://github.com/ProjectSkyfire/SkyFire_548
synced 2026-08-18 06:32:13 -04:00
1693 lines
63 KiB
SQL
1693 lines
63 KiB
SQL
-- MySQL dump 10.13 Distrib 8.0.12, for Win64 (x86_64)
|
|
--
|
|
-- Host: localhost Database: characters
|
|
-- ------------------------------------------------------
|
|
-- Server version 8.0.12
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET NAMES utf8 */;
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
|
/*!40103 SET TIME_ZONE='+00:00' */;
|
|
/*!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_battle_pet`;
|
|
CREATE TABLE IF NOT EXISTS `account_battle_pet` (
|
|
`id` bigint unsigned NOT NULL DEFAULT '0',
|
|
`accountId` int unsigned NOT NULL DEFAULT '0',
|
|
`species` smallint unsigned NOT NULL DEFAULT '0',
|
|
`nickname` varchar(16) NOT NULL DEFAULT '',
|
|
`timestamp` int unsigned NOT NULL DEFAULT '0',
|
|
`level` tinyint unsigned NOT NULL DEFAULT '1',
|
|
`xp` smallint unsigned NOT NULL DEFAULT '0',
|
|
`health` smallint unsigned NOT NULL DEFAULT '0',
|
|
`maxHealth` smallint unsigned NOT NULL DEFAULT '0',
|
|
`power` smallint unsigned NOT NULL DEFAULT '0',
|
|
`speed` smallint unsigned NOT NULL DEFAULT '0',
|
|
`quality` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`breed` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`flags` smallint unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `account_battle_pet`;
|
|
|
|
DROP TABLE IF EXISTS `account_battle_pet_slots`;
|
|
CREATE TABLE IF NOT EXISTS `account_battle_pet_slots` (
|
|
`accountId` int unsigned NOT NULL DEFAULT '0',
|
|
`slot1` bigint unsigned NOT NULL DEFAULT '0',
|
|
`slot2` bigint unsigned NOT NULL DEFAULT '0',
|
|
`slot3` bigint unsigned NOT NULL DEFAULT '0',
|
|
`flags` tinyint unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`accountId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `account_battle_pet_slots`;
|
|
|
|
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',
|
|
`data` blob NOT NULL,
|
|
PRIMARY KEY (`accountId`,`type`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `account_data`;
|
|
|
|
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',
|
|
PRIMARY KEY (`accountId`,`instanceId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `account_instance_times`;
|
|
|
|
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',
|
|
PRIMARY KEY (`accountId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `account_tutorial`;
|
|
|
|
DROP TABLE IF EXISTS `addons`;
|
|
CREATE TABLE IF NOT EXISTS `addons` (
|
|
`name` varchar(120) NOT NULL DEFAULT '',
|
|
`crc` int unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`name`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Addons';
|
|
|
|
DELETE FROM `addons`;
|
|
|
|
DROP TABLE IF EXISTS `auctionhouse`;
|
|
CREATE TABLE IF NOT EXISTS `auctionhouse` (
|
|
`id` int unsigned NOT NULL DEFAULT '0',
|
|
`auctioneerguid` int unsigned NOT NULL DEFAULT '0',
|
|
`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=utf8mb3;
|
|
|
|
DELETE FROM `auctionhouse`;
|
|
|
|
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 '',
|
|
`Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
PRIMARY KEY (`Id`),
|
|
UNIQUE KEY `idx_name_ver` (`Name`,`Version`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `banned_addons`;
|
|
|
|
DROP TABLE IF EXISTS `blackmarket_auctions`;
|
|
CREATE TABLE IF NOT EXISTS `blackmarket_auctions` (
|
|
`auctionId` int unsigned NOT NULL DEFAULT '0',
|
|
`templateId` int unsigned NOT NULL DEFAULT '0',
|
|
`startTime` int unsigned NOT NULL DEFAULT '0',
|
|
`currentBidder` int unsigned NOT NULL DEFAULT '0',
|
|
`currentBid` bigint unsigned NOT NULL DEFAULT '0',
|
|
`minIncrement` bigint unsigned NOT NULL DEFAULT '0',
|
|
`numBids` int unsigned NOT NULL DEFAULT '0'
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `blackmarket_auctions`;
|
|
INSERT INTO `blackmarket_auctions` (`auctionId`, `templateId`, `startTime`, `currentBidder`, `currentBid`, `minIncrement`, `numBids`) VALUES
|
|
(1, 14, 1671994656, 0, 100000000, 5000000, 0);
|
|
|
|
DROP TABLE IF EXISTS `bugreport`;
|
|
CREATE TABLE IF NOT EXISTS `bugreport` (
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
|
|
`type` longtext NOT NULL,
|
|
`content` longtext NOT NULL,
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Debug System';
|
|
|
|
DELETE FROM `bugreport`;
|
|
|
|
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',
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `calendar_events`;
|
|
|
|
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',
|
|
`mod_rank` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`text` varchar(255) NOT NULL DEFAULT '',
|
|
PRIMARY KEY (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `calendar_invites`;
|
|
|
|
DROP TABLE IF EXISTS `channels`;
|
|
CREATE TABLE IF NOT EXISTS `channels` (
|
|
`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,
|
|
`bannedList` text,
|
|
`lastUsed` int unsigned NOT NULL,
|
|
PRIMARY KEY (`name`,`team`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Channel System';
|
|
|
|
DELETE FROM `channels`;
|
|
|
|
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 utf8 COLLATE utf8_bin NOT NULL,
|
|
`slot` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`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` bigint unsigned NOT NULL DEFAULT '0',
|
|
`playerBytes` int unsigned NOT NULL DEFAULT '0',
|
|
`playerBytes2` int 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',
|
|
`dungeonDifficulty` tinyint unsigned NOT NULL DEFAULT '1',
|
|
`raidDifficulty` tinyint unsigned NOT NULL DEFAULT '14',
|
|
`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',
|
|
`talentTree` varchar(10) NOT NULL DEFAULT '0 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 unsigned 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,
|
|
`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',
|
|
`watchedFaction` int unsigned NOT NULL DEFAULT '0',
|
|
`lfgbonusfaction` 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',
|
|
`latency` mediumint unsigned NOT NULL DEFAULT '0',
|
|
`speccount` tinyint unsigned NOT NULL DEFAULT '1',
|
|
`activespec` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`exploredZones` longtext,
|
|
`equipmentCache` longtext,
|
|
`knownTitles` longtext,
|
|
`actionBars` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`grantableLevels` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`deleteInfos_Account` int unsigned DEFAULT NULL,
|
|
`deleteInfos_Name` varchar(12) DEFAULT NULL,
|
|
`deleteDate` int unsigned DEFAULT NULL,
|
|
PRIMARY KEY (`guid`),
|
|
KEY `idx_account` (`account`),
|
|
KEY `idx_online` (`online`),
|
|
KEY `idx_name` (`name`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `characters`;
|
|
|
|
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',
|
|
`data` blob NOT NULL,
|
|
PRIMARY KEY (`guid`,`type`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_account_data`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`,`achievement`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_achievement`;
|
|
|
|
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` bigint unsigned NOT NULL,
|
|
`date` int unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`criteria`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_achievement_progress`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`,`spec`,`button`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_action`;
|
|
|
|
DROP TABLE IF EXISTS `character_arena_stats`;
|
|
CREATE TABLE IF NOT EXISTS `character_arena_stats` (
|
|
`guid` int NOT NULL,
|
|
`slot` tinyint NOT NULL,
|
|
`matchMakerRating` smallint NOT NULL,
|
|
PRIMARY KEY (`guid`,`slot`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_arena_stats`;
|
|
|
|
DROP TABLE IF EXISTS `character_aura`;
|
|
CREATE TABLE IF NOT EXISTS `character_aura` (
|
|
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`caster_guid` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier',
|
|
`item_guid` bigint unsigned NOT NULL DEFAULT '0',
|
|
`spell` mediumint unsigned NOT NULL DEFAULT '0',
|
|
`effect_mask` int unsigned NOT NULL DEFAULT '0',
|
|
`recalculate_mask` int unsigned 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`,`caster_guid`,`item_guid`,`spell`,`effect_mask`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `character_aura`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`,`bandate`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Ban List';
|
|
|
|
DELETE FROM `character_banned`;
|
|
|
|
DROP TABLE IF EXISTS `character_battleground_data`;
|
|
CREATE TABLE IF NOT EXISTS `character_battleground_data` (
|
|
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`instanceId` int unsigned NOT NULL COMMENT 'Instance Identifier',
|
|
`team` smallint unsigned NOT NULL,
|
|
`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` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
|
|
`taxiStart` int unsigned NOT NULL DEFAULT '0',
|
|
`taxiEnd` int unsigned NOT NULL DEFAULT '0',
|
|
`mountSpell` mediumint unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `character_battleground_data`;
|
|
|
|
DROP TABLE IF EXISTS `character_battleground_random`;
|
|
CREATE TABLE IF NOT EXISTS `character_battleground_random` (
|
|
`guid` int unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_battleground_random`;
|
|
|
|
DROP TABLE IF EXISTS `character_cuf_profiles`;
|
|
CREATE TABLE IF NOT EXISTS `character_cuf_profiles` (
|
|
`guid` int unsigned NOT NULL COMMENT 'Character Guid',
|
|
`id` tinyint unsigned NOT NULL COMMENT 'Profile Id (0-4)',
|
|
`name` varchar(12) NOT NULL COMMENT 'Profile Name',
|
|
`frameHeight` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Frame Height',
|
|
`frameWidth` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Frame Width',
|
|
`sortBy` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Frame Sort By',
|
|
`healthText` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Frame Health Text',
|
|
`boolOptions` int unsigned NOT NULL DEFAULT '0' COMMENT 'Many Configurable Bool Options',
|
|
`unk146` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8',
|
|
`unk147` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8',
|
|
`unk148` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int8',
|
|
`unk150` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16',
|
|
`unk152` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16',
|
|
`unk154` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Profile Unk Int16',
|
|
PRIMARY KEY (`guid`,`id`),
|
|
KEY `index` (`id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_cuf_profiles`;
|
|
|
|
DROP TABLE IF EXISTS `character_currency`;
|
|
CREATE TABLE IF NOT EXISTS `character_currency` (
|
|
`guid` int unsigned NOT NULL,
|
|
`currency` smallint unsigned NOT NULL,
|
|
`quantity` int unsigned NOT NULL,
|
|
`weekly_quantity` int unsigned NOT NULL,
|
|
`tracked_quantity` int unsigned NOT NULL,
|
|
`flags` int unsigned NOT NULL,
|
|
PRIMARY KEY (`guid`,`currency`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_currency`;
|
|
|
|
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 '',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_declinedname`;
|
|
|
|
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',
|
|
PRIMARY KEY (`setguid`),
|
|
UNIQUE KEY `idx_set` (`guid`,`setguid`,`setindex`),
|
|
KEY `Idx_setindex` (`setindex`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_equipmentsets`;
|
|
|
|
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',
|
|
PRIMARY KEY (`item_guid`),
|
|
KEY `idx_guid` (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_gifts`;
|
|
|
|
DROP TABLE IF EXISTS `character_glyphs`;
|
|
CREATE TABLE IF NOT EXISTS `character_glyphs` (
|
|
`guid` int unsigned NOT NULL,
|
|
`spec` 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`,`spec`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_glyphs`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `character_homebind`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`,`instance`),
|
|
KEY `instance` (`instance`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_instance`;
|
|
|
|
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',
|
|
PRIMARY KEY (`item`),
|
|
UNIQUE KEY `guid` (`guid`,`bag`,`slot`),
|
|
KEY `idx_guid` (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `character_inventory`;
|
|
|
|
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',
|
|
`savetime` int unsigned NOT NULL DEFAULT '0',
|
|
`abdata` text,
|
|
`PetSpecId` smallint DEFAULT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `owner` (`owner`),
|
|
KEY `idx_slot` (`slot`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Pet System';
|
|
|
|
DELETE FROM `character_pet`;
|
|
|
|
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 '',
|
|
PRIMARY KEY (`id`),
|
|
KEY `owner_key` (`owner`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_pet_declinedname`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`,`quest`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `character_queststatus`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`,`quest`),
|
|
KEY `idx_guid` (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `character_queststatus_daily`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`,`quest`),
|
|
KEY `idx_guid` (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `character_queststatus_monthly`;
|
|
|
|
DROP TABLE IF EXISTS `character_queststatus_objective`;
|
|
CREATE TABLE IF NOT EXISTS `character_queststatus_objective` (
|
|
`guid` int unsigned NOT NULL DEFAULT '0',
|
|
`objectiveId` int unsigned NOT NULL DEFAULT '0',
|
|
`amount` int unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`objectiveId`,`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_queststatus_objective`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`,`quest`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `character_queststatus_rewarded`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`,`quest`),
|
|
KEY `idx_guid` (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `character_queststatus_seasonal`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`,`quest`),
|
|
KEY `idx_guid` (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `character_queststatus_weekly`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`,`faction`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `character_reputation`;
|
|
|
|
DROP TABLE IF EXISTS `character_research_digsites`;
|
|
CREATE TABLE IF NOT EXISTS `character_research_digsites` (
|
|
`guid` int NOT NULL COMMENT 'Global Unique Identifier',
|
|
`digsiteId` int NOT NULL,
|
|
`currentFindGUID` int NOT NULL DEFAULT '0',
|
|
`remainingFindCount` tinyint NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`digsiteId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
|
|
DELETE FROM `character_research_digsites`;
|
|
|
|
DROP TABLE IF EXISTS `character_research_history`;
|
|
CREATE TABLE IF NOT EXISTS `character_research_history` (
|
|
`guid` int NOT NULL COMMENT 'Global Unique Identifier',
|
|
`projectId` int NOT NULL,
|
|
`researchCount` int NOT NULL,
|
|
`firstResearchTimestamp` int NOT NULL,
|
|
PRIMARY KEY (`guid`,`projectId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
|
|
DELETE FROM `character_research_history`;
|
|
|
|
DROP TABLE IF EXISTS `character_research_projects`;
|
|
CREATE TABLE IF NOT EXISTS `character_research_projects` (
|
|
`guid` int NOT NULL COMMENT 'Global Unique Identifier',
|
|
`projectId` int NOT NULL,
|
|
PRIMARY KEY (`guid`,`projectId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
|
|
DELETE FROM `character_research_projects`;
|
|
|
|
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,
|
|
PRIMARY KEY (`guid`,`skill`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `character_skills`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`,`friend`,`flags`),
|
|
KEY `friend` (`friend`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `character_social`;
|
|
|
|
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',
|
|
`active` tinyint unsigned NOT NULL DEFAULT '1',
|
|
`disabled` tinyint unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`spell`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `character_spell`;
|
|
|
|
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',
|
|
`item` int unsigned NOT NULL DEFAULT '0' COMMENT 'Item Identifier',
|
|
`time` int unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`spell`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_spell_cooldown`;
|
|
|
|
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',
|
|
`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 unsigned NOT NULL DEFAULT '0',
|
|
`dodgePct` float unsigned NOT NULL DEFAULT '0',
|
|
`parryPct` float unsigned NOT NULL DEFAULT '0',
|
|
`critPct` float unsigned NOT NULL DEFAULT '0',
|
|
`rangedCritPct` float unsigned NOT NULL DEFAULT '0',
|
|
`offhandCritPct` float unsigned NOT NULL DEFAULT '0',
|
|
`spellCritPct` float unsigned 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',
|
|
`mastery` int unsigned NOT NULL DEFAULT '0',
|
|
`pvpDamage` int unsigned NOT NULL DEFAULT '0',
|
|
`pvpHealing` int unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_stats`;
|
|
|
|
DROP TABLE IF EXISTS `character_talent`;
|
|
CREATE TABLE IF NOT EXISTS `character_talent` (
|
|
`guid` int unsigned NOT NULL,
|
|
`spell` mediumint unsigned NOT NULL,
|
|
`spec` tinyint unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`spell`,`spec`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_talent`;
|
|
|
|
DROP TABLE IF EXISTS `character_void_storage`;
|
|
CREATE TABLE IF NOT EXISTS `character_void_storage` (
|
|
`itemId` bigint unsigned NOT NULL,
|
|
`playerGuid` int unsigned NOT NULL,
|
|
`itemEntry` mediumint unsigned NOT NULL,
|
|
`slot` tinyint unsigned NOT NULL,
|
|
`creatorGuid` int unsigned NOT NULL DEFAULT '0',
|
|
`randomProperty` int unsigned NOT NULL DEFAULT '0',
|
|
`suffixFactor` int unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`itemId`),
|
|
UNIQUE KEY `idx_player_slot` (`playerGuid`,`slot`),
|
|
KEY `idx_player` (`playerGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `character_void_storage`;
|
|
|
|
DROP TABLE IF EXISTS `corpse`;
|
|
CREATE TABLE IF NOT EXISTS `corpse` (
|
|
`corpseGuid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`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',
|
|
`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 (`corpseGuid`),
|
|
KEY `idx_type` (`corpseType`),
|
|
KEY `idx_instance` (`instanceId`),
|
|
KEY `idx_player` (`guid`),
|
|
KEY `idx_time` (`time`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Death System';
|
|
|
|
DELETE FROM `corpse`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`,`instanceId`),
|
|
KEY `idx_instance` (`instanceId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Grid Loading System';
|
|
|
|
DELETE FROM `creature_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',
|
|
PRIMARY KEY (`guid`,`instanceId`),
|
|
KEY `idx_instance` (`instanceId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Grid Loading System';
|
|
|
|
DELETE FROM `gameobject_respawn`;
|
|
|
|
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',
|
|
PRIMARY KEY (`eventEntry`,`condition_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `game_event_condition_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',
|
|
PRIMARY KEY (`eventEntry`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `game_event_save`;
|
|
|
|
DROP TABLE IF EXISTS `gm_subsurveys`;
|
|
CREATE TABLE IF NOT EXISTS `gm_subsurveys` (
|
|
`surveyId` int unsigned NOT NULL AUTO_INCREMENT,
|
|
`subsurveyId` int unsigned NOT NULL DEFAULT '0',
|
|
`rank` int unsigned NOT NULL DEFAULT '0',
|
|
`comment` text NOT NULL,
|
|
PRIMARY KEY (`surveyId`,`subsurveyId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `gm_subsurveys`;
|
|
|
|
DROP TABLE IF EXISTS `gm_surveys`;
|
|
CREATE TABLE IF NOT EXISTS `gm_surveys` (
|
|
`surveyId` int unsigned NOT NULL AUTO_INCREMENT,
|
|
`guid` int unsigned NOT NULL DEFAULT '0',
|
|
`mainSurvey` int unsigned NOT NULL DEFAULT '0',
|
|
`overallComment` longtext NOT NULL,
|
|
`createTime` int unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`surveyId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `gm_surveys`;
|
|
|
|
DROP TABLE IF EXISTS `gm_tickets`;
|
|
CREATE TABLE IF NOT EXISTS `gm_tickets` (
|
|
`ticketId` int unsigned NOT NULL AUTO_INCREMENT,
|
|
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier of ticket creator',
|
|
`name` varchar(12) NOT NULL COMMENT 'Name of ticket creator',
|
|
`message` 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',
|
|
`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',
|
|
`haveTicket` tinyint unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`ticketId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `gm_tickets`;
|
|
|
|
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` text NOT NULL,
|
|
`motd` varchar(128) NOT NULL DEFAULT '',
|
|
`createdate` int unsigned NOT NULL DEFAULT '0',
|
|
`BankMoney` bigint unsigned NOT NULL DEFAULT '0',
|
|
`level` int unsigned DEFAULT '1',
|
|
`experience` bigint unsigned DEFAULT '0',
|
|
`todayExperience` bigint unsigned DEFAULT '0',
|
|
PRIMARY KEY (`guildid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Guild System';
|
|
|
|
DELETE FROM `guild`;
|
|
|
|
DROP TABLE IF EXISTS `guild_achievement`;
|
|
CREATE TABLE IF NOT EXISTS `guild_achievement` (
|
|
`guildId` int unsigned NOT NULL,
|
|
`achievement` smallint unsigned NOT NULL,
|
|
`date` int unsigned NOT NULL DEFAULT '0',
|
|
`guids` text NOT NULL,
|
|
PRIMARY KEY (`guildId`,`achievement`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `guild_achievement`;
|
|
|
|
DROP TABLE IF EXISTS `guild_achievement_progress`;
|
|
CREATE TABLE IF NOT EXISTS `guild_achievement_progress` (
|
|
`guildId` int unsigned NOT NULL,
|
|
`criteria` smallint unsigned NOT NULL,
|
|
`counter` bigint unsigned NOT NULL,
|
|
`date` int unsigned NOT NULL DEFAULT '0',
|
|
`completedGuid` int unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guildId`,`criteria`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `guild_achievement_progress`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guildid`,`LogGuid`,`TabId`),
|
|
KEY `guildid_key` (`guildid`),
|
|
KEY `Idx_PlayerGuid` (`PlayerGuid`),
|
|
KEY `Idx_LogGuid` (`LogGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `guild_bank_eventlog`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guildid`,`TabId`,`SlotId`),
|
|
KEY `guildid_key` (`guildid`),
|
|
KEY `Idx_item_guid` (`item_guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `guild_bank_item`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guildid`,`TabId`,`rid`),
|
|
KEY `guildid_key` (`guildid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `guild_bank_right`;
|
|
|
|
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,
|
|
PRIMARY KEY (`guildid`,`TabId`),
|
|
KEY `guildid_key` (`guildid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `guild_bank_tab`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guildid`,`LogGuid`),
|
|
KEY `Idx_PlayerGuid1` (`PlayerGuid1`),
|
|
KEY `Idx_PlayerGuid2` (`PlayerGuid2`),
|
|
KEY `Idx_LogGuid` (`LogGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Guild Eventlog';
|
|
|
|
DELETE FROM `guild_eventlog`;
|
|
|
|
DROP TABLE IF EXISTS `guild_finder_applicant`;
|
|
CREATE TABLE IF NOT EXISTS `guild_finder_applicant` (
|
|
`guildId` int unsigned DEFAULT NULL,
|
|
`playerGuid` int unsigned DEFAULT NULL,
|
|
`availability` tinyint unsigned DEFAULT '0',
|
|
`classRole` tinyint unsigned DEFAULT '0',
|
|
`interests` tinyint unsigned DEFAULT '0',
|
|
`comment` varchar(255) DEFAULT NULL,
|
|
`submitTime` int unsigned DEFAULT NULL,
|
|
UNIQUE KEY `guildId` (`guildId`,`playerGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
|
|
DELETE FROM `guild_finder_applicant`;
|
|
|
|
DROP TABLE IF EXISTS `guild_finder_guild_settings`;
|
|
CREATE TABLE IF NOT EXISTS `guild_finder_guild_settings` (
|
|
`guildId` int unsigned NOT NULL,
|
|
`availability` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`classRoles` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`interests` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`level` tinyint unsigned NOT NULL DEFAULT '1',
|
|
`listed` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`comment` varchar(255) DEFAULT NULL,
|
|
PRIMARY KEY (`guildId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
|
|
DELETE FROM `guild_finder_guild_settings`;
|
|
|
|
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,
|
|
`member_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`,`member_rank`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Guild System';
|
|
|
|
DELETE FROM `guild_member`;
|
|
|
|
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',
|
|
`tab6` int unsigned NOT NULL DEFAULT '0',
|
|
`tab7` int unsigned NOT NULL DEFAULT '0',
|
|
`money` int unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Guild Member Daily Withdraws';
|
|
|
|
DELETE FROM `guild_member_withdraw`;
|
|
|
|
DROP TABLE IF EXISTS `guild_newslog`;
|
|
CREATE TABLE IF NOT EXISTS `guild_newslog` (
|
|
`guildid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Guild Identificator',
|
|
`LogGuid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Log record identificator - auxiliary column',
|
|
`EventType` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Event type',
|
|
`PlayerGuid` int unsigned NOT NULL DEFAULT '0',
|
|
`Flags` int unsigned NOT NULL DEFAULT '0',
|
|
`Value` int unsigned NOT NULL DEFAULT '0',
|
|
`TimeStamp` int unsigned NOT NULL DEFAULT '0' COMMENT 'Event UNIX time',
|
|
PRIMARY KEY (`guildid`,`LogGuid`),
|
|
KEY `guildid_key` (`guildid`),
|
|
KEY `Idx_PlayerGuid` (`PlayerGuid`),
|
|
KEY `Idx_LogGuid` (`LogGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `guild_newslog`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guildid`,`rid`),
|
|
KEY `Idx_rid` (`rid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Guild System';
|
|
|
|
DELETE FROM `guild_rank`;
|
|
|
|
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',
|
|
`data` tinytext NOT NULL,
|
|
PRIMARY KEY (`id`),
|
|
KEY `map` (`map`),
|
|
KEY `resettime` (`resettime`),
|
|
KEY `difficulty` (`difficulty`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `instance`;
|
|
|
|
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',
|
|
PRIMARY KEY (`mapid`,`difficulty`),
|
|
KEY `difficulty` (`difficulty`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `instance_reset`;
|
|
INSERT INTO `instance_reset` (`mapid`, `difficulty`, `resettime`) VALUES
|
|
(33, 2, 1672027200),
|
|
(36, 2, 1672027200),
|
|
(249, 3, 1672459200),
|
|
(249, 4, 1672459200),
|
|
(269, 2, 1672027200),
|
|
(409, 9, 1672459200),
|
|
(469, 9, 1672459200),
|
|
(509, 3, 1672113600),
|
|
(531, 9, 1672459200),
|
|
(532, 3, 1672459200),
|
|
(533, 3, 1672459200),
|
|
(533, 4, 1672459200),
|
|
(534, 4, 1672459200),
|
|
(540, 2, 1672027200),
|
|
(542, 2, 1672027200),
|
|
(543, 2, 1672027200),
|
|
(544, 4, 1672459200),
|
|
(545, 2, 1672027200),
|
|
(546, 2, 1672027200),
|
|
(547, 2, 1672027200),
|
|
(548, 4, 1672459200),
|
|
(550, 4, 1672459200),
|
|
(552, 2, 1672027200),
|
|
(553, 2, 1672027200),
|
|
(554, 2, 1672027200),
|
|
(555, 2, 1672027200),
|
|
(556, 2, 1672027200),
|
|
(557, 2, 1672027200),
|
|
(558, 2, 1672027200),
|
|
(560, 2, 1672027200),
|
|
(564, 4, 1672459200),
|
|
(565, 4, 1672459200),
|
|
(568, 2, 1672027200),
|
|
(574, 2, 1672027200),
|
|
(575, 2, 1672027200),
|
|
(576, 2, 1672027200),
|
|
(578, 2, 1672027200),
|
|
(580, 4, 1672459200),
|
|
(585, 2, 1672027200),
|
|
(595, 2, 1672027200),
|
|
(598, 2, 1672027200),
|
|
(599, 2, 1672027200),
|
|
(600, 2, 1672027200),
|
|
(601, 2, 1672027200),
|
|
(602, 2, 1672027200),
|
|
(603, 3, 1672459200),
|
|
(603, 4, 1672459200),
|
|
(604, 2, 1672027200),
|
|
(608, 2, 1672027200),
|
|
(615, 3, 1672459200),
|
|
(615, 4, 1672459200),
|
|
(616, 3, 1672459200),
|
|
(616, 4, 1672459200),
|
|
(619, 2, 1672027200),
|
|
(624, 3, 1672459200),
|
|
(624, 4, 1672459200),
|
|
(631, 3, 1672459200),
|
|
(631, 4, 1672459200),
|
|
(631, 5, 1672459200),
|
|
(631, 6, 1672459200),
|
|
(632, 2, 1672027200),
|
|
(643, 2, 1672027200),
|
|
(644, 2, 1672027200),
|
|
(645, 2, 1672027200),
|
|
(649, 3, 1672459200),
|
|
(649, 4, 1672459200),
|
|
(649, 5, 1672459200),
|
|
(649, 6, 1672459200),
|
|
(650, 2, 1672027200),
|
|
(657, 2, 1672027200),
|
|
(658, 2, 1672027200),
|
|
(668, 2, 1672027200),
|
|
(669, 3, 1672459200),
|
|
(669, 4, 1672459200),
|
|
(669, 5, 1672459200),
|
|
(669, 6, 1672459200),
|
|
(670, 2, 1672027200),
|
|
(671, 3, 1672459200),
|
|
(671, 4, 1672459200),
|
|
(671, 5, 1672459200),
|
|
(671, 6, 1672459200),
|
|
(720, 3, 1672459200),
|
|
(720, 4, 1672459200),
|
|
(720, 5, 1672459200),
|
|
(720, 6, 1672459200),
|
|
(724, 3, 1672459200),
|
|
(724, 4, 1672459200),
|
|
(724, 5, 1672459200),
|
|
(724, 6, 1672459200),
|
|
(725, 2, 1672027200),
|
|
(754, 3, 1672459200),
|
|
(754, 4, 1672459200),
|
|
(754, 5, 1672459200),
|
|
(754, 6, 1672459200),
|
|
(755, 2, 1672027200),
|
|
(757, 3, 1672459200),
|
|
(757, 4, 1672459200),
|
|
(757, 5, 1672459200),
|
|
(757, 6, 1672459200),
|
|
(859, 2, 1672027200),
|
|
(938, 2, 1672027200),
|
|
(939, 2, 1672027200),
|
|
(940, 2, 1672027200),
|
|
(959, 2, 1672027200),
|
|
(960, 2, 1672027200),
|
|
(961, 2, 1672027200),
|
|
(962, 2, 1672027200),
|
|
(967, 3, 1672459200),
|
|
(967, 4, 1672459200),
|
|
(967, 5, 1672459200),
|
|
(967, 6, 1672459200),
|
|
(994, 2, 1672027200),
|
|
(996, 3, 1672459200),
|
|
(996, 4, 1672459200),
|
|
(996, 5, 1672459200),
|
|
(996, 6, 1672459200),
|
|
(1001, 2, 1672027200),
|
|
(1004, 2, 1672027200),
|
|
(1007, 2, 1672027200),
|
|
(1008, 3, 1672459200),
|
|
(1008, 4, 1672459200),
|
|
(1008, 5, 1672459200),
|
|
(1008, 6, 1672459200),
|
|
(1009, 3, 1672459200),
|
|
(1009, 4, 1672459200),
|
|
(1009, 5, 1672459200),
|
|
(1009, 6, 1672459200),
|
|
(1011, 2, 1672027200),
|
|
(1098, 3, 1672459200),
|
|
(1098, 4, 1672459200),
|
|
(1098, 5, 1672459200),
|
|
(1098, 6, 1672459200),
|
|
(1136, 3, 1672459200),
|
|
(1136, 4, 1672459200),
|
|
(1136, 5, 1672459200),
|
|
(1136, 6, 1672459200);
|
|
|
|
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',
|
|
`charges` tinytext,
|
|
`flags` mediumint unsigned NOT NULL DEFAULT '0',
|
|
`enchantments` text NOT NULL,
|
|
`randomPropertyId` smallint NOT NULL DEFAULT '0',
|
|
`reforgeID` int NOT NULL DEFAULT '0',
|
|
`transmogrifyId` int 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`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Item System';
|
|
|
|
DELETE FROM `item_instance`;
|
|
|
|
DROP TABLE IF EXISTS `item_loot_items`;
|
|
CREATE TABLE IF NOT EXISTS `item_loot_items` (
|
|
`container_id` int unsigned NOT NULL DEFAULT '0' COMMENT 'guid of container (item_instance.guid)',
|
|
`item_id` int unsigned NOT NULL DEFAULT '0' COMMENT 'loot item entry (item_instance.itemEntry)',
|
|
`item_count` int NOT NULL DEFAULT '0' COMMENT 'stack size',
|
|
`follow_rules` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'follow loot rules',
|
|
`ffa` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'free-for-all',
|
|
`blocked` tinyint(1) NOT NULL DEFAULT '0',
|
|
`counted` tinyint(1) NOT NULL DEFAULT '0',
|
|
`under_threshold` tinyint(1) NOT NULL DEFAULT '0',
|
|
`needs_quest` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'quest drop',
|
|
`rnd_prop` int NOT NULL DEFAULT '0' COMMENT 'random enchantment added when originally rolled',
|
|
`rnd_suffix` int NOT NULL DEFAULT '0' COMMENT 'random suffix added when originally rolled'
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
|
|
DELETE FROM `item_loot_items`;
|
|
|
|
DROP TABLE IF EXISTS `item_loot_money`;
|
|
CREATE TABLE IF NOT EXISTS `item_loot_money` (
|
|
`container_id` int NOT NULL DEFAULT '0' COMMENT 'guid of container (item_instance.guid)',
|
|
`money` int NOT NULL DEFAULT '0' COMMENT 'money loot (in copper)'
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
|
|
DELETE FROM `item_loot_money`;
|
|
|
|
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',
|
|
PRIMARY KEY (`item_guid`,`player_guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Item Refund System';
|
|
|
|
DELETE FROM `item_refund_instance`;
|
|
|
|
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',
|
|
`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=utf8mb3 COMMENT='Item Refund System';
|
|
|
|
DELETE FROM `item_soulbound_trade_data`;
|
|
|
|
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',
|
|
PRIMARY KEY (`reportId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player System';
|
|
|
|
DELETE FROM `lag_reports`;
|
|
|
|
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',
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='LFG Data';
|
|
|
|
DELETE FROM `lfg_data`;
|
|
|
|
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',
|
|
`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` bigint unsigned NOT NULL DEFAULT '0',
|
|
`cod` bigint unsigned NOT NULL DEFAULT '0',
|
|
`checked` tinyint unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`id`),
|
|
KEY `idx_receiver` (`receiver`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Mail System';
|
|
|
|
DELETE FROM `mail`;
|
|
|
|
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',
|
|
PRIMARY KEY (`item_guid`),
|
|
KEY `idx_receiver` (`receiver`),
|
|
KEY `idx_mail_id` (`mail_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 ROW_FORMAT=DYNAMIC;
|
|
|
|
DELETE FROM `mail_items`;
|
|
|
|
DROP TABLE IF EXISTS `parties`;
|
|
CREATE TABLE IF NOT EXISTS `parties` (
|
|
`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` int unsigned NOT NULL,
|
|
`icon2` int unsigned NOT NULL,
|
|
`icon3` int unsigned NOT NULL,
|
|
`icon4` int unsigned NOT NULL,
|
|
`icon5` int unsigned NOT NULL,
|
|
`icon6` int unsigned NOT NULL,
|
|
`icon7` int unsigned NOT NULL,
|
|
`icon8` int unsigned NOT NULL,
|
|
`partyType` tinyint unsigned NOT NULL,
|
|
`difficulty` tinyint unsigned NOT NULL DEFAULT '1',
|
|
`raidDifficulty` tinyint unsigned NOT NULL DEFAULT '14',
|
|
PRIMARY KEY (`guid`),
|
|
KEY `leaderGuid` (`leaderGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='parties';
|
|
|
|
DELETE FROM `parties`;
|
|
|
|
DROP TABLE IF EXISTS `party_instance`;
|
|
CREATE TABLE IF NOT EXISTS `party_instance` (
|
|
`guid` int unsigned NOT NULL DEFAULT '0',
|
|
`instance` int unsigned NOT NULL DEFAULT '0',
|
|
`permanent` tinyint unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`instance`),
|
|
KEY `instance` (`instance`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `party_instance`;
|
|
|
|
DROP TABLE IF EXISTS `party_member`;
|
|
CREATE TABLE IF NOT EXISTS `party_member` (
|
|
`guid` int unsigned NOT NULL,
|
|
`memberGuid` int unsigned NOT NULL,
|
|
`memberFlags` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`subparty` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`roles` tinyint unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`memberGuid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='partys';
|
|
|
|
DELETE FROM `party_member`;
|
|
|
|
DROP TABLE IF EXISTS `petition`;
|
|
CREATE TABLE IF NOT EXISTS `petition` (
|
|
`ownerguid` int unsigned NOT NULL,
|
|
`petitionguid` int unsigned DEFAULT '0',
|
|
`name` varchar(24) NOT NULL,
|
|
`type` tinyint unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`ownerguid`,`type`),
|
|
UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Guild System';
|
|
|
|
DELETE FROM `petition`;
|
|
|
|
DROP TABLE IF EXISTS `petition_sign`;
|
|
CREATE TABLE IF NOT EXISTS `petition_sign` (
|
|
`ownerguid` int unsigned NOT NULL,
|
|
`petitionguid` int unsigned NOT NULL DEFAULT '0',
|
|
`playerguid` int unsigned NOT NULL DEFAULT '0',
|
|
`player_account` int unsigned NOT NULL DEFAULT '0',
|
|
`type` tinyint unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`petitionguid`,`playerguid`),
|
|
KEY `Idx_playerguid` (`playerguid`),
|
|
KEY `Idx_ownerguid` (`ownerguid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Guild System';
|
|
|
|
DELETE FROM `petition_sign`;
|
|
|
|
DROP TABLE IF EXISTS `pet_aura`;
|
|
CREATE TABLE IF NOT EXISTS `pet_aura` (
|
|
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`caster_guid` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Full Global Unique Identifier',
|
|
`spell` mediumint unsigned NOT NULL DEFAULT '0',
|
|
`effect_mask` int unsigned NOT NULL DEFAULT '0',
|
|
`recalculate_mask` int unsigned DEFAULT '0',
|
|
`stackcount` tinyint unsigned NOT NULL DEFAULT '1',
|
|
`amount0` mediumint NOT NULL,
|
|
`amount1` mediumint NOT NULL,
|
|
`amount2` mediumint NOT NULL,
|
|
`base_amount0` mediumint NOT NULL,
|
|
`base_amount1` mediumint NOT NULL,
|
|
`base_amount2` mediumint NOT NULL,
|
|
`maxduration` int NOT NULL DEFAULT '0',
|
|
`remaintime` int NOT NULL DEFAULT '0',
|
|
`remaincharges` tinyint unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`spell`,`effect_mask`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Pet System';
|
|
|
|
DELETE FROM `pet_aura`;
|
|
|
|
DROP TABLE IF EXISTS `pet_spell`;
|
|
CREATE TABLE IF NOT EXISTS `pet_spell` (
|
|
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
|
`spell` mediumint unsigned NOT NULL DEFAULT '0' COMMENT 'Spell Identifier',
|
|
`active` tinyint unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`spell`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Pet System';
|
|
|
|
DELETE FROM `pet_spell`;
|
|
|
|
DROP TABLE IF EXISTS `pet_spell_cooldown`;
|
|
CREATE TABLE IF NOT EXISTS `pet_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',
|
|
`time` int unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`guid`,`spell`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `pet_spell_cooldown`;
|
|
|
|
DROP TABLE IF EXISTS `pool_quest_save`;
|
|
CREATE TABLE IF NOT EXISTS `pool_quest_save` (
|
|
`pool_id` int unsigned NOT NULL DEFAULT '0',
|
|
`quest_id` int unsigned NOT NULL DEFAULT '0',
|
|
PRIMARY KEY (`pool_id`,`quest_id`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `pool_quest_save`;
|
|
INSERT INTO `pool_quest_save` (`pool_id`, `quest_id`) VALUES
|
|
(348, 24635),
|
|
(349, 14104),
|
|
(350, 13904),
|
|
(351, 13914),
|
|
(352, 11379),
|
|
(353, 11665),
|
|
(354, 13422),
|
|
(356, 11372),
|
|
(357, 11387),
|
|
(358, 25159),
|
|
(359, 25154),
|
|
(360, 29364),
|
|
(361, 26235),
|
|
(362, 29332),
|
|
(363, 26192),
|
|
(364, 29355),
|
|
(365, 29313),
|
|
(366, 26543),
|
|
(367, 29348),
|
|
(368, 29361),
|
|
(369, 26414),
|
|
(370, 29347),
|
|
(371, 29323),
|
|
(372, 28063),
|
|
(372, 28130),
|
|
(373, 27949),
|
|
(373, 28046),
|
|
(374, 27975),
|
|
(374, 27978),
|
|
(375, 27944),
|
|
(375, 27972),
|
|
(376, 28687),
|
|
(376, 28721),
|
|
(377, 28678),
|
|
(377, 28683),
|
|
(378, 28698),
|
|
(378, 28700),
|
|
(379, 28690),
|
|
(379, 28692),
|
|
(380, 12726),
|
|
(381, 12762),
|
|
(382, 12741),
|
|
(383, 12760),
|
|
(5662, 13673),
|
|
(5663, 13764),
|
|
(5664, 13770),
|
|
(5665, 13774),
|
|
(5666, 13778),
|
|
(5667, 13783),
|
|
(5668, 13670),
|
|
(5669, 13616),
|
|
(5670, 13741),
|
|
(5671, 13746),
|
|
(5672, 13757),
|
|
(5673, 13753),
|
|
(5674, 13101),
|
|
(5675, 13115),
|
|
(5676, 13834),
|
|
(5677, 12962),
|
|
(5678, 24581),
|
|
(12001, 31527),
|
|
(12002, 31706),
|
|
(12003, 31234);
|
|
|
|
DROP TABLE IF EXISTS `reserved_name`;
|
|
CREATE TABLE IF NOT EXISTS `reserved_name` (
|
|
`name` varchar(12) NOT NULL DEFAULT '',
|
|
PRIMARY KEY (`name`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Player Reserved Names';
|
|
|
|
DELETE FROM `reserved_name`;
|
|
|
|
DROP TABLE IF EXISTS `ticket_bug`;
|
|
CREATE TABLE IF NOT EXISTS `ticket_bug` (
|
|
`ticketId` int unsigned NOT NULL,
|
|
`playerGuid` bigint unsigned NOT NULL,
|
|
`bugNote` text NOT NULL,
|
|
`ticketCreateTime` 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',
|
|
`orientation` float NOT NULL DEFAULT '0',
|
|
`closedBy` bigint NOT NULL DEFAULT '0',
|
|
`assignedTo` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned',
|
|
`comment` text NOT NULL,
|
|
PRIMARY KEY (`ticketId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `ticket_bug`;
|
|
|
|
DROP TABLE IF EXISTS `ticket_suggest`;
|
|
CREATE TABLE IF NOT EXISTS `ticket_suggest` (
|
|
`ticketId` int unsigned NOT NULL,
|
|
`playerGuid` bigint unsigned NOT NULL,
|
|
`suggestNote` text NOT NULL,
|
|
`ticketCreateTime` 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',
|
|
`orientation` float NOT NULL DEFAULT '0',
|
|
`closedBy` bigint NOT NULL DEFAULT '0',
|
|
`assignedTo` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned',
|
|
`comment` text NOT NULL,
|
|
PRIMARY KEY (`ticketId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `ticket_suggest`;
|
|
|
|
DROP TABLE IF EXISTS `warden_action`;
|
|
CREATE TABLE IF NOT EXISTS `warden_action` (
|
|
`wardenId` smallint unsigned NOT NULL,
|
|
`action` tinyint unsigned DEFAULT NULL,
|
|
PRIMARY KEY (`wardenId`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
|
|
|
DELETE FROM `warden_action`;
|
|
|
|
DROP TABLE IF EXISTS `worldstates`;
|
|
CREATE TABLE IF NOT EXISTS `worldstates` (
|
|
`entry` int unsigned NOT NULL DEFAULT '0',
|
|
`value` int unsigned NOT NULL DEFAULT '0',
|
|
`comment` tinytext,
|
|
PRIMARY KEY (`entry`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COMMENT='Variable Saves';
|
|
|
|
DELETE FROM `worldstates`;
|
|
INSERT INTO `worldstates` (`entry`, `value`, `comment`) VALUES
|
|
(3781, 9000000, NULL),
|
|
(3801, 0, NULL),
|
|
(3802, 1, NULL),
|
|
(20001, 1672574400, 'NextArenaPointDistributionTime'),
|
|
(20002, 1672599368, 'NextWeeklyQuestResetTime'),
|
|
(20003, 1672056000, 'NextBGRandomDailyResetTime'),
|
|
(20004, 0, 'cleaning_flags'),
|
|
(20006, 1672056000, NULL),
|
|
(20007, 1672552800, NULL),
|
|
(20050, 2, NULL);
|
|
|
|
/*!40103 SET TIME_ZONE=IFNULL(@OLD_TIME_ZONE, 'system') */;
|
|
/*!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) */;
|
|
|
|
-- Dump completed on 20212-12-15 12:26:10
|