mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #24893 -- Fixed lack of unique constraint when changing a field from primary_key=True to unique=True
This commit is contained in:
@@ -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`).
|
||||
|
||||
Reference in New Issue
Block a user