migrate --path laravel code example
Example 1: laravel migration seed fresh
php artisan migrate:fresh --seed
Example 2: laravel migration
$table->string('name', 100);
php artisan migrate:fresh --seed
$table->string('name', 100);