diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/django-admin.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 78770fbf72..a60c538331 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -908,6 +908,14 @@ content types. Makes ``migrate`` exit with a non-zero status when unapplied migrations are detected. +.. django-admin-option:: --prune + +.. versionadded:: 4.1 + +Deletes nonexistent migrations from the ``django_migrations`` table. This is +useful when migration files replaced by a squashed migration have been removed. +See :ref:`migration-squashing` for more details. + ``runserver`` ------------- |
