diff options
| author | Meji <alvaro.megias@outlook.com> | 2025-01-23 21:06:44 +0100 |
|---|---|---|
| committer | Ovahlord <dreadkiller@gmx.de> | 2025-01-26 12:31:34 +0100 |
| commit | b54d93c7a945dcb865472ad4569292d285162594 (patch) | |
| tree | b622f81fbe261ee09c50d0fbad24ae620bc5a43e /sql | |
| parent | e9105be6d872a7625d10c031a2e55062bd6c2832 (diff) | |
Core/Spells: Added AttributesEx15 for serverside spells (#30632)
(cherry picked from commit c9456ce8266b775208584244bd9893051f587e04)
# Conflicts:
# sql/updates/world/cata_classic/2025_01_23_00_world.sql
# src/server/game/Spells/SpellMgr.cpp
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/updates/world/cata_classic/2025_01_26_03_world_2025_01_23_00_world.sql | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/world/cata_classic/2025_01_26_03_world_2025_01_23_00_world.sql b/sql/updates/world/cata_classic/2025_01_26_03_world_2025_01_23_00_world.sql new file mode 100644 index 00000000000..6728b966a65 --- /dev/null +++ b/sql/updates/world/cata_classic/2025_01_26_03_world_2025_01_23_00_world.sql @@ -0,0 +1,14 @@ +DELIMITER ;; +CREATE PROCEDURE serverside_spell_2025_01_23_00() BEGIN + IF NOT EXISTS (SELECT * FROM `information_schema`.`columns` WHERE `table_schema`=SCHEMA() AND `table_name`='serverside_spell' AND `column_name`='AttributesEx15') THEN + + ALTER TABLE `serverside_spell` + ADD COLUMN `AttributesEx15` int unsigned NOT NULL DEFAULT '0' AFTER `AttributesEx14`; + + END IF; +END;; + +DELIMITER ; +CALL serverside_spell_2025_01_23_00(); + +DROP PROCEDURE IF EXISTS serverside_spell_2025_01_23_00; |
