Ticket #1217 (new enhancement)

Opened 22 months ago

Last modified 16 months ago

Add support for index_together

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

Description

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 19 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 19 months ago by tim.dawborn@…

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

https://bitbucket.org/andrewgodwin/south/pull-request/116

comment:3 Changed 16 months ago by anonymous

Just wondering what the status is for this one?

Note: See TracTickets for help on using tickets.