How to create model based on migration file in Laravel

I have already created a migration and I want to create a model based on the migration file.

Is it possible? If so, how can this be done?

+3


source to share


1 answer


It cannot be done. The furthest you can do so far is to create a migration and a model at the same time:



php artisan make:model ModelName -m

      

+2


source







All Articles