Sync DB with TC

Port From (https://github.com/TrinityCore/TrinityCore)
This commit is contained in:
hondacrx
2022-06-01 19:38:23 -04:00
parent 64c70a1761
commit 0af9f22d70
1156 changed files with 579649 additions and 92 deletions
@@ -1 +0,0 @@
ALTER TABLE `characters` DROP `stable_slots`;
@@ -1,3 +0,0 @@
ALTER TABLE `characters` ADD `summonedPetNumber` int unsigned NOT NULL DEFAULT '0' AFTER `extra_flags`;
UPDATE `characters` SET `summonedPetNumber` = COALESCE((SELECT `id` FROM `character_pet` WHERE `owner` = `guid` AND `slot` = 0 AND `curhealth` > 0), 0);
@@ -1,3 +0,0 @@
ALTER TABLE `character_pet` CHANGE `slot` `slot` smallint NOT NULL DEFAULT '-1';
UPDATE `character_pet` SET `slot` = -1 WHERE `slot` = 100;
@@ -1,3 +1,3 @@
-- TDB 915.22012 characters
-- TDB 920.22031 characters
UPDATE `updates` SET `state`='ARCHIVED',`speed`=0;
REPLACE INTO `updates_include` (`path`, `state`) VALUES ('$/sql/old/9.x/characters', 'ARCHIVED');
@@ -0,0 +1,2 @@
--
ALTER TABLE `item_loot_items` ADD COLUMN `item_index` int(10) unsigned NOT NULL DEFAULT '0' AFTER `item_count`;