Modify ↓
Ticket #1073 (accepted defect)
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
Note: See
TracTickets for help on using
tickets.

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.