mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +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
|
@ -300,6 +300,9 @@ Management Commands
|
|||
enabled for all configured :setting:`DATABASES` by passing the ``database``
|
||||
tag to the command.
|
||||
|
||||
* The new :option:`migrate --check` option makes the command exit with a
|
||||
non-zero status when unapplied migrations are detected.
|
||||
|
||||
Migrations
|
||||
~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue