1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

[1.8.x] Fixed #24893 -- Fixed lack of unique constraint when changing a field from primary_key=True to unique=True

Backport of e1e6399c2c from master
This commit is contained in:
Tim Graham
2015-06-01 19:27:28 -04:00
parent 8911d2e20f
commit 1c57d7e7fa
4 changed files with 46 additions and 1 deletions

View File

@@ -34,3 +34,6 @@ Bugfixes
* Fixed quoting of SQL when renaming a field to ``AutoField`` in PostgreSQL
(:ticket:`24892`).
* Fixed lack of unique constraint when changing a field from
``primary_key=True`` to ``unique=True`` (:ticket:`24893`).