1
0
mirror of https://github.com/django/django.git synced 2025-03-25 16:50:45 +00:00

4 Commits

Author SHA1 Message Date
Claude Paroz
012229914c [1.5.x] Created special PostgreSQL text indexes when unique is True
Refs #19441.
Backport of c698c55966 from master.
2013-01-07 21:02:02 +01:00
Anssi Kääriäinen
d529d413f7 [1.5.x] Avoided having an indexed TextField installed unless using postgres
An index on TextField results in a warning message when running tests
on MySQL or SQLite, and the test using the TextField was PostgreSQL
only in any case.

Backpatch of 13a2b11425f87f674f0273af5fa70c1e4cf327ed
2012-12-29 16:38:32 +02:00
Claude Paroz
ddea0e0d7e [1.5.x] Fixed #19441 -- Created PostgreSQL varchar index when unique=True
Thanks Dylan Verheul for the report and Anssi Kääriäinen for the
review.
Backport of 55972ee5c from master.
2012-12-18 10:04:47 +01:00
Alex Gaynor
6f716e9e5f [1.5.x] Fixed #5805 -- it is now possible to specify multi-column indexes. Thanks to jgelens for the original patch. Backport of 4285571c5a9bf6ca3cb7c4d774942b9ae5b537e4. 2012-11-04 10:26:59 -08:00