Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/development' into repacker
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Apr 16, 2024
2 parents e5a2c82 + 04642dc commit 9d00587
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions sql/migrations/20240415193844_world.sql
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 9d00587

Please sign in to comment.