mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #31402 -- Added migrate --check option.
Command exits with non-zero status if unapplied migrations exist.
This commit is contained in:
committed by
Mariusz Felisiak
parent
4216225480
commit
d0da2820ca
@@ -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
|
||||
~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user