Skip to content

Commit

Permalink
[14086] Assign version to displayid probability change manually
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed May 10, 2024
1 parent c3455a8 commit f3d2768
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sql/base/mangos.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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';

--
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_sql.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__

0 comments on commit f3d2768

Please sign in to comment.