mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
DB/misc: Missing sql rename
This commit is contained in:
13
sql/updates/world/master/2023_04_09_02_world.sql
Normal file
13
sql/updates/world/master/2023_04_09_02_world.sql
Normal file
@@ -0,0 +1,13 @@
|
||||
DROP PROCEDURE IF EXISTS apply_if_exists_2023_04_09_02_world;
|
||||
|
||||
DELIMITER ;;
|
||||
CREATE PROCEDURE apply_if_exists_2023_04_09_02_world() BEGIN
|
||||
IF EXISTS (SELECT * FROM `information_schema`.`columns` WHERE `table_schema`=SCHEMA() AND `table_name`='creature_template' AND `column_name`='HoverHeight') THEN
|
||||
ALTER TABLE `creature_template` DROP COLUMN `HoverHeight`;
|
||||
END IF;
|
||||
END;;
|
||||
|
||||
DELIMITER ;
|
||||
CALL apply_if_exists_2023_04_09_02_world();
|
||||
|
||||
DROP PROCEDURE IF EXISTS apply_if_exists_2023_04_09_02_world;
|
||||
@@ -1 +0,0 @@
|
||||
ALTER TABLE `creature_template` DROP COLUMN `HoverHeight`;
|
||||
Reference in New Issue
Block a user