Answers for "command to create migration and model in laravel"

PHP
24

php artisan make migration

php artisan make:migration create_users_table
Posted by: Guest on January-14-2021
5

laravel create model and migration

# If you would like to generate a database migration when you 
# generate the model, you may use the --migration or -m option:

php artisan make:model Flight --migration
php artisan make:model Flight -m
Posted by: Guest on April-22-2020

Code answers related to "command to create migration and model in laravel"

Browse Popular Code Answers by Language