Modify ↓
Ticket #965 (assigned enhancement)
support "after col_name" in add_column
| Reported by: | anonymous | Owned by: | andrew |
|---|---|---|---|
| Priority: | minor | Milestone: | The Future |
| Component: | commands | Version: | unknown |
| Keywords: | Cc: |
Description
After applying an add_column migration, I noticed the new columns were appended to the end of the table columns. This surprised me, because I had modified my models.py by adding fields in specific positions, and I assumed South would use that ordering. Now my table and my Model class are out of synch (with respect to field order). Could a flag be added to support this correspondence?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

I suppose it could be done, but it's not supported on all backends, and column ordering is considered a non-essential database feature in South, so I'm marking this as [sometime in] The Future.