mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[1.8.x] Fixed #24447 -- Made migrations add FK constraints for existing columns
When altering from e.g. an IntegerField to a ForeignKey, Django didn't
add a constraint.
Backport of f4f0060fea from master
This commit is contained in:
committed by
Markus Holtermann
parent
ac07890f95
commit
1ae2df6bfc
@@ -9,4 +9,8 @@ Django 1.7.6 fixes several bugs in 1.7.5.
|
||||
Bugfixes
|
||||
========
|
||||
|
||||
* ...
|
||||
* Fixed crash when coercing ``ManyRelatedManager`` to a string
|
||||
(:ticket:`24352`).
|
||||
|
||||
* Fixed a bug that prevented migrations from adding a FK constraint
|
||||
for an existing column. (:ticket:`24447`).
|
||||
|
||||
Reference in New Issue
Block a user