1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #26760 -- Added --prune option to migrate command.

This commit is contained in:
Jacob Walls
2021-12-24 18:37:22 -05:00
committed by Mariusz Felisiak
parent eeff1787b0
commit 2d8232fa71
7 changed files with 177 additions and 0 deletions

View File

@@ -215,6 +215,9 @@ Management Commands
input prompts to ``stderr``, writing only paths of generated migration files
to ``stdout``.
* The new :option:`migrate --prune` option allows deleting nonexistent
migrations from the ``django_migrations`` table.
Migrations
~~~~~~~~~~