mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #34051 -- Made makemigrations --check exit before making migrations.
This commit is contained in:
committed by
Mariusz Felisiak
parent
5d36a8266c
commit
80d38de52b
@@ -825,6 +825,11 @@ Generate migration files without Django version and timestamp header.
|
||||
Makes ``makemigrations`` exit with a non-zero status when model changes without
|
||||
migrations are detected.
|
||||
|
||||
.. versionchanged:: 4.2
|
||||
|
||||
In older versions, the missing migrations were also created when using the
|
||||
``--check`` option.
|
||||
|
||||
.. django-admin-option:: --scriptable
|
||||
|
||||
.. versionadded:: 4.1
|
||||
|
||||
Reference in New Issue
Block a user