mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #25850 -- Made migrate/makemigrations error on inconsistent history.
This commit is contained in:
@@ -323,6 +323,10 @@ Migrations
|
||||
* Added support for :ref:`non-atomic migrations <non-atomic-migrations>` by
|
||||
setting the ``atomic`` attribute on a ``Migration``.
|
||||
|
||||
* The ``migrate`` and ``makemigrations`` commands now check for a consistent
|
||||
migration history. If they find some unapplied dependencies of an applied
|
||||
migration, ``InconsistentMigrationHistory`` is raised.
|
||||
|
||||
Models
|
||||
~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user