mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #34529, Refs #34525 -- Reduced index operations with Meta.indexes/index_together when optimizing migrations.
This makes squashing migrations an available path for changing
Meta.index_together, which is deprecated, to Meta.indexes.
Follow up to f810325721.
This commit is contained in:
@@ -53,3 +53,8 @@ Bugfixes
|
||||
|
||||
* Fixed a regression in Django 4.2 where breadcrumbs didn't appear on admin
|
||||
site app index views (:ticket:`34512`).
|
||||
|
||||
* Made squashing migrations reduce ``AddIndex``, ``RemoveIndex``,
|
||||
``RenameIndex``, and ``CreateModel`` operations which allows removing a
|
||||
deprecated ``Meta.index_together`` option from historical migrations and use
|
||||
``Meta.indexes`` instead (:ticket:`34525`).
|
||||
|
||||
Reference in New Issue
Block a user