Ticket #267 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

--auto changing a field from e.g. a CharField to a ForeignKey fails

Reported by: imbaczek@… Owned by: andrew
Priority: major Milestone: 0.7
Component: commands Version: 0.6
Keywords: Cc:


DMBS spits out a 'column not found' error, and rightly so: there's no column named xxx_id if the old column was named xxx. south should either emit a rename_column before alter, or report an error with a hint to change ForeignKey? column name.

Change History

comment:1 Changed 6 years ago by andrew

  • Status changed from new to assigned
  • Milestone set to 0.7

So it does. Scheduling for 0.7.

comment:2 Changed 5 years ago by andrew

  • Status changed from assigned to closed
  • Resolution set to fixed

This works now in 0.7 - a rename is issued.

Note: See TracTickets for help on using tickets.