0
Wird überprüft

Generate Migration from this version unavailable at times

Philipp Albrecht vor 4 Jahren aktualisiert von Adam Mościcki vor 4 Jahren 1

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

Image 955

Wird überprüft

Hello,

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,
Adam