php artisan make migrazione
php artisan make:migration create_users_table
laravel crea modello e migrazione
# 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
crea migrazione laravel
php artisan make:migration create_users_table
crea nuova migrazione con terminale in laravel
php artisan make:migration add_votes_to_users_table --table=users
php artisan make:migration create_users_table --create=users
crea la fabbrica di migrazione del controller modello laravel in un unico comando
# to make only Model Class
php artisan make:model Customer
# to make resource controller
php artisan make:controller CustomersController --resource
# make controller for already existing Model Class (binded to model)
php artisan make:controller CustomersController --model=Customer
# to make model, migration and controller and factory all in one command
php artisan make:model Modelname -crmf
come fare-migrazioni in laravel
php artisan make:migration create_users_table --create=users
php artisan make:migration add_votes_to_users_table --table=users