DB Updates
This commit is contained in:
+69
-67
@@ -24,31 +24,28 @@ DROP TABLE IF EXISTS `account`;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `account` (
|
||||
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
|
||||
`username` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`salt` binary(32) DEFAULT NULL,
|
||||
`verifier` binary(32) DEFAULT NULL,
|
||||
`username` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci 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,
|
||||
`sha_pass_hash` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`v` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'dummy value, use `verifier` instead',
|
||||
`s` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'dummy value, use `salt` instead',
|
||||
`totp_secret` varbinary(128) DEFAULT NULL,
|
||||
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`reg_mail` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`reg_mail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`joindate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`last_ip` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
||||
`last_attempt_ip` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
||||
`last_ip` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
||||
`last_attempt_ip` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
||||
`failed_logins` int unsigned NOT NULL DEFAULT '0',
|
||||
`locked` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`lock_country` varchar(2) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '00',
|
||||
`lock_country` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '00',
|
||||
`last_login` timestamp NULL DEFAULT NULL,
|
||||
`online` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`expansion` tinyint unsigned NOT NULL DEFAULT '8',
|
||||
`mutetime` bigint NOT NULL DEFAULT '0',
|
||||
`mutereason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`muteby` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`mutereason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`muteby` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`locale` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`os` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`os` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`recruiter` int unsigned NOT NULL DEFAULT '0',
|
||||
`battlenet_account` int unsigned DEFAULT NULL,
|
||||
`battlenet_index` tinyint unsigned DEFAULT NULL,
|
||||
@@ -79,7 +76,7 @@ CREATE TABLE `account_access` (
|
||||
`AccountID` int unsigned NOT NULL,
|
||||
`SecurityLevel` tinyint unsigned NOT NULL,
|
||||
`RealmID` int NOT NULL DEFAULT '-1',
|
||||
`Comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`Comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
PRIMARY KEY (`AccountID`,`RealmID`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -104,8 +101,8 @@ CREATE TABLE `account_banned` (
|
||||
`id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account id',
|
||||
`bandate` int unsigned NOT NULL DEFAULT '0',
|
||||
`unbandate` int unsigned NOT NULL DEFAULT '0',
|
||||
`bannedby` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`banreason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`bannedby` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`banreason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`active` tinyint unsigned NOT NULL DEFAULT '1',
|
||||
PRIMARY KEY (`id`,`bandate`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Ban List';
|
||||
@@ -132,7 +129,7 @@ CREATE TABLE `account_last_played_character` (
|
||||
`region` tinyint unsigned NOT NULL,
|
||||
`battlegroup` tinyint unsigned NOT NULL,
|
||||
`realmId` int unsigned DEFAULT NULL,
|
||||
`characterName` varchar(12) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`characterName` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`characterGUID` bigint unsigned DEFAULT NULL,
|
||||
`lastPlayedTime` int unsigned DEFAULT NULL,
|
||||
PRIMARY KEY (`accountId`,`region`,`battlegroup`)
|
||||
@@ -159,8 +156,8 @@ CREATE TABLE `account_muted` (
|
||||
`guid` int unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`mutedate` int unsigned NOT NULL DEFAULT '0',
|
||||
`mutetime` int unsigned NOT NULL DEFAULT '0',
|
||||
`mutedby` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`mutereason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`mutedby` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`mutereason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci 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 */;
|
||||
@@ -185,7 +182,7 @@ CREATE TABLE `autobroadcast` (
|
||||
`realmid` int NOT NULL DEFAULT '-1',
|
||||
`id` tinyint unsigned NOT NULL AUTO_INCREMENT,
|
||||
`weight` tinyint unsigned DEFAULT '1',
|
||||
`text` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`text` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
PRIMARY KEY (`id`,`realmid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -208,11 +205,11 @@ DROP TABLE IF EXISTS `battle_pet_declinedname`;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `battle_pet_declinedname` (
|
||||
`guid` bigint NOT NULL,
|
||||
`genitive` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`dative` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`accusative` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`instrumental` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`prepositional` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`genitive` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`dative` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`accusative` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`instrumental` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`prepositional` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`guid`),
|
||||
CONSTRAINT `fk_battle_pet__battle_pet_declinedname` FOREIGN KEY (`guid`) REFERENCES `battle_pets` (`guid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
@@ -270,7 +267,7 @@ CREATE TABLE `battle_pets` (
|
||||
`health` int NOT NULL DEFAULT '1',
|
||||
`quality` tinyint NOT NULL DEFAULT '0',
|
||||
`flags` smallint NOT NULL DEFAULT '0',
|
||||
`name` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`name` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`nameTimestamp` bigint NOT NULL DEFAULT '0',
|
||||
`owner` bigint DEFAULT NULL,
|
||||
`ownerRealmId` int DEFAULT NULL,
|
||||
@@ -298,8 +295,8 @@ CREATE TABLE `battlenet_account_bans` (
|
||||
`id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account id',
|
||||
`bandate` int unsigned NOT NULL DEFAULT '0',
|
||||
`unbandate` int unsigned NOT NULL DEFAULT '0',
|
||||
`bannedby` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`banreason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`bannedby` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`banreason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
PRIMARY KEY (`id`,`bandate`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Ban List';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -395,19 +392,19 @@ DROP TABLE IF EXISTS `battlenet_accounts`;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `battlenet_accounts` (
|
||||
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
|
||||
`email` varchar(320) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`sha_pass_hash` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`email` varchar(320) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`sha_pass_hash` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`joindate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`last_ip` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
||||
`last_ip` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
||||
`failed_logins` int unsigned NOT NULL DEFAULT '0',
|
||||
`locked` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`lock_country` varchar(2) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '00',
|
||||
`lock_country` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '00',
|
||||
`last_login` timestamp NULL DEFAULT NULL,
|
||||
`online` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`locale` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`os` varchar(4) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`os` varchar(4) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`LastCharacterUndelete` int unsigned NOT NULL DEFAULT '0',
|
||||
`LoginTicket` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`LoginTicket` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`LoginTicketExpiry` int unsigned DEFAULT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Account System';
|
||||
@@ -483,12 +480,12 @@ CREATE TABLE `build_info` (
|
||||
`majorVersion` int DEFAULT NULL,
|
||||
`minorVersion` int DEFAULT NULL,
|
||||
`bugfixVersion` int DEFAULT NULL,
|
||||
`hotfixVersion` char(3) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`winAuthSeed` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`win64AuthSeed` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`mac64AuthSeed` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`winChecksumSeed` varchar(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`macChecksumSeed` varchar(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`hotfixVersion` char(3) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`winAuthSeed` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`win64AuthSeed` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`mac64AuthSeed` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`winChecksumSeed` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`macChecksumSeed` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
PRIMARY KEY (`build`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -623,7 +620,9 @@ INSERT INTO `build_info` VALUES
|
||||
(41323,9,1,5,NULL,NULL,'E53D0DF1FAC1A59A1C8071B295A04A1D',NULL,NULL,NULL),
|
||||
(41359,9,1,5,NULL,NULL,'5F8D7F2A690A4375A1B52A28D6D681FA',NULL,NULL,NULL),
|
||||
(41488,9,1,5,NULL,NULL,'1BC91EC368705815F3F532B553DAD981',NULL,NULL,NULL),
|
||||
(41793,9,1,5,NULL,NULL,'B3B47DA3B7615570742A55B96614EE1C',NULL,NULL,NULL);
|
||||
(41793,9,1,5,NULL,NULL,'B3B47DA3B7615570742A55B96614EE1C',NULL,NULL,NULL),
|
||||
(42010,9,1,5,NULL,NULL,'302970161D16417B5BE553CC530E011A',NULL,NULL,NULL),
|
||||
(42423,9,2,0,NULL,NULL,'0B03614A7E94DD57548596BE420E9DC2',NULL,NULL,NULL);
|
||||
/*!40000 ALTER TABLE `build_info` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
@@ -635,11 +634,11 @@ DROP TABLE IF EXISTS `ip_banned`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `ip_banned` (
|
||||
`ip` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
||||
`ip` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
||||
`bandate` int unsigned NOT NULL,
|
||||
`unbandate` int unsigned NOT NULL,
|
||||
`bannedby` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '[Console]',
|
||||
`banreason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'no reason',
|
||||
`bannedby` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '[Console]',
|
||||
`banreason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci 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 */;
|
||||
@@ -663,7 +662,7 @@ DROP TABLE IF EXISTS `logs`;
|
||||
CREATE TABLE `logs` (
|
||||
`time` int unsigned NOT NULL,
|
||||
`realm` int unsigned NOT NULL,
|
||||
`type` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`type` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`level` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`string` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
@@ -691,11 +690,11 @@ CREATE TABLE `logs_ip_actions` (
|
||||
`character_guid` bigint unsigned NOT NULL COMMENT 'Character Guid',
|
||||
`realm_id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Realm ID',
|
||||
`type` tinyint unsigned NOT NULL,
|
||||
`ip` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
||||
`systemnote` text COLLATE utf8mb4_unicode_ci COMMENT 'Notes inserted by system',
|
||||
`ip` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
||||
`systemnote` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT 'Notes inserted by system',
|
||||
`unixtime` int unsigned NOT NULL COMMENT 'Unixtime',
|
||||
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Timestamp',
|
||||
`comment` text COLLATE utf8mb4_unicode_ci COMMENT 'Allows users to add a comment',
|
||||
`comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci 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 */;
|
||||
@@ -1192,7 +1191,6 @@ INSERT INTO `rbac_linked_permissions` VALUES
|
||||
(196,702),
|
||||
(196,703),
|
||||
(196,704),
|
||||
(196,705),
|
||||
(196,706),
|
||||
(196,707),
|
||||
(196,708),
|
||||
@@ -1476,7 +1474,7 @@ DROP TABLE IF EXISTS `rbac_permissions`;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `rbac_permissions` (
|
||||
`id` int unsigned NOT NULL DEFAULT '0' COMMENT 'Permission id',
|
||||
`name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Permission name',
|
||||
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci 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 */;
|
||||
@@ -2031,7 +2029,6 @@ INSERT INTO `rbac_permissions` VALUES
|
||||
(702,'Command: reload spell_threats'),
|
||||
(703,'Command: reload spell_group_stack_rules'),
|
||||
(704,'Command: reload trinity_string'),
|
||||
(705,'Command: reload warden_action'),
|
||||
(706,'Command: reload waypoint_scripts'),
|
||||
(707,'Command: reload waypoint_data'),
|
||||
(708,'Command: reload vehicle_accessory'),
|
||||
@@ -2217,17 +2214,17 @@ DROP TABLE IF EXISTS `realmlist`;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `realmlist` (
|
||||
`id` int unsigned NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`address` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
||||
`localAddress` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
||||
`localSubnetMask` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '255.255.255.0',
|
||||
`name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
||||
`localAddress` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
||||
`localSubnetMask` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '255.255.255.0',
|
||||
`port` smallint unsigned NOT NULL DEFAULT '8085',
|
||||
`icon` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`flag` tinyint unsigned NOT NULL DEFAULT '2',
|
||||
`timezone` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`allowedSecurityLevel` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`population` float unsigned NOT NULL DEFAULT '0',
|
||||
`gamebuild` int unsigned NOT NULL DEFAULT '41793',
|
||||
`gamebuild` int unsigned NOT NULL DEFAULT '42423',
|
||||
`Region` tinyint unsigned NOT NULL DEFAULT '1',
|
||||
`Battlegroup` tinyint unsigned NOT NULL DEFAULT '1',
|
||||
PRIMARY KEY (`id`),
|
||||
@@ -2242,7 +2239,7 @@ CREATE TABLE `realmlist` (
|
||||
LOCK TABLES `realmlist` WRITE;
|
||||
/*!40000 ALTER TABLE `realmlist` DISABLE KEYS */;
|
||||
INSERT INTO `realmlist` VALUES
|
||||
(1,'Trinity','127.0.0.1','127.0.0.1','255.255.255.0',8085,0,0,1,0,0,41793,1,1);
|
||||
(1,'Trinity','127.0.0.1','127.0.0.1','255.255.255.0',8085,0,0,1,0,0,42423,1,1);
|
||||
/*!40000 ALTER TABLE `realmlist` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
@@ -2255,7 +2252,7 @@ DROP TABLE IF EXISTS `secret_digest`;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `secret_digest` (
|
||||
`id` int unsigned NOT NULL,
|
||||
`digest` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`digest` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -2277,9 +2274,9 @@ DROP TABLE IF EXISTS `updates`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `updates` (
|
||||
`name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'filename with extension of the update.',
|
||||
`hash` char(40) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT 'sha1 hash of the sql file.',
|
||||
`state` enum('RELEASED','ARCHIVED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.',
|
||||
`name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'filename with extension of the update.',
|
||||
`hash` char(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT 'sha1 hash of the sql file.',
|
||||
`state` enum('RELEASED','ARCHIVED') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.',
|
||||
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.',
|
||||
`speed` int unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.',
|
||||
PRIMARY KEY (`name`)
|
||||
@@ -2485,8 +2482,10 @@ INSERT INTO `updates` VALUES
|
||||
('2020_08_03_01_auth.sql','EC1063396CA20A2303D83238470D41EF4439EC72','ARCHIVED','2020-08-03 00:00:01',0),
|
||||
('2020_08_06_00_auth.sql','5D3C5B25132DAFCA3933E9CBE14F5E8A290C4AFA','ARCHIVED','2020-08-06 20:26:11',0),
|
||||
('2020_08_08_00_auth.sql','BC6A08BE42A6F2C30C9286CBDD47D57B718C4635','ARCHIVED','2020-08-08 00:16:57',0),
|
||||
('2020_08_11_00_auth.sql','14C99177E43003D83A4D6F2227722F15FC15A1D0','ARCHIVED','2020-08-11 00:00:00',0),
|
||||
('2020_08_14_00_auth.sql','DFB9B07A7846FC0E124EE4CC099E49FE5742FB66','ARCHIVED','2020-08-14 21:41:24',0),
|
||||
('2020_08_26_00_auth.sql','D5EF787DECB41D898379588F101A0453B46F04D9','ARCHIVED','2020-08-26 21:00:34',0),
|
||||
('2020_09_06_00_auth.sql','DC4B5D4C65EB138D5609F137799C3289B9CC2493','ARCHIVED','2020-09-06 00:00:00',0),
|
||||
('2020_09_25_00_auth.sql','3CCA78EF89223724BA6784A4F3783DED30416637','ARCHIVED','2020-09-25 19:52:40',0),
|
||||
('2020_10_20_00_auth.sql','1835C5EFD5816DEF914F27E867C8C8D5E08B3F68','ARCHIVED','2020-10-20 21:36:49',0),
|
||||
('2020_12_06_00_auth.sql','FA254400D3D7D53E9C350EABFEABFF4EC3AD40DA','ARCHIVED','2020-12-06 20:25:10',0),
|
||||
@@ -2528,7 +2527,10 @@ INSERT INTO `updates` VALUES
|
||||
('2021_12_31_00_auth.sql','16AA1CFB93CC42DC9CC7C0C787C64D3CE9662EE5','ARCHIVED','2022-01-02 21:18:52',0),
|
||||
('2021_12_31_01_auth.sql','336E62A8850A3E78A1D0BD3E81FFD5769184BDF8','ARCHIVED','2021-12-31 15:58:32',0),
|
||||
('2022_01_02_00_auth.sql','F0AF198C5F7529508A5DB1F29D153256368AD1B4','ARCHIVED','2022-01-02 21:22:35',0),
|
||||
('2022_01_08_00_auth.sql','460BF77FB1751EB6B914FBA90637C8F266CCDF4D','ARCHIVED','2022-01-08 03:41:46',0);
|
||||
('2022_01_08_00_auth.sql','3C9853058A77817DD62943D0332418D84CA6BDA1','ARCHIVED','2022-01-15 23:21:37',0),
|
||||
('2022_01_15_00_auth.sql','11552D29BEDF73626FB8D932AB4362882964B4F0','ARCHIVED','2022-01-15 23:24:57',0),
|
||||
('2022_01_22_00_auth.sql','24A9BB761E805608EFDD8F647BF733602B337018','RELEASED','2022-01-22 01:39:01',0),
|
||||
('2022_02_25_00_auth.sql','1556FEDB9B46643634AE5BD0E38E7FF447FFC081','RELEASED','2022-02-25 12:39:15',0);
|
||||
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
@@ -2540,8 +2542,8 @@ DROP TABLE IF EXISTS `updates_include`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `updates_include` (
|
||||
`path` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
|
||||
`state` enum('RELEASED','ARCHIVED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.',
|
||||
`path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
|
||||
`state` enum('RELEASED','ARCHIVED') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci 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 */;
|
||||
@@ -2574,7 +2576,7 @@ CREATE TABLE `uptime` (
|
||||
`starttime` int unsigned NOT NULL DEFAULT '0',
|
||||
`uptime` int unsigned NOT NULL DEFAULT '0',
|
||||
`maxplayers` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`revision` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Trinitycore',
|
||||
`revision` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci 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 */;
|
||||
@@ -2637,4 +2639,4 @@ SET character_set_client = @saved_cs_client;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2022-01-02 21:22:37
|
||||
-- Dump completed on 2022-01-15 23:25:00
|
||||
|
||||
@@ -103,7 +103,7 @@ DROP TABLE IF EXISTS `arena_team`;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `arena_team` (
|
||||
`arenaTeamId` int unsigned NOT NULL DEFAULT '0',
|
||||
`name` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`name` varchar(24) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`captainGuid` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`type` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`rating` smallint unsigned NOT NULL DEFAULT '0',
|
||||
@@ -271,8 +271,8 @@ DROP TABLE IF EXISTS `bugreport`;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `bugreport` (
|
||||
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Identifier',
|
||||
`type` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`type` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Debug System';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -296,8 +296,8 @@ DROP TABLE IF EXISTS `calendar_events`;
|
||||
CREATE TABLE `calendar_events` (
|
||||
`EventID` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`Owner` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`Title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`Description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`Title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`Description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`EventType` tinyint unsigned NOT NULL DEFAULT '4',
|
||||
`TextureID` int NOT NULL DEFAULT '-1',
|
||||
`Date` bigint NOT NULL DEFAULT '0',
|
||||
@@ -331,7 +331,7 @@ CREATE TABLE `calendar_invites` (
|
||||
`Status` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`ResponseTime` bigint NOT NULL DEFAULT '0',
|
||||
`ModerationRank` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`Note` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`Note` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`InviteID`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -353,12 +353,12 @@ DROP TABLE IF EXISTS `channels`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `channels` (
|
||||
`name` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`team` int unsigned NOT NULL,
|
||||
`announce` tinyint unsigned NOT NULL DEFAULT '1',
|
||||
`ownership` tinyint unsigned NOT NULL DEFAULT '1',
|
||||
`password` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`bannedList` text COLLATE utf8mb4_unicode_ci,
|
||||
`password` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`bannedList` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`lastUsed` bigint unsigned NOT NULL,
|
||||
PRIMARY KEY (`name`,`team`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Channel System';
|
||||
@@ -599,8 +599,8 @@ CREATE TABLE `character_banned` (
|
||||
`guid` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`bandate` bigint NOT NULL DEFAULT '0',
|
||||
`unbandate` bigint NOT NULL DEFAULT '0',
|
||||
`bannedby` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`banreason` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`bannedby` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`banreason` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`active` tinyint unsigned NOT NULL DEFAULT '1',
|
||||
PRIMARY KEY (`guid`,`bandate`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Ban List';
|
||||
@@ -679,7 +679,7 @@ DROP TABLE IF EXISTS `character_cuf_profiles`;
|
||||
CREATE TABLE `character_cuf_profiles` (
|
||||
`guid` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Character Guid',
|
||||
`id` tinyint unsigned NOT NULL COMMENT 'Profile Id (0-4)',
|
||||
`name` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Profile Name',
|
||||
`name` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci 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',
|
||||
@@ -765,11 +765,11 @@ DROP TABLE IF EXISTS `character_declinedname`;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `character_declinedname` (
|
||||
`guid` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`genitive` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`dative` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`accusative` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`instrumental` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`prepositional` varchar(15) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`genitive` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`dative` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`accusative` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`instrumental` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`prepositional` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`guid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -794,8 +794,8 @@ CREATE TABLE `character_equipmentsets` (
|
||||
`guid` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`setguid` bigint unsigned NOT NULL AUTO_INCREMENT,
|
||||
`setindex` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`name` varchar(31) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`iconname` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`name` varchar(31) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`iconname` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`ignore_mask` int unsigned NOT NULL DEFAULT '0',
|
||||
`AssignedSpecIndex` int NOT NULL DEFAULT '-1',
|
||||
`item0` bigint unsigned NOT NULL DEFAULT '0',
|
||||
@@ -1162,13 +1162,13 @@ CREATE TABLE `character_pet` (
|
||||
`level` smallint unsigned NOT NULL DEFAULT '1',
|
||||
`exp` int unsigned NOT NULL DEFAULT '0',
|
||||
`Reactstate` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`name` varchar(21) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Pet',
|
||||
`name` varchar(21) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Pet',
|
||||
`renamed` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`slot` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`slot` smallint NOT NULL DEFAULT '-1',
|
||||
`curhealth` int unsigned NOT NULL DEFAULT '1',
|
||||
`curmana` int unsigned NOT NULL DEFAULT '0',
|
||||
`savetime` int unsigned NOT NULL DEFAULT '0',
|
||||
`abdata` text COLLATE utf8mb4_unicode_ci,
|
||||
`abdata` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`specialization` smallint unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `owner` (`owner`),
|
||||
@@ -1195,11 +1195,11 @@ DROP TABLE IF EXISTS `character_pet_declinedname`;
|
||||
CREATE TABLE `character_pet_declinedname` (
|
||||
`id` int unsigned NOT NULL DEFAULT '0',
|
||||
`owner` int unsigned NOT NULL DEFAULT '0',
|
||||
`genitive` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`dative` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`accusative` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`instrumental` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`prepositional` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`genitive` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`dative` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`accusative` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`instrumental` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`prepositional` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `owner_key` (`owner`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
@@ -1524,7 +1524,7 @@ CREATE TABLE `character_social` (
|
||||
`guid` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
|
||||
`friend` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Friend Global Unique Identifier',
|
||||
`flags` tinyint unsigned NOT NULL DEFAULT '0' COMMENT 'Friend Flags',
|
||||
`note` varchar(48) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'Friend Note',
|
||||
`note` varchar(48) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT 'Friend Note',
|
||||
PRIMARY KEY (`guid`,`friend`,`flags`),
|
||||
KEY `friend` (`friend`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player System';
|
||||
@@ -1702,8 +1702,8 @@ CREATE TABLE `character_transmog_outfits` (
|
||||
`guid` bigint NOT NULL DEFAULT '0',
|
||||
`setguid` bigint NOT NULL AUTO_INCREMENT,
|
||||
`setindex` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`name` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`iconname` varchar(256) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`iconname` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`ignore_mask` int NOT NULL DEFAULT '0',
|
||||
`appearance0` int NOT NULL DEFAULT '0',
|
||||
`appearance1` int NOT NULL DEFAULT '0',
|
||||
@@ -1758,7 +1758,7 @@ CREATE TABLE `character_void_storage` (
|
||||
`fixedScalingLevel` int unsigned DEFAULT '0',
|
||||
`artifactKnowledgeLevel` int unsigned DEFAULT '0',
|
||||
`context` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`bonusListIDs` text COLLATE utf8mb4_unicode_ci,
|
||||
`bonusListIDs` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
PRIMARY KEY (`itemId`),
|
||||
UNIQUE KEY `idx_player_slot` (`playerGuid`,`slot`),
|
||||
KEY `idx_player` (`playerGuid`)
|
||||
@@ -1784,7 +1784,7 @@ DROP TABLE IF EXISTS `characters`;
|
||||
CREATE TABLE `characters` (
|
||||
`guid` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
|
||||
`account` int unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier',
|
||||
`name` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`name` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`slot` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`race` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`class` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
@@ -1806,7 +1806,7 @@ CREATE TABLE `characters` (
|
||||
`raidDifficulty` tinyint unsigned NOT NULL DEFAULT '14',
|
||||
`legacyRaidDifficulty` tinyint unsigned NOT NULL DEFAULT '3',
|
||||
`orientation` float NOT NULL DEFAULT '0',
|
||||
`taximask` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`taximask` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`online` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`createTime` bigint NOT NULL DEFAULT '0',
|
||||
`createMode` tinyint NOT NULL DEFAULT '0',
|
||||
@@ -1826,11 +1826,11 @@ CREATE TABLE `characters` (
|
||||
`trans_o` float NOT NULL DEFAULT '0',
|
||||
`transguid` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`extra_flags` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`stable_slots` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`summonedPetNumber` int unsigned NOT NULL DEFAULT '0',
|
||||
`at_login` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`zone` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`death_expire_time` bigint NOT NULL DEFAULT '0',
|
||||
`taxi_path` text COLLATE utf8mb4_unicode_ci,
|
||||
`taxi_path` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`totalKills` int unsigned NOT NULL DEFAULT '0',
|
||||
`todayKills` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`yesterdayKills` smallint unsigned NOT NULL DEFAULT '0',
|
||||
@@ -1848,12 +1848,12 @@ CREATE TABLE `characters` (
|
||||
`latency` int unsigned NOT NULL DEFAULT '0',
|
||||
`activeTalentGroup` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`lootSpecId` int unsigned NOT NULL DEFAULT '0',
|
||||
`exploredZones` longtext COLLATE utf8mb4_unicode_ci,
|
||||
`equipmentCache` longtext COLLATE utf8mb4_unicode_ci,
|
||||
`knownTitles` longtext COLLATE utf8mb4_unicode_ci,
|
||||
`exploredZones` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`equipmentCache` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`knownTitles` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`actionBars` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`deleteInfos_Account` int unsigned DEFAULT NULL,
|
||||
`deleteInfos_Name` varchar(12) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`deleteInfos_Name` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`deleteDate` bigint DEFAULT NULL,
|
||||
`honor` int unsigned NOT NULL DEFAULT '0',
|
||||
`honorLevel` int unsigned NOT NULL DEFAULT '1',
|
||||
@@ -1891,7 +1891,7 @@ CREATE TABLE `corpse` (
|
||||
`orientation` float NOT NULL DEFAULT '0',
|
||||
`mapId` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'Map Identifier',
|
||||
`displayId` int unsigned NOT NULL DEFAULT '0',
|
||||
`itemCache` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`itemCache` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`race` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`class` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`gender` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
@@ -2021,7 +2021,7 @@ DROP TABLE IF EXISTS `gm_bug`;
|
||||
CREATE TABLE `gm_bug` (
|
||||
`id` int unsigned NOT NULL,
|
||||
`playerGuid` bigint unsigned NOT NULL,
|
||||
`note` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`createTime` bigint NOT NULL DEFAULT '0',
|
||||
`mapId` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`posX` float NOT NULL DEFAULT '0',
|
||||
@@ -2030,7 +2030,7 @@ CREATE TABLE `gm_bug` (
|
||||
`facing` 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 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -2054,7 +2054,7 @@ DROP TABLE IF EXISTS `gm_complaint`;
|
||||
CREATE TABLE `gm_complaint` (
|
||||
`id` int unsigned NOT NULL,
|
||||
`playerGuid` bigint unsigned NOT NULL,
|
||||
`note` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`createTime` bigint NOT NULL DEFAULT '0',
|
||||
`mapId` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`posX` float NOT NULL DEFAULT '0',
|
||||
@@ -2066,7 +2066,7 @@ CREATE TABLE `gm_complaint` (
|
||||
`reportLineIndex` int NOT NULL,
|
||||
`closedBy` bigint NOT NULL DEFAULT '0',
|
||||
`assignedTo` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'GUID of admin to whom ticket is assigned',
|
||||
`comment` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -2091,7 +2091,7 @@ CREATE TABLE `gm_complaint_chatlog` (
|
||||
`complaintId` int unsigned NOT NULL,
|
||||
`lineId` int unsigned NOT NULL,
|
||||
`timestamp` bigint NOT NULL,
|
||||
`text` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
PRIMARY KEY (`complaintId`,`lineId`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -2115,7 +2115,7 @@ DROP TABLE IF EXISTS `gm_suggestion`;
|
||||
CREATE TABLE `gm_suggestion` (
|
||||
`id` int unsigned NOT NULL,
|
||||
`playerGuid` bigint unsigned NOT NULL,
|
||||
`note` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`createTime` bigint NOT NULL DEFAULT '0',
|
||||
`mapId` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`posX` float NOT NULL DEFAULT '0',
|
||||
@@ -2124,7 +2124,7 @@ CREATE TABLE `gm_suggestion` (
|
||||
`facing` 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 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`comment` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -2238,15 +2238,15 @@ DROP TABLE IF EXISTS `guild`;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `guild` (
|
||||
`guildid` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`name` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`name` varchar(24) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`leaderguid` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`EmblemStyle` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`EmblemColor` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`BorderStyle` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`BorderColor` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`BackgroundColor` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`info` varchar(500) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`motd` varchar(256) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`info` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`motd` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`createdate` int unsigned NOT NULL DEFAULT '0',
|
||||
`BankMoney` bigint unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guildid`)
|
||||
@@ -2273,7 +2273,7 @@ CREATE TABLE `guild_achievement` (
|
||||
`guildId` bigint unsigned NOT NULL,
|
||||
`achievement` int unsigned NOT NULL,
|
||||
`date` bigint NOT NULL DEFAULT '0',
|
||||
`guids` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`guids` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
PRIMARY KEY (`guildId`,`achievement`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -2410,9 +2410,9 @@ DROP TABLE IF EXISTS `guild_bank_tab`;
|
||||
CREATE TABLE `guild_bank_tab` (
|
||||
`guildid` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`TabId` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`TabName` varchar(16) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`TabIcon` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`TabText` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`TabName` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`TabIcon` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`TabText` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
PRIMARY KEY (`guildid`,`TabId`),
|
||||
KEY `guildid_key` (`guildid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
@@ -2469,8 +2469,8 @@ CREATE TABLE `guild_member` (
|
||||
`guildid` bigint unsigned NOT NULL COMMENT 'Guild Identificator',
|
||||
`guid` bigint unsigned NOT NULL,
|
||||
`rank` tinyint unsigned NOT NULL,
|
||||
`pnote` varchar(31) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`offnote` varchar(31) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`pnote` varchar(31) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`offnote` varchar(31) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
UNIQUE KEY `guid_key` (`guid`),
|
||||
KEY `guildid_key` (`guildid`),
|
||||
KEY `guildid_rank_key` (`guildid`,`rank`)
|
||||
@@ -2558,7 +2558,8 @@ DROP TABLE IF EXISTS `guild_rank`;
|
||||
CREATE TABLE `guild_rank` (
|
||||
`guildid` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`rid` tinyint unsigned NOT NULL,
|
||||
`rname` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`RankOrder` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`rname` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`rights` int unsigned NOT NULL DEFAULT '0',
|
||||
`BankMoneyPerDay` int unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guildid`,`rid`),
|
||||
@@ -2588,7 +2589,7 @@ CREATE TABLE `instance` (
|
||||
`resettime` bigint NOT NULL DEFAULT '0',
|
||||
`difficulty` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`completedEncounters` int unsigned NOT NULL DEFAULT '0',
|
||||
`data` tinytext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`data` tinytext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`entranceId` int unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `map` (`map`),
|
||||
@@ -2671,13 +2672,13 @@ CREATE TABLE `item_instance` (
|
||||
`giftCreatorGuid` bigint unsigned NOT NULL DEFAULT '0',
|
||||
`count` int unsigned NOT NULL DEFAULT '1',
|
||||
`duration` int NOT NULL DEFAULT '0',
|
||||
`charges` tinytext COLLATE utf8mb4_unicode_ci,
|
||||
`charges` tinytext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`flags` int unsigned NOT NULL DEFAULT '0',
|
||||
`enchantments` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`enchantments` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`randomBonusListId` int unsigned NOT NULL DEFAULT '0',
|
||||
`durability` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`playedTime` int unsigned NOT NULL DEFAULT '0',
|
||||
`text` text COLLATE utf8mb4_unicode_ci,
|
||||
`text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`transmogrification` int unsigned NOT NULL DEFAULT '0',
|
||||
`enchantIllusion` int unsigned NOT NULL DEFAULT '0',
|
||||
`battlePetSpeciesId` int unsigned NOT NULL DEFAULT '0',
|
||||
@@ -2685,7 +2686,7 @@ CREATE TABLE `item_instance` (
|
||||
`battlePetLevel` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`battlePetDisplayId` int unsigned NOT NULL DEFAULT '0',
|
||||
`context` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`bonusListIDs` text COLLATE utf8mb4_unicode_ci,
|
||||
`bonusListIDs` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
PRIMARY KEY (`guid`),
|
||||
KEY `idx_owner_guid` (`owner_guid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Item System';
|
||||
@@ -2878,15 +2879,15 @@ DROP TABLE IF EXISTS `item_instance_gems`;
|
||||
CREATE TABLE `item_instance_gems` (
|
||||
`itemGuid` bigint unsigned NOT NULL,
|
||||
`gemItemId1` int unsigned NOT NULL DEFAULT '0',
|
||||
`gemBonuses1` text COLLATE utf8mb4_unicode_ci,
|
||||
`gemBonuses1` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`gemContext1` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`gemScalingLevel1` int unsigned NOT NULL DEFAULT '0',
|
||||
`gemItemId2` int unsigned NOT NULL DEFAULT '0',
|
||||
`gemBonuses2` text COLLATE utf8mb4_unicode_ci,
|
||||
`gemBonuses2` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`gemContext2` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`gemScalingLevel2` int unsigned NOT NULL DEFAULT '0',
|
||||
`gemItemId3` int unsigned NOT NULL DEFAULT '0',
|
||||
`gemBonuses3` text COLLATE utf8mb4_unicode_ci,
|
||||
`gemBonuses3` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`gemContext3` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`gemScalingLevel3` int unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`itemGuid`)
|
||||
@@ -2985,7 +2986,7 @@ CREATE TABLE `item_loot_items` (
|
||||
`needs_quest` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'quest drop',
|
||||
`rnd_bonus` int unsigned NOT NULL DEFAULT '0' COMMENT 'random bonus list added when originally rolled',
|
||||
`context` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`bonus_list_ids` text COLLATE utf8mb4_unicode_ci COMMENT 'Space separated list of bonus list ids',
|
||||
`bonus_list_ids` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT 'Space separated list of bonus list ids',
|
||||
PRIMARY KEY (`container_id`,`item_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -3056,7 +3057,7 @@ DROP TABLE IF EXISTS `item_soulbound_trade_data`;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `item_soulbound_trade_data` (
|
||||
`itemGuid` bigint unsigned NOT NULL COMMENT 'Item GUID',
|
||||
`allowedPlayers` text COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Space separated GUID list of players who can receive this item in trade',
|
||||
`allowedPlayers` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Space separated GUID list of players who can receive this item in trade',
|
||||
PRIMARY KEY (`itemGuid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Item Refund System';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -3108,8 +3109,8 @@ CREATE TABLE `mail` (
|
||||
`mailTemplateId` smallint unsigned NOT NULL DEFAULT '0',
|
||||
`sender` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
|
||||
`receiver` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier',
|
||||
`subject` longtext COLLATE utf8mb4_unicode_ci,
|
||||
`body` longtext COLLATE utf8mb4_unicode_ci,
|
||||
`subject` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`body` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
`has_items` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`expire_time` bigint NOT NULL DEFAULT '0',
|
||||
`deliver_time` bigint NOT NULL DEFAULT '0',
|
||||
@@ -3300,7 +3301,7 @@ DROP TABLE IF EXISTS `petition`;
|
||||
CREATE TABLE `petition` (
|
||||
`ownerguid` bigint unsigned NOT NULL,
|
||||
`petitionguid` bigint unsigned DEFAULT '0',
|
||||
`name` varchar(24) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`name` varchar(24) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
PRIMARY KEY (`ownerguid`),
|
||||
UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Guild System';
|
||||
@@ -3440,8 +3441,8 @@ CREATE TABLE `quest_tracker` (
|
||||
`quest_complete_time` datetime DEFAULT NULL,
|
||||
`quest_abandon_time` datetime DEFAULT NULL,
|
||||
`completed_by_gm` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`core_hash` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
|
||||
`core_revision` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
|
||||
`core_hash` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
|
||||
`core_revision` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`,`character_guid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -3463,7 +3464,7 @@ DROP TABLE IF EXISTS `reserved_name`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `reserved_name` (
|
||||
`name` varchar(12) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
`name` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`name`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Player Reserved Names';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -3512,9 +3513,9 @@ DROP TABLE IF EXISTS `updates`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `updates` (
|
||||
`name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'filename with extension of the update.',
|
||||
`hash` char(40) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT 'sha1 hash of the sql file.',
|
||||
`state` enum('RELEASED','ARCHIVED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.',
|
||||
`name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'filename with extension of the update.',
|
||||
`hash` char(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT 'sha1 hash of the sql file.',
|
||||
`state` enum('RELEASED','ARCHIVED') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.',
|
||||
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.',
|
||||
`speed` int unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.',
|
||||
PRIMARY KEY (`name`)
|
||||
@@ -3656,7 +3657,12 @@ INSERT INTO `updates` VALUES
|
||||
('2021_12_31_00_characters.sql','7ECEEB66056C46F89E581ACBB5EC222CB2D8A365','ARCHIVED','2021-12-31 13:53:23',0),
|
||||
('2021_12_31_01_characters.sql','336E62A8850A3E78A1D0BD3E81FFD5769184BDF8','ARCHIVED','2021-12-31 15:58:32',0),
|
||||
('2021_12_31_02_characters.sql','C66A367F0AD7A9D6837238C21E91298413BD960C','ARCHIVED','2021-12-31 16:10:30',0),
|
||||
('2022_01_02_00_characters.sql','5169A5BBACB42E6CEDE405D3C4843FD386CDF92E','ARCHIVED','2022-01-02 21:22:35',0);
|
||||
('2022_01_02_00_characters.sql','5169A5BBACB42E6CEDE405D3C4843FD386CDF92E','ARCHIVED','2022-01-02 21:22:35',0),
|
||||
('2022_01_09_00_characters.sql','3AC51F589821C17027CBA861EF762A709430CDB3','ARCHIVED','2022-01-09 21:29:45',0),
|
||||
('2022_01_15_00_characters.sql','884EFB6592DC8A765E0C0BF8BF907B4E4733BB0C','ARCHIVED','2022-01-15 23:24:58',0),
|
||||
('2022_01_31_00_characters.sql','19551474AA6079F0616B565F254914C5DD9ED1A1','RELEASED','2022-01-31 14:32:49',0),
|
||||
('2022_01_31_01_characters.sql','E0A1FA670F4621AEB594D7ACBA4921CB298F54FF','RELEASED','2022-01-31 20:47:59',0),
|
||||
('2022_01_31_02_characters.sql','6E3A3F02276287DD540BC4C17E246DFB850260D8','RELEASED','2022-01-31 21:43:38',0);
|
||||
/*!40000 ALTER TABLE `updates` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
||||
@@ -3668,8 +3674,8 @@ DROP TABLE IF EXISTS `updates_include`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `updates_include` (
|
||||
`path` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
|
||||
`state` enum('RELEASED','ARCHIVED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.',
|
||||
`path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
|
||||
`state` enum('RELEASED','ARCHIVED') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci 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 */;
|
||||
@@ -3723,7 +3729,7 @@ DROP TABLE IF EXISTS `worldstates`;
|
||||
CREATE TABLE `worldstates` (
|
||||
`entry` int unsigned NOT NULL DEFAULT '0',
|
||||
`value` int unsigned NOT NULL DEFAULT '0',
|
||||
`comment` tinytext COLLATE utf8mb4_unicode_ci,
|
||||
`comment` tinytext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
|
||||
PRIMARY KEY (`entry`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Variable Saves';
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
@@ -3758,4 +3764,4 @@ UNLOCK TABLES;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2022-01-02 21:22:38
|
||||
-- Dump completed on 2022-01-15 23:25:01
|
||||
|
||||
@@ -2174,10 +2174,10 @@ CREATE TABLE `creature` (
|
||||
`DisplayIDProbability2` float NOT NULL DEFAULT '0',
|
||||
`DisplayIDProbability3` float NOT NULL DEFAULT '0',
|
||||
`DisplayIDProbability4` float NOT NULL DEFAULT '0',
|
||||
`Name` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`FemaleName` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`SubName` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`FemaleSubName` mediumtext COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`Name` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`FemaleName` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`SubName` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`FemaleSubName` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`Type` mediumint unsigned NOT NULL DEFAULT '0',
|
||||
`Family` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`Classification` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
@@ -9113,6 +9113,45 @@ CREATE TABLE `ui_splash_screen_locale` (
|
||||
PARTITION zhTW VALUES IN ('zhTW') ENGINE = InnoDB) */;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `unit_condition`
|
||||
--
|
||||
|
||||
DROP TABLE IF EXISTS `unit_condition`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `unit_condition` (
|
||||
`ID` int unsigned NOT NULL DEFAULT '0',
|
||||
`Flags` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`Variable1` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`Variable2` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`Variable3` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`Variable4` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`Variable5` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`Variable6` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`Variable7` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`Variable8` tinyint unsigned NOT NULL DEFAULT '0',
|
||||
`Op1` tinyint NOT NULL DEFAULT '0',
|
||||
`Op2` tinyint NOT NULL DEFAULT '0',
|
||||
`Op3` tinyint NOT NULL DEFAULT '0',
|
||||
`Op4` tinyint NOT NULL DEFAULT '0',
|
||||
`Op5` tinyint NOT NULL DEFAULT '0',
|
||||
`Op6` tinyint NOT NULL DEFAULT '0',
|
||||
`Op7` tinyint NOT NULL DEFAULT '0',
|
||||
`Op8` tinyint NOT NULL DEFAULT '0',
|
||||
`Value1` int NOT NULL DEFAULT '0',
|
||||
`Value2` int NOT NULL DEFAULT '0',
|
||||
`Value3` int NOT NULL DEFAULT '0',
|
||||
`Value4` int NOT NULL DEFAULT '0',
|
||||
`Value5` int NOT NULL DEFAULT '0',
|
||||
`Value6` int NOT NULL DEFAULT '0',
|
||||
`Value7` int NOT NULL DEFAULT '0',
|
||||
`Value8` int NOT NULL DEFAULT '0',
|
||||
`VerifiedBuild` int NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`ID`,`VerifiedBuild`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
--
|
||||
-- Table structure for table `unit_power_bar`
|
||||
--
|
||||
@@ -9191,9 +9230,9 @@ DROP TABLE IF EXISTS `updates`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `updates` (
|
||||
`name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'filename with extension of the update.',
|
||||
`hash` char(40) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT 'sha1 hash of the sql file.',
|
||||
`state` enum('RELEASED','ARCHIVED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.',
|
||||
`name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'filename with extension of the update.',
|
||||
`hash` char(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT 'sha1 hash of the sql file.',
|
||||
`state` enum('RELEASED','ARCHIVED') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if an update is released or archived.',
|
||||
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'timestamp when the query was applied.',
|
||||
`speed` int unsigned NOT NULL DEFAULT '0' COMMENT 'time the query takes to apply in ms.',
|
||||
PRIMARY KEY (`name`)
|
||||
@@ -9208,8 +9247,8 @@ DROP TABLE IF EXISTS `updates_include`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!50503 SET character_set_client = utf8mb4 */;
|
||||
CREATE TABLE `updates_include` (
|
||||
`path` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
|
||||
`state` enum('RELEASED','ARCHIVED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'RELEASED' COMMENT 'defines if the directory contains released or archived updates.',
|
||||
`path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'directory to include. $ means relative to the source directory.',
|
||||
`state` enum('RELEASED','ARCHIVED') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci 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 */;
|
||||
@@ -9466,4 +9505,4 @@ CREATE TABLE `world_state_expression` (
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
-- Dump completed on 2022-01-02 21:22:42
|
||||
-- Dump completed on 2022-01-15 23:25:07
|
||||
|
||||
+212
-195
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user