mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28052 -- Prevented dropping Meta.indexes when changing db_index to False.
Thanks Marc Tamlyn for the report and Ian Foote/Tim Graham for review.
This commit is contained in:
committed by
Tim Graham
parent
63afe3a2bf
commit
663e48947f
@@ -72,3 +72,6 @@ Bugfixes
|
||||
|
||||
* Prevented ``AddIndex`` and ``RemoveIndex`` from mutating model state
|
||||
(:ticket:`28043`).
|
||||
|
||||
* Prevented migrations from dropping database indexes from ``Meta.indexes``
|
||||
when changing ``Field.db_index`` to ``False`` (:ticket:`28052`).
|
||||
|
||||
Reference in New Issue
Block a user