Look at the tutorial and it says
<code>php artisan make:model Article </code>
Artisan’s make:model method is used here
I can create the corresponding model php file
But
Why is there only the model php file and no database migrations? The
php file for database migration under the file home?
The poster’s operation is as shown below.
Look at the tutorial and it says
<code>php artisan make:model Article </code>
Artisan’s make:model method is used here
I can create the corresponding model php file
But
Why is there only the model php file and no database migrations? The
php file for database migration under the file home?
The poster’s operation is as shown below.
php artisan make:model Page -m
First php artisan make:migration create_article_table
and then php artisan migrate to generate