php artisan migrate refresh --seed code example Example: laravel migration seed fresh php artisan migrate:fresh --seed