summaryrefslogtreecommitdiff
path: root/docs/releases
diff options
context:
space:
mode:
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/4.2.1.txt5
-rw-r--r--docs/releases/4.2.txt3
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/releases/4.2.1.txt b/docs/releases/4.2.1.txt
index a1130effe8..bed64f6ad1 100644
--- a/docs/releases/4.2.1.txt
+++ b/docs/releases/4.2.1.txt
@@ -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`).
diff --git a/docs/releases/4.2.txt b/docs/releases/4.2.txt
index d923be55b8..7d7848708d 100644
--- a/docs/releases/4.2.txt
+++ b/docs/releases/4.2.txt
@@ -502,7 +502,8 @@ Should become::
Running the :djadmin:`makemigrations` command will generate a migration
containing a :class:`~django.db.migrations.operations.RenameIndex` operation
-which will rename the existing index.
+which will rename the existing index. Next, consider squashing migrations to
+remove ``index_together`` from historical migrations.
The ``AlterIndexTogether`` migration operation is now officially supported only
for pre-Django 4.2 migration files. For backward compatibility reasons, it's