I found many results how to create migration from a model, but is there any way to create a model from migrations?
Basically I want to give a table name, and if there is multiple migration files (one to create and others to update the previous states) the model could be updated.
Is there any solution for this?
nameandsizefileds. Later I create an other migration what is extend this table with acolorfiled. Now this is 2 files in migrations. If I generate model only from the first one it will be not good.Modelas there is only one table. So, what would you want to change in that model class based on the 2nd migration?