Skip to content

Commit

Permalink
[3.0.x] Refs #30597 -- Added a warning about dependent apps when unap…
Browse files Browse the repository at this point in the history
…plying migrations.

Backport of abba563 from master
  • Loading branch information
davidmgvaz authored and felixxm committed Sep 27, 2019
1 parent 0dc39ca commit 5d40de0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/ref/django-admin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,12 @@ The behavior of this command changes depending on the arguments provided:
migrated past the named migration. Use the name ``zero`` to unapply all
migrations for an app.

.. warning::

When unapplying migrations, all dependent migrations will also be
unapplied, regardless of ``<app_label>``. You can use ``--plan`` to check
which migrations will be unapplied.

.. django-admin-option:: --database DATABASE

Specifies the database to migrate. Defaults to ``default``.
Expand Down

0 comments on commit 5d40de0

Please sign in to comment.