1
0
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:
Tim Graham
2016-01-07 20:06:58 -05:00
parent fe5d37f991
commit f8c3d38c2d
3 changed files with 49 additions and 2 deletions

View File

@@ -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`).