Skip to content

Commit

Permalink
DB upgrade is required when updating Airflow (#22061)
Browse files Browse the repository at this point in the history
Just strengthen the language that it is "required", not "recommended" to
run `airflow db upgrade` when upgrading Airflow versions.

(cherry picked from commit e7fed6b)
  • Loading branch information
jedcunningham authored and ephraimbuddy committed Mar 22, 2022
1 parent 0d80900 commit a1af418
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/apache-airflow/installation/upgrading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
========================
Expand Down

0 comments on commit a1af418

Please sign in to comment.