diff --git a/sql/migrations/20240415193844_world.sql b/sql/migrations/20240415193844_world.sql new file mode 100644 index 00000000000..8ec056bb655 --- /dev/null +++ b/sql/migrations/20240415193844_world.sql @@ -0,0 +1,21 @@ +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`='20240415193844'); +IF v = 0 THEN +INSERT INTO `migrations` VALUES ('20240415193844'); +-- Add your query below. + + +-- Fix BWL Razorgore eggs. +UPDATE `gameobject_template` SET `flags`=4 WHERE `entry`=177807; + + +-- End of migration. +END IF; +END?? +DELIMITER ; +CALL add_migration(); +DROP PROCEDURE IF EXISTS add_migration;