Ticket #1217 (new enhancement)

Opened 17 months ago

Last modified 11 months ago

Add support for index_together

Reported by: Mike Fogel Owned by: andrew
Priority: minor Milestone:
Component: migrations Version: mercurial
Keywords: Cc:


Django 1.5 adds a Meta option index_together to specify non-unique multicolumn indexes. South already has the database api support for these via db.create_index and db.delete_index. index_together needs be added to the list of Meta attributes that are frozen, and hooked up to the correct db.create/delete_index calls.


Change History

comment:1 Changed 15 months ago by tim.dawborn@…

+1 for support for this. It was quite a shock debugging performance issues only to find that none of the composite column indexes existed in the database.

comment:2 Changed 15 months ago by tim.dawborn@…

I added an initial implementation and a pull request on bitbucket for review.

comment:3 Changed 11 months ago by anonymous

Just wondering what the status is for this one?


Add a comment

Modify Ticket

as new

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.