Under review

Generate Migration from this version unavailable at times

Philipp Albrecht 4 year бұрын updated by Adam Mościcki 4 year бұрын 1

Sometimes the "Generate Migration from this version" is not available without giving a clue of why that is. Please advise. 

Image 955

Under review


If you hold a mouse on that option you would see:

Models containing errors caused unexpected behavior while migrating.
I agree that our way of showing the message is not obvious, we will rediscuss it.

The best way to fix the error is:
1. Choose option: "Create new model from this version".
2. Fix errors.
3. User new model as a source of migration.

Hope this helps,