Ticket #1073 (accepted defect)

Opened 4 years ago

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


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.

Change History

comment:1 Changed 4 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.

Note: See TracTickets for help on using tickets.