Added sql files, no longer need to get them from Trinity Core.

This commit is contained in:
hondacrx
2017-11-22 13:14:38 -05:00
parent 0909720464
commit 65fbebb12f
11507 changed files with 6456329 additions and 10 deletions
@@ -0,0 +1,4 @@
-- TDB 720.00 characters
DELETE FROM `updates_include` WHERE `path`='$/sql/old/7/characters';
INSERT INTO `updates_include` (`path`, `state`) VALUES ('$/sql/old/7/characters', 'ARCHIVED');
UPDATE `updates` SET `state`='ARCHIVED';
@@ -0,0 +1,7 @@
ALTER TABLE `item_instance` ADD `context` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `battlePetDisplayId`;
ALTER TABLE `character_void_storage` ADD `context` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `artifactKnowledgeLevel`;
ALTER TABLE `item_loot_items`
ADD `context` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `rnd_suffix`,
ADD `bonus_list_ids` text COMMENT 'Space separated list of bonus list ids' AFTER `context`;
@@ -0,0 +1,2 @@
-- Drop guild level
ALTER TABLE `guild` DROP `level`;
@@ -0,0 +1,2 @@
ALTER TABLE `characters`
ADD `playerFlagsEx` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `playerFlags`;
@@ -0,0 +1,6 @@
ALTER TABLE `characters`
ADD `honor` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `deleteDate`,
ADD `honorLevel` INT(10) UNSIGNED NOT NULL DEFAULT '1' AFTER `honor`,
ADD `prestigeLevel` INT(10) UNSIGNED NOT NULL DEFAULT '0' AFTER `honorLevel`,
ADD `honorRestState` TINYINT UNSIGNED NOT NULL DEFAULT '2' AFTER `prestigeLevel`,
ADD `honorRestBonus` FLOAT NOT NULL DEFAULT '0' AFTER `honorRestState`;
@@ -0,0 +1,21 @@
--
-- Table structure for table `character_queststatus_objectives_criteria`
--
DROP TABLE IF EXISTS `character_queststatus_objectives_criteria`;
CREATE TABLE `character_queststatus_objectives_criteria` (
`guid` bigint(20) unsigned NOT NULL,
`questObjectiveId` int(10) unsigned NOT NULL,
PRIMARY KEY (`guid`,`questObjectiveId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Table structure for table `character_queststatus_objectives_criteria_progress`
--
DROP TABLE IF EXISTS `character_queststatus_objectives_criteria_progress`;
CREATE TABLE `character_queststatus_objectives_criteria_progress` (
`guid` bigint(20) unsigned NOT NULL,
`criteriaId` int(10) unsigned NOT NULL,
`counter` bigint(20) unsigned NOT NULL,
`date` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`,`criteriaId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
@@ -0,0 +1,9 @@
ALTER TABLE `auctionhouse`
CHANGE `buyoutprice` `buyoutprice` bigint(20) unsigned NOT NULL DEFAULT '0',
CHANGE `lastbid` `lastbid` bigint(20) unsigned NOT NULL DEFAULT '0',
CHANGE `startbid` `startbid` bigint(20) unsigned NOT NULL DEFAULT '0',
CHANGE `deposit` `deposit` bigint(20) unsigned NOT NULL DEFAULT '0';
ALTER TABLE `guild_member_withdraw` CHANGE `money` `money` bigint(20) unsigned NOT NULL DEFAULT '0';
ALTER TABLE `item_refund_instance` CHANGE `paidMoney` `paidMoney` bigint(20) unsigned NOT NULL DEFAULT '0';
@@ -0,0 +1 @@
UPDATE `characters` SET `taxi_path`=CONCAT('0 ', `taxi_path`) WHERE LENGTH(`taxi_path`) > 0;