Skip to content

Conversation

@AlanCoding
Copy link
Member

SUMMARY

I am highly confident that the ManyToManyField change, in specific, did not correspond to an actual schema change and in those cases it is okay to bump the change back to the last migration number that changed the field. Doesn't mean this did it correctly, still needs to be debugged and tested.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API

model_name='instance',
name='peers',
field=models.ManyToManyField(through='main.InstanceLink', to='main.Instance'),
field=models.ManyToManyField(through='main.InstanceLink', through_fields=('source', 'target'), to='main.Instance'),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both 0156 and 0187 account for the accounting different - 3 fields changed previously versus 5 fields changed here. This is because both of these are prior versions of the Instance.peers relationship. The changes to these could be reverted. But I don't think it would matter either way. I might revert because that would be more clear to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant