Skip to content

Commit

Permalink
ephraim suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
dstandish committed Mar 2, 2022
1 parent d00a0f9 commit 3bbb9c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/apache-airflow/usage-cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ Run ``airflow db upgrade --help`` for usage details.
Running migrations manually
^^^^^^^^^^^^^^^^^^^^^^^^^^^

If desired, you can generate the sql statements for an upgrade and apply each upgrade migration manually, one at a time. To do so use the ``--revision-range`` option with ``db upgrade``. Do *not* skip running the Alembic revision id update commands; this is how Airflow will know where you are upgrading from the next time you need to. See :doc:`/migrations-ref.rst` for a mapping between revision and version.
If desired, you can generate the sql statements for an upgrade and apply each upgrade migration manually, one at a time. To do so you may use either the ``--range`` (for Airflow version) or ``--revision-range`` (for Alembic revision) option with ``db upgrade``. Do *not* skip running the Alembic revision id update commands; this is how Airflow will know where you are upgrading from the next time you need to. See :doc:`/migrations-ref.rst` for a mapping between revision and version.


.. _cli-db-downgrade:
Expand Down

0 comments on commit 3bbb9c1

Please sign in to comment.