-
Notifications
You must be signed in to change notification settings - Fork 496
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
37 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
DROP PROCEDURE IF EXISTS add_migration; | ||
delimiter ?? | ||
CREATE PROCEDURE `add_migration`() | ||
BEGIN | ||
DECLARE v INT DEFAULT 1; | ||
SET v = (SELECT COUNT(*) FROM `migrations` WHERE `id`='20231203135355'); | ||
IF v=0 THEN | ||
INSERT INTO `migrations` VALUES ('20231203135355'); | ||
-- Add your query below. | ||
|
||
|
||
-- Remove custom creature Burning Adrenaline Trigger. It does not seem to be used. | ||
DELETE FROM `creature_template` WHERE `entry`=160016; | ||
|
||
-- Assign spawn spell to Rookery Whelp. | ||
UPDATE `creature_template` SET `spawn_spell_id`=15750 WHERE `entry`=10161; | ||
|
||
-- Remove custom creature Rookery Whelp. | ||
DELETE FROM `creature_ai_scripts` WHERE `id` IN (16001501, 16001502); | ||
DELETE FROM `creature_ai_events` WHERE `creature_id`=160015; | ||
DELETE FROM `creature_template` WHERE `entry`=160015; | ||
|
||
-- Remove custom creature Solakar Trigger. | ||
DELETE FROM `creature_template` WHERE `entry`=160014; | ||
DELETE FROM `creature` WHERE `id`=160014; | ||
|
||
|
||
-- End of migration. | ||
END IF; | ||
END?? | ||
delimiter ; | ||
CALL add_migration(); | ||
DROP PROCEDURE IF EXISTS add_migration; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters