fresh db in laravel code example
Example 1: laravel migration seed fresh
php artisan migrate:fresh --seed
Example 2: re migrate laravel
Try:
composer dump-autoload
php artisan config:cache
If not working also try:
php artisan migrate:refresh.
php artisan migrate:fresh --seed
Try:
composer dump-autoload
php artisan config:cache
If not working also try:
php artisan migrate:refresh.