mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +00:00
[3.0.x] 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 in738faf9da2
. Thanks Janne Rönkkö for the report and Simon Charette for the implementation idea and review. Backport of22ce5d0031
from master
This commit is contained in:
parent
eb40426259
commit
0f8041abd5
3 changed files with 47 additions and 1 deletions
|
@ -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`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue