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 @@
UPDATE `updates` SET `state`='ARCHIVED'; -- TDB 703.00
@@ -0,0 +1,9 @@
ALTER TABLE `character_cuf_profiles`
CHANGE `unk146` `topPoint` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Frame top alignment' AFTER `boolOptions`,
CHANGE `unk147` `bottomPoint` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Frame bottom alignment' AFTER `topPoint`,
CHANGE `unk148` `leftPoint` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'Frame left alignment' AFTER `bottomPoint`,
CHANGE `unk150` `topOffset` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Frame position offset from top' AFTER `leftPoint`,
CHANGE `unk152` `bottomOffset` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Frame position offset from bottom' AFTER `topOffset`,
CHANGE `unk154` `leftOffset` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT 'Frame position offset from left' AFTER `bottomOffset`;
UPDATE `character_cuf_profiles` SET `boolOptions`=((`boolOptions`&0x1800000)<<2)|(`boolOptions`&0x67FFFFF);
@@ -0,0 +1,11 @@
--
-- Table structure for table `instance_scenario_progress`
--
DROP TABLE IF EXISTS `instance_scenario_progress`;
CREATE TABLE `instance_scenario_progress` (
`id` int(10) unsigned NOT NULL,
`criteria` int(10) unsigned NOT NULL,
`counter` bigint(20) unsigned NOT NULL,
`date` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`,`criteria`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
@@ -0,0 +1,10 @@
ALTER TABLE `item_instance_gems`
CHANGE `gemItemId1` `gemItemId1` int(10) unsigned NOT NULL DEFAULT '0',
CHANGE `gemBonuses1` `gemBonuses1` text,
ADD `gemScalingLevel1` int(10) unsigned NOT NULL DEFAULT '0' AFTER `gemContext1`,
CHANGE `gemItemId2` `gemItemId2` int(10) unsigned NOT NULL DEFAULT '0',
CHANGE `gemBonuses2` `gemBonuses2` text,
ADD `gemScalingLevel2` int(10) unsigned NOT NULL DEFAULT '0' AFTER `gemBonuses2`,
CHANGE `gemItemId3` `gemItemId3` int(10) unsigned NOT NULL DEFAULT 0,
CHANGE `gemBonuses3` `gemBonuses3` text,
ADD `gemScalingLevel3` int(10) unsigned NOT NULL DEFAULT '0' AFTER `gemContext3`;
@@ -0,0 +1,13 @@
ALTER TABLE `character_void_storage` ADD `randomPropertyType` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `creatorGuid`;
UPDATE `character_void_storage` SET `randomPropertyType`=1,`randomProperty`=0xFFFFFFFF-`randomProperty`+1 WHERE `randomProperty`>=0x80000000; -- recover from underflow when saving data in old format
ALTER TABLE `item_instance` ADD `randomPropertyType` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `enchantments`;
UPDATE `item_instance` SET `randomPropertyType`=1 WHERE `randomPropertyId`<0;
UPDATE `item_instance` SET `randomPropertyId`=ABS(`randomPropertyId`);
ALTER TABLE `item_instance` CHANGE `randomPropertyId` `randomPropertyId` int(10) unsigned NOT NULL DEFAULT '0';
ALTER TABLE `item_loot_items` ADD `rnd_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT 'random enchantment type' AFTER `needs_quest`;
UPDATE `item_loot_items` SET `rnd_type`=1 WHERE `rnd_prop`<0;
UPDATE `item_loot_items` SET `rnd_prop`=ABS(`rnd_prop`);
ALTER TABLE `item_loot_items` CHANGE `rnd_prop` `rnd_prop` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'random enchantment added when originally rolled';
@@ -0,0 +1,2 @@
ALTER TABLE `character_talent`
CHANGE `spell` `talentId` MEDIUMINT(8) UNSIGNED NOT NULL;
@@ -0,0 +1,2 @@
DROP TABLE IF EXISTS `character_template`;
DROP TABLE IF EXISTS `character_template_class`;
@@ -0,0 +1,6 @@
DROP TABLE IF EXISTS `character_fishingsteps`;
CREATE TABLE `character_fishingsteps` (
`guid` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier',
`fishingSteps` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (`guid`)
) ENGINE=INNODB DEFAULT CHARSET=utf8;
@@ -0,0 +1,3 @@
ALTER TABLE `character_equipmentsets` ADD `AssignedSpecIndex` int(11) NOT NULL DEFAULT '-1' AFTER `ignore_mask`;
ALTER TABLE `item_instance_artifact` CHANGE `xp` `xp` bigint(20) unsigned NOT NULL DEFAULT '0';