Automatically generate models again

Hi,

When ForestAdmin was first setup, it automatically connected to my SQL database and generate the project template which includes the /models directory.

Since then I’ve done a number of migrations on the database, so I’m wondering is there an easy way to have Forest update that directory again?

Thanks

Hi @forestdan !
If you used lumber to generate your models, you can update them via the lumber update command.
you can read more about this here or watch this tutorial.