artisan generate migration from database code example
Example 1: php artisan make migration
php artisan make:migration create_users_table
Example 2: create migration laravel
php artisan make:Model Product -m -c --resource
php artisan make:migration create_users_table
php artisan make:Model Product -m -c --resource