diff --git a/sql/base/mangos.sql b/sql/base/mangos.sql index ab546c838ea..3740e78a65b 100644 --- a/sql/base/mangos.sql +++ b/sql/base/mangos.sql @@ -24,7 +24,7 @@ CREATE TABLE `db_version` ( `version` varchar(120) DEFAULT NULL, `creature_ai_version` varchar(120) DEFAULT NULL, `cache_id` int(10) DEFAULT '0', - `required_14085_01_mangos_creature_cls_stats` bit(1) DEFAULT NULL + `required_14086_01_mangos_displayid_probability` bit(1) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Used DB version notes'; -- diff --git a/sql/updates/mangos/00000_01_mangos_displayid_probability.sql b/sql/updates/mangos/14086_01_mangos_displayid_probability.sql similarity index 94% rename from sql/updates/mangos/00000_01_mangos_displayid_probability.sql rename to sql/updates/mangos/14086_01_mangos_displayid_probability.sql index 44d438a6291..518b3cfb84f 100644 --- a/sql/updates/mangos/00000_01_mangos_displayid_probability.sql +++ b/sql/updates/mangos/14086_01_mangos_displayid_probability.sql @@ -1,3 +1,5 @@ +ALTER TABLE db_version CHANGE COLUMN required_14085_01_mangos_creature_cls_stats required_14086_01_mangos_displayid_probability bit; + ALTER TABLE `creature_template` CHANGE `ModelId1` `DisplayId1` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `creature_template` CHANGE `ModelId2` `DisplayId2` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `creature_template` CHANGE `ModelId3` `DisplayId3` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0; diff --git a/src/shared/revision_sql.h b/src/shared/revision_sql.h index df065681c96..f722a883419 100644 --- a/src/shared/revision_sql.h +++ b/src/shared/revision_sql.h @@ -3,5 +3,5 @@ #define REVISION_DB_REALMD "required_14083_01_realmd_joindate_datetime" #define REVISION_DB_LOGS "required_14039_01_logs_anticheat" #define REVISION_DB_CHARACTERS "required_14061_01_characters_fishingSteps" - #define REVISION_DB_MANGOS "required_14085_01_mangos_creature_cls_stats" + #define REVISION_DB_MANGOS "required_14086_01_mangos_displayid_probability" #endif // __REVISION_SQL_H__