fresh and seed single table and seeder without loosing data in another tables in laravel
1) add this code
 DB::statement('SET FOREIGN_KEY_CHECKS=0;');
 DB::table('rcsa_timeline_statuses')->truncate();
 DB::statement('SET FOREIGN_KEY_CHECKS=1;');
2) Seed database
php artisan db:seed --class=RcsaProgressSeederĀ 
by Luka Tatarishvili
2 years ago
MySQL
Laravel
0
Pro tip: use ```triple backticks around text``` to write in code fences