call([]); DB::statement('SET FOREIGN_KEY_CHECKS=0;'); DB::table('branches')->where('id', '!=', 1)->delete(); DB::table('branches')->where('id', 1)->update(['name' => 'KPNO1']); DB::statement("ALTER TABLE branches AUTO_INCREMENT = 2"); DB::statement('SET FOREIGN_KEY_CHECKS=1;'); } }