Skip to content

Commit

Permalink
Remove custom changes to Limited Invulnerability Potion.
Browse files Browse the repository at this point in the history
  • Loading branch information
ratkosrb committed Aug 9, 2024
1 parent d910f62 commit 9b3b375
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions sql/migrations/20240809185050_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`='20240809185050');
IF v = 0 THEN
INSERT INTO `migrations` VALUES ('20240809185050');
-- Add your query below.


-- Remove custom changes to Limited Invulnerability Potion.
DELETE FROM `spell_mod` WHERE `Id`=3169;


-- End of migration.
END IF;
END??
DELIMITER ;
CALL add_migration();
DROP PROCEDURE IF EXISTS add_migration;

0 comments on commit 9b3b375

Please sign in to comment.