mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
DB squash & begin AC 3.0.0 development
This commit is contained in:
@@ -11,12 +11,11 @@ CREATE TABLE `arena_team_member`
|
||||
(
|
||||
`arenaTeamId` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`guid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`personalRating` smallint(5) NOT NULL DEFAULT '0',
|
||||
`weekGames` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`weekWins` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`seasonGames` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`seasonWins` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`personal_rating` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`personalRating` smallint(5) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`arenaTeamId`,`guid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
@@ -7,16 +7,23 @@
|
||||
DROP TABLE IF EXISTS `banned_addons`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `banned_addons` (
|
||||
`Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
CREATE TABLE `banned_addons`
|
||||
(
|
||||
`Id` int(10) 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`)
|
||||
UNIQUE KEY `idx_name_ver` (`Name`,`Version`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
LOCK TABLES `banned_addons` WRITE;
|
||||
/*!40000 ALTER TABLE `banned_addons` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `banned_addons` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
|
||||
@@ -22,6 +22,8 @@ CREATE TABLE `character_queststatus`
|
||||
`itemcount2` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`itemcount3` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`itemcount4` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`itemcount5` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`itemcount6` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`playercount` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`guid`,`quest`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Player System';
|
||||
|
||||
@@ -18,8 +18,13 @@ CREATE TABLE `characters`
|
||||
`level` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`xp` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`money` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`playerBytes` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`playerBytes2` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`skin` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`face` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`hairStyle` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`hairColor` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`facialStyle` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`bankSlots` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`restState` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`playerFlags` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`position_x` float NOT NULL DEFAULT '0',
|
||||
`position_y` float NOT NULL DEFAULT '0',
|
||||
|
||||
@@ -19,78 +19,6 @@ CREATE TABLE `instance_reset`
|
||||
|
||||
LOCK TABLES `instance_reset` WRITE;
|
||||
/*!40000 ALTER TABLE `instance_reset` DISABLE KEYS */;
|
||||
INSERT INTO `instance_reset` VALUES
|
||||
(249,0,1471060800),
|
||||
(249,1,1471060800),
|
||||
(269,1,1471060800),
|
||||
(309,0,1471233600),
|
||||
(409,0,1471060800),
|
||||
(469,0,1471060800),
|
||||
(509,0,1471233600),
|
||||
(531,0,1471060800),
|
||||
(532,0,1471060800),
|
||||
(533,0,1471060800),
|
||||
(533,1,1471060800),
|
||||
(534,0,1471060800),
|
||||
(540,1,1471060800),
|
||||
(542,1,1471060800),
|
||||
(543,1,1471060800),
|
||||
(544,0,1471060800),
|
||||
(545,1,1471060800),
|
||||
(546,1,1471060800),
|
||||
(547,1,1471060800),
|
||||
(548,0,1471060800),
|
||||
(550,0,1471060800),
|
||||
(552,1,1471060800),
|
||||
(553,1,1471060800),
|
||||
(554,1,1471060800),
|
||||
(555,1,1471060800),
|
||||
(556,1,1471060800),
|
||||
(557,1,1471060800),
|
||||
(558,1,1471060800),
|
||||
(560,1,1471060800),
|
||||
(564,0,1471060800),
|
||||
(565,0,1471060800),
|
||||
(568,0,1471233600),
|
||||
(574,1,1471060800),
|
||||
(575,1,1471060800),
|
||||
(576,1,1471060800),
|
||||
(578,1,1471060800),
|
||||
(580,0,1471060800),
|
||||
(585,1,1471060800),
|
||||
(595,1,1471060800),
|
||||
(598,1,1471060800),
|
||||
(599,1,1471060800),
|
||||
(600,1,1471060800),
|
||||
(601,1,1471060800),
|
||||
(602,1,1471060800),
|
||||
(603,0,1471060800),
|
||||
(603,1,1471060800),
|
||||
(604,1,1471060800),
|
||||
(608,1,1471060800),
|
||||
(615,0,1471060800),
|
||||
(615,1,1471060800),
|
||||
(616,0,1471060800),
|
||||
(616,1,1471060800),
|
||||
(619,1,1471060800),
|
||||
(624,0,1471060800),
|
||||
(624,1,1471060800),
|
||||
(631,0,1471060800),
|
||||
(631,1,1471060800),
|
||||
(631,2,1471060800),
|
||||
(631,3,1471060800),
|
||||
(632,1,1471060800),
|
||||
(649,0,1471060800),
|
||||
(649,1,1471060800),
|
||||
(649,2,1471060800),
|
||||
(649,3,1471060800),
|
||||
(650,1,1471060800),
|
||||
(658,1,1471060800),
|
||||
(668,1,1471060800),
|
||||
(724,0,1471060800),
|
||||
(724,1,1471060800),
|
||||
(724,2,1471060800),
|
||||
(724,3,1471060800);
|
||||
/*!40000 ALTER TABLE `instance_reset` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
33
data/sql/base/db_characters/quest_tracker.sql
Normal file
33
data/sql/base/db_characters/quest_tracker.sql
Normal file
@@ -0,0 +1,33 @@
|
||||
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
|
||||
/*!40103 SET TIME_ZONE='+00:00' */;
|
||||
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||
DROP TABLE IF EXISTS `quest_tracker`;
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `quest_tracker`
|
||||
(
|
||||
`id` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`character_guid` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`quest_accept_time` datetime NOT NULL,
|
||||
`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) NOT NULL DEFAULT '0',
|
||||
`core_revision` varchar(120) NOT NULL DEFAULT '0'
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
||||
LOCK TABLES `quest_tracker` WRITE;
|
||||
/*!40000 ALTER TABLE `quest_tracker` DISABLE KEYS */;
|
||||
/*!40000 ALTER TABLE `quest_tracker` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
@@ -11,7 +11,7 @@ CREATE TABLE `version_db_characters`
|
||||
(
|
||||
`sql_rev` varchar(100) NOT NULL,
|
||||
`required_rev` varchar(100) DEFAULT NULL,
|
||||
`2016_08_25_00` bit(1) DEFAULT NULL,
|
||||
`2019_01_06_00` bit(1) DEFAULT NULL,
|
||||
PRIMARY KEY (`sql_rev`),
|
||||
KEY `required` (`required_rev`),
|
||||
CONSTRAINT `required` FOREIGN KEY (`required_rev`) REFERENCES `version_db_characters` (`sql_rev`)
|
||||
|
||||
Reference in New Issue
Block a user