+26
@@ -1,3 +1,19 @@
|
||||
-- DB update 2021_11_26_01 -> 2021_11_26_02
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
DELIMITER //
|
||||
CREATE PROCEDURE updateDb ()
|
||||
proc:BEGIN DECLARE OK VARCHAR(100) DEFAULT 'FALSE';
|
||||
SELECT COUNT(*) INTO @COLEXISTS
|
||||
FROM information_schema.COLUMNS
|
||||
WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = 'version_db_world' AND COLUMN_NAME = '2021_11_26_01';
|
||||
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
|
||||
START TRANSACTION;
|
||||
ALTER TABLE version_db_world CHANGE COLUMN 2021_11_26_01 2021_11_26_02 bit;
|
||||
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1619401102346359900'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
|
||||
--
|
||||
-- START UPDATING QUERIES
|
||||
--
|
||||
|
||||
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1619401102346359900');
|
||||
|
||||
UPDATE `item_template` SET `name` = 'Monster - Item, Flower - White',`quality` = 0,`flags` = 0,`BuyCount` = 1,`BuyPrice` = 11,`SellPrice` = 2,`AllowableClass` = -1,`AllowableRace` = -1,`ItemLevel` = 1,`RequiredLevel` = 1,`RequiredSkill` = 0,`RequiredSkillRank` = 0,`requiredspell` = 0,`requiredhonorrank` = 0,`RequiredReputationFaction` = 0,`RequiredReputationRank` = 0,`maxcount` = 0,`stackable` = 1,`ContainerSlots` = 0,`stat_type1` = 0,`stat_value1` = 0,`stat_type2` = 0,`stat_value2` = 0,`stat_type3` = 0,`stat_value3` = 0,`stat_type4` = 0,`stat_value4` = 0,`stat_type5` = 0,`stat_value5` = 0,`stat_type6` = 0,`stat_value6` = 0,`stat_type7` = 0,`stat_value7` = 0,`stat_type8` = 0,`stat_value8` = 0,`stat_type9` = 0,`stat_value9` = 0,`stat_type10` = 0,`stat_value10` = 0,`delay` = 2000,`RangedModRange` = 0,`ammo_type` = 0,`dmg_min1` = 7,`dmg_max1` = 8,`dmg_type1` = 0,`dmg_min2` = 0,`dmg_max2` = 0,`dmg_type2` = 0,`block` = 0,`armor` = 0,`holy_res` = 0,`fire_res` = 0,`nature_res` = 0,`frost_res` = 0,`shadow_res` = 0,`arcane_res` = 0,`bonding` = 0,`PageText` = 0,`LanguageID` = 0,`PageMaterial` = 0,`startquest` = 0,`lockid` = 0,`RandomProperty` = 0,`itemset` = 0,`MaxDurability` = 0,`area` = 0,`Map` = 0,`duration` = 0,`BagFamily` = 0,`FoodType` = 0,`minMoneyLoot` = 0,`maxMoneyLoot` = 0 WHERE `entry`= 21123;
|
||||
@@ -2631,3 +2647,13 @@ UPDATE `item_template` SET `name` = 'D''Sak''s Sacktastic',`quality` = 3,`flags`
|
||||
UPDATE `item_template` SET `name` = 'D''Sak''s Small bag',`quality` = 3,`flags` = 0,`BuyCount` = 1,`BuyPrice` = 160000,`SellPrice` = 40000,`AllowableClass` = -1,`AllowableRace` = -1,`ItemLevel` = 62,`RequiredLevel` = 0,`RequiredSkill` = 0,`RequiredSkillRank` = 0,`requiredspell` = 0,`requiredhonorrank` = 0,`RequiredReputationFaction` = 0,`RequiredReputationRank` = 0,`maxcount` = 0,`stackable` = 1,`ContainerSlots` = 12,`stat_type1` = 0,`stat_value1` = 0,`stat_type2` = 0,`stat_value2` = 0,`stat_type3` = 0,`stat_value3` = 0,`stat_type4` = 0,`stat_value4` = 0,`stat_type5` = 0,`stat_value5` = 0,`stat_type6` = 0,`stat_value6` = 0,`stat_type7` = 0,`stat_value7` = 0,`stat_type8` = 0,`stat_value8` = 0,`stat_type9` = 0,`stat_value9` = 0,`stat_type10` = 0,`stat_value10` = 0,`delay` = 0,`RangedModRange` = 0,`ammo_type` = 0,`dmg_min1` = 0,`dmg_max1` = 0,`dmg_type1` = 0,`dmg_min2` = 0,`dmg_max2` = 0,`dmg_type2` = 0,`block` = 0,`armor` = 0,`holy_res` = 0,`fire_res` = 0,`nature_res` = 0,`frost_res` = 0,`shadow_res` = 0,`arcane_res` = 0,`bonding` = 2,`PageText` = 0,`LanguageID` = 0,`PageMaterial` = 0,`startquest` = 0,`lockid` = 0,`RandomProperty` = 0,`itemset` = 0,`MaxDurability` = 0,`area` = 0,`Map` = 0,`duration` = 0,`BagFamily` = 3,`FoodType` = 0,`minMoneyLoot` = 0,`maxMoneyLoot` = 0 WHERE `entry`= 21313;
|
||||
UPDATE `item_template` SET `name` = 'Test Herb Bag',`quality` = 2,`flags` = 0,`BuyCount` = 1,`BuyPrice` = 20000,`SellPrice` = 5000,`AllowableClass` = 256,`AllowableRace` = -1,`ItemLevel` = 52,`RequiredLevel` = 0,`RequiredSkill` = 0,`RequiredSkillRank` = 0,`requiredspell` = 0,`requiredhonorrank` = 0,`RequiredReputationFaction` = 0,`RequiredReputationRank` = 0,`maxcount` = 0,`stackable` = 1,`ContainerSlots` = 20,`stat_type1` = 0,`stat_value1` = 0,`stat_type2` = 0,`stat_value2` = 0,`stat_type3` = 0,`stat_value3` = 0,`stat_type4` = 0,`stat_value4` = 0,`stat_type5` = 0,`stat_value5` = 0,`stat_type6` = 0,`stat_value6` = 0,`stat_type7` = 0,`stat_value7` = 0,`stat_type8` = 0,`stat_value8` = 0,`stat_type9` = 0,`stat_value9` = 0,`stat_type10` = 0,`stat_value10` = 0,`delay` = 0,`RangedModRange` = 0,`ammo_type` = 0,`dmg_min1` = 0,`dmg_max1` = 0,`dmg_type1` = 0,`dmg_min2` = 0,`dmg_max2` = 0,`dmg_type2` = 0,`block` = 0,`armor` = 0,`holy_res` = 0,`fire_res` = 0,`nature_res` = 0,`frost_res` = 0,`shadow_res` = 0,`arcane_res` = 0,`bonding` = 2,`PageText` = 0,`LanguageID` = 0,`PageMaterial` = 0,`startquest` = 0,`lockid` = 0,`RandomProperty` = 0,`itemset` = 0,`MaxDurability` = 0,`area` = 0,`Map` = 0,`duration` = 0,`BagFamily` = 6,`FoodType` = 0,`minMoneyLoot` = 0,`maxMoneyLoot` = 0 WHERE `entry`= 21857;
|
||||
UPDATE `item_template` SET `name` = 'Formula: Imbue Chest - Minor Spirit',`quality` = 2,`flags` = 80,`BuyCount` = 1,`BuyPrice` = 100,`SellPrice` = 25,`AllowableClass` = -1,`AllowableRace` = -1,`ItemLevel` = 12,`RequiredLevel` = 0,`RequiredSkill` = 333,`RequiredSkillRank` = 60,`requiredspell` = 0,`requiredhonorrank` = 0,`RequiredReputationFaction` = 0,`RequiredReputationRank` = 0,`maxcount` = 0,`stackable` = 1,`ContainerSlots` = 0,`stat_type1` = 0,`stat_value1` = 0,`stat_type2` = 0,`stat_value2` = 0,`stat_type3` = 0,`stat_value3` = 0,`stat_type4` = 0,`stat_value4` = 0,`stat_type5` = 0,`stat_value5` = 0,`stat_type6` = 0,`stat_value6` = 0,`stat_type7` = 0,`stat_value7` = 0,`stat_type8` = 0,`stat_value8` = 0,`stat_type9` = 0,`stat_value9` = 0,`stat_type10` = 0,`stat_value10` = 0,`delay` = 0,`RangedModRange` = 0,`ammo_type` = 0,`dmg_min1` = 0,`dmg_max1` = 0,`dmg_type1` = 0,`dmg_min2` = 0,`dmg_max2` = 0,`dmg_type2` = 0,`block` = 0,`armor` = 0,`holy_res` = 0,`fire_res` = 0,`nature_res` = 0,`frost_res` = 0,`shadow_res` = 0,`arcane_res` = 0,`bonding` = 0,`PageText` = 0,`LanguageID` = 0,`PageMaterial` = 0,`startquest` = 0,`lockid` = 0,`RandomProperty` = 0,`itemset` = 0,`MaxDurability` = 0,`area` = 0,`Map` = 0,`duration` = 0,`BagFamily` = 7,`FoodType` = 0,`minMoneyLoot` = 0,`maxMoneyLoot` = 0 WHERE `entry`= 6222;
|
||||
|
||||
--
|
||||
-- END UPDATING QUERIES
|
||||
--
|
||||
UPDATE version_db_world SET date = '2021_11_26_02' WHERE sql_rev = '1619401102346359900';
|
||||
COMMIT;
|
||||
END //
|
||||
DELIMITER ;
|
||||
CALL updateDb();
|
||||
DROP PROCEDURE IF EXISTS `updateDb`;
|
||||
Reference in New Issue
Block a user