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