php artisan make:migration add_surname_to_users_table code example Example: create migration laravel php artisan make:Model Product -m -c --resource