[2.2.x] Refs #30597 -- Added a warning about dependent apps when unapplying migrations.
Backport of abba563c8635a52e8b657dee7708202e1f69433c from master
This commit is contained in:
parent
a6972e8854
commit
1ac2f25ec0
@ -804,6 +804,12 @@ The behavior of this command changes depending on the arguments provided:
|
|||||||
migrated past the named migration. Use the name ``zero`` to unapply all
|
migrated past the named migration. Use the name ``zero`` to unapply all
|
||||||
migrations for an app.
|
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
|
.. django-admin-option:: --database DATABASE
|
||||||
|
|
||||||
Specifies the database to migrate. Defaults to ``default``.
|
Specifies the database to migrate. Defaults to ``default``.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user