From 8c9f7ec81074fae218aa727aeca4121f4966848f Mon Sep 17 00:00:00 2001 From: insunaa Date: Wed, 8 May 2024 13:25:02 +0200 Subject: [PATCH] SQL: Make changes compatible with MySQL 5.7 (EOL) --- sql/updates/mangos/z2824_01_mangos_model_unification.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/updates/mangos/z2824_01_mangos_model_unification.sql b/sql/updates/mangos/z2824_01_mangos_model_unification.sql index 59481c8be0..5b1e8ea77b 100644 --- a/sql/updates/mangos/z2824_01_mangos_model_unification.sql +++ b/sql/updates/mangos/z2824_01_mangos_model_unification.sql @@ -1,5 +1,5 @@ ALTER TABLE db_version CHANGE COLUMN required_z2823_01_mangos_displayid_probability required_z2824_01_mangos_model_unification bit; -ALTER TABLE `creature_model_info` RENAME COLUMN `modelid_other_team` TO `modelid_alternative`; +ALTER TABLE `creature_model_info` CHANGE `modelid_other_team` `modelid_alternative`;