php artisan migrate:fresh--seed command code example
Example 1: laravel migration seed fresh
php artisan migrate:fresh --seed
Example 2: laravel seeder update
DB::table('translations')->where('field', 'page_desc')->update(['field' => 'meta_desc']);