Under review

Generate Migration from this version unavailable at times

Philipp Albrecht 10 місяців тому оновлено Adam Mościcki 10 місяців тому 1

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

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,