Modify

Ticket #1073 (accepted defect)

Opened 2 years ago

Last modified 2 years ago

South does not notice when a ForeignKey's type should change

Reported by: anonymous Owned by: andrew
Priority: major Milestone: The Future
Component: commands Version: unknown
Keywords: Cc:

Description

If I create ModelA which has a primary key set to a CharField?, and create a ForeignKey? from ModelB to ModelA, this works fine.

If I then change the ForeignKey? to ModelC, which has an integer primary key, but I don't rename the foreign key field, south doesn't notice.

Attachments

Change History

comment:1 Changed 2 years ago by andrew

  • Status changed from new to accepted
  • Milestone set to The Future

This might be possible in a future South version, but would require us to track a lot more information about fields than we currently do in our serialised information. I'm filing it in "The Future" milestone for now.

View

Add a comment

Modify Ticket

Action
as accepted
Author


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

 
Note: See TracTickets for help on using tickets.