Import pending SQL update file...

Referenced commit(s): 3bdddd808b
This commit is contained in:
AzerothCoreBot
2020-05-06 10:46:05 +00:00
parent 3bdddd808b
commit 32a6d330ff

View File

@@ -1,3 +1,19 @@
-- DB update 2020_05_05_00 -> 2020_05_06_00
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 = '2020_05_05_00';
IF @COLEXISTS = 0 THEN LEAVE proc; END IF;
START TRANSACTION;
ALTER TABLE version_db_world CHANGE COLUMN 2020_05_05_00 2020_05_06_00 bit;
SELECT sql_rev INTO OK FROM version_db_world WHERE sql_rev = '1585171529989474800'; IF OK <> 'FALSE' THEN LEAVE proc; END IF;
--
-- START UPDATING QUERIES
--
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1585171529989474800');
UPDATE `item_template_locale` SET `Description`='Eröffnet den Schwierigkeitsgrad ''Heroisch'' für Dungeons der Höllenfeuerzitadelle.' WHERE `ID`=30622 AND `locale`='deDE';
@@ -6,3 +22,12 @@ UPDATE `item_template_locale` SET `Description`='Eröffnet den Schwierigkeitsgra
UPDATE `item_template_locale` SET `Description`='Eröffnet den Schwierigkeitsgrad ''Heroisch'' für Dungeons der Festung der Stürme.' WHERE `ID`=30634 AND `locale`='deDE';
UPDATE `item_template_locale` SET `Description`='Eröffnet den Schwierigkeitsgrad ''Heroisch'' für Dungeons der Höhlen der Zeit.' WHERE `ID`=30635 AND `locale`='deDE';
UPDATE `item_template_locale` SET `Description`='Eröffnet den Schwierigkeitsgrad ''Heroisch'' für Dungeons der Höllenfeuerzitadelle.' WHERE `ID`=30637 AND `locale`='deDE';
--
-- END UPDATING QUERIES
--
COMMIT;
END //
DELIMITER ;
CALL updateDb();
DROP PROCEDURE IF EXISTS `updateDb`;