mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #29193 -- Prevented unnecessary foreign key drops when altering a unique field.
Stopped dropping and recreating foreign key constraints on other fields
in the same table as the one which is actually being altered in an
AlterField operation.
Regression in c3e0adcad8.
This commit is contained in:
committed by
Tim Graham
parent
003334f8af
commit
ee17bb8a67
@@ -9,4 +9,6 @@ Django 1.11.13 fixes several bugs in 1.11.12.
|
||||
Bugfixes
|
||||
========
|
||||
|
||||
* ...
|
||||
* Fixed a regression in Django 1.11.8 where altering a field with a unique
|
||||
constraint may drop and rebuild more foreign keys than necessary
|
||||
(:ticket:`29193`).
|
||||
|
||||
@@ -11,3 +11,7 @@ Bugfixes
|
||||
|
||||
* Corrected the import paths that ``inspectdb`` generates for
|
||||
``django.contrib.postgres`` fields (:ticket:`29307`).
|
||||
|
||||
* Fixed a regression in Django 1.11.8 where altering a field with a unique
|
||||
constraint may drop and rebuild more foreign keys than necessary
|
||||
(:ticket:`29193`).
|
||||
|
||||
Reference in New Issue
Block a user