diff --git a/definitions/checks/foreman/validate_external_db_version.rb b/definitions/checks/foreman/validate_external_db_version.rb index 52eb796dd..ab8b2770e 100644 --- a/definitions/checks/foreman/validate_external_db_version.rb +++ b/definitions/checks/foreman/validate_external_db_version.rb @@ -12,15 +12,15 @@ class ValidateExternalDbVersion < ForemanMaintain::Check def run current_db_version = feature(:foreman_database).db_version - fail!(db_upgrade_message(current_db_version)) if current_db_version.major < 12 + fail!(db_upgrade_message(current_db_version)) if current_db_version.major < 13 end def db_upgrade_message(db_version) product_name = feature(:instance).product_name "\n\n*** ERROR: Server is running on PostgreSQL #{db_version} database.\n"\ - "*** Newer version of #{product_name} supports only PostgreSQL version 12.\n"\ - "*** Before proceeding further, you must upgrade database to PostgreSQL 12.\n" + "*** Newer version of #{product_name} supports only PostgreSQL version 13.\n"\ + "*** Before proceeding further, you must upgrade database to PostgreSQL 13.\n" end end end