while creating migration in laravel db is not found code example
Example: migration not found laravel
php artisan clear-compiled
php artisan optimize:clear
composer dump-autoload
php artisan optimize
php artisan clear-compiled
php artisan optimize:clear
composer dump-autoload
php artisan optimize