mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #31402 -- Added migrate --check option.
Command exits with non-zero status if unapplied migrations exist.
This commit is contained in:
parent
4216225480
commit
d0da2820ca
4 changed files with 53 additions and 0 deletions
|
@ -865,6 +865,13 @@ with hundreds of models.
|
|||
Suppresses all user prompts. An example prompt is asking about removing stale
|
||||
content types.
|
||||
|
||||
.. django-admin-option:: --check
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
Makes ``migrate`` exit with a non-zero status when unapplied migrations are
|
||||
detected.
|
||||
|
||||
``runserver``
|
||||
-------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue