This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-2-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit a1af418f15afc0cd7d15d42a7b045aad031da790 Author: Jed Cunningham <66968678+jedcunning...@users.noreply.github.com> AuthorDate: Mon Mar 7 15:05:58 2022 -0700 DB upgrade is required when updating Airflow (#22061) Just strengthen the language that it is "required", not "recommended" to run `airflow db upgrade` when upgrading Airflow versions. (cherry picked from commit e7fed6bb3d7c8def86b47204176cebbfc6c401ff) --- docs/apache-airflow/installation/upgrading.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/apache-airflow/installation/upgrading.rst b/docs/apache-airflow/installation/upgrading.rst index 929c604..1f7687e 100644 --- a/docs/apache-airflow/installation/upgrading.rst +++ b/docs/apache-airflow/installation/upgrading.rst @@ -21,9 +21,9 @@ Upgrading Airflow to a newer version Why you need to upgrade ======================= -Newer Airflow versions can contain Database migrations so it is recommended that you run -``airflow db upgrade`` to Upgrade your Database with the schema changes in the Airflow version -you are upgrading to. +Newer Airflow versions can contain database migrations so you must run ``airflow db upgrade`` +to upgrade your database with the schema changes in the Airflow version you are upgrading to. +Don't worry, it's safe to run even if there are no migrations to perform. When you need to upgrade ========================