diff options
| author | David Vaz <davidmgvaz@gmail.com> | 2019-09-27 09:41:49 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-09-27 20:09:28 +0200 |
| commit | 5d40de08566cc7f0987ea414e06f37e6ed4e019a (patch) | |
| tree | e564b1355025f420790f05cc92325d1f430c0e11 /docs/ref | |
| parent | 0dc39ca8677347ecf25aebd056a130cdbfb8df21 (diff) | |
[3.0.x] Refs #30597 -- Added a warning about dependent apps when unapplying migrations.
Backport of abba563c8635a52e8b657dee7708202e1f69433c from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/django-admin.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index eaba4d437d..34cb806db1 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -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``. |
