mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
[1.8.x] Fixed #26034 -- Fixed incorrect index handling on PostgreSQL on Char/TextField with unique=True and db_index=True.
Thanks Simon Charette for review.
Backport of 56aaae58a7 from master
This commit is contained in:
@@ -18,3 +18,8 @@ Bugfixes
|
||||
* Fixed a regression that caused the incorrect day to be selected when opening
|
||||
the admin calendar widget for timezones from GMT+0100 to GMT+1200
|
||||
(:ticket:`24980`).
|
||||
|
||||
* Fixed incorrect index handling in migrations on PostgreSQL when adding
|
||||
``db_index=True`` or ``unique=True`` to a ``CharField`` or ``TextField`` that
|
||||
already had the other specified, or when removing one of them from a field
|
||||
that had both (:ticket:`26034`).
|
||||
|
||||
Reference in New Issue
Block a user