laravel make migration file and model code example
Example 1: laravel make model with migration and controller
php artisan make:model Todo -mcr
Example 2: artisan refresh
Try this command it works for me
php artisan migrate:fresh
However, be careful! This command will drop all data from your DB:
Example 3: laravel make model with migration 5.8
php artisan make:model Settings --migration