Modify

Ticket #267 (closed defect: fixed)

Opened 5 years ago

Last modified 4 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:

Description

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.

Attachments

Change History

comment:1 Changed 5 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 4 years ago by andrew

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

This works now in 0.7 - a rename is issued.

View

Add a comment

Modify Ticket

Action
as closed
Author


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

 
Note: See TracTickets for help on using tickets.