mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #31106 -- Fixed migrations crash on PostgreSQL 10+ when adding FK constraints inline and changing data.
This allows adding foreign key constraints inline and changing data in
the same migration on PostgreSQL 10+.
Regression in 738faf9da2.
Thanks Janne Rönkkö for the report and Simon Charette for the
implementation idea and review.
This commit is contained in:
@@ -14,3 +14,7 @@ Bugfixes
|
||||
|
||||
* Fixed a regression in Django 3.0 where ``QuerySet.exists()`` crashed if a
|
||||
queryset contained an aggregation over a ``Subquery()`` (:ticket:`31109`).
|
||||
|
||||
* Fixed a regression in Django 3.0 that caused a migration crash on PostgreSQL
|
||||
10+ when adding a foreign key and changing data in the same migration
|
||||
(:ticket:`31106`).
|
||||
|
||||
Reference in New Issue
Block a user