Ticket #1217 (new enhancement)

Opened 3 years ago

Last modified 2 years 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 3 years 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 3 years ago by tim.dawborn@…

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


comment:3 Changed 2 years ago by anonymous

Just wondering what the status is for this one?

Note: See TracTickets for help on using tickets.