diff --git a/utils/sql/db_update_manifest.txt b/utils/sql/db_update_manifest.txt index fdb4c4d58..a4441cafa 100644 --- a/utils/sql/db_update_manifest.txt +++ b/utils/sql/db_update_manifest.txt @@ -392,6 +392,7 @@ 9136|2019_02_04_profanity_command.sql|SHOW TABLES LIKE 'profanity_list'|empty| 9137|2018_12_12_client_faction_tables.sql|SHOW TABLES LIKE 'faction_base_data'|empty| 9138|2018_12_12_convert_to_client_functions.sql|SELECT `id` FROM `faction_list` WHERE `id` > 4999|empty| +9138|2019_03_25_optional_npc_model.sql|SHOW COLUMNS FROM `npc_types` LIKE 'model'|empty| # Upgrade conditions: # This won't be needed after this system is implemented, but it is used database that are not diff --git a/utils/sql/git/required/2019_03_25_optional_npc_model.sql b/utils/sql/git/required/2019_03_25_optional_npc_model.sql new file mode 100644 index 000000000..0f82bd62e --- /dev/null +++ b/utils/sql/git/required/2019_03_25_optional_npc_model.sql @@ -0,0 +1 @@ +ALTER TABLE `npc_types` ADD COLUMN `model` SMALLINT(5) NOT NULL DEFAULT '0' AFTER `stuck_behavior`;