insert(['migration' => $record, 'batch' => 35]); } // re-value 12 to 19 in the patient categories DB::table('patient_category_invoices')->where('tag_id', 12)->update(['tag_id' => 19]); DB::table('central_billing_deposits')->where('tag_id', 12)->update(['tag_id' => 19]); DB::table('streamline_setup_steps')->where('tag_id', 12)->insert([ ['step' => 'hospital registration', 'completion_status' => 1, 'created_at' => now(), 'updated_at' => now()], ['step' => 'clinics registration', 'completion_status' => 1, 'created_at' => now(), 'updated_at' => now()], ['step' => 'wards registration', 'completion_status' => 1, 'created_at' => now(), 'updated_at' => now()], ['step' => 'services registration', 'completion_status' => 1, 'created_at' => now(), 'updated_at' => now()], ['step' => 'investigations registration', 'completion_status' => 1, 'created_at' => now(), 'updated_at' => now()], ['step' => 'drugs registration', 'completion_status' => 1, 'created_at' => now(), 'updated_at' => now()], ['step' => 'procedures registration', 'completion_status' => 1, 'created_at' => now(), 'updated_at' => now()], ['step' => 'sundries registration', 'completion_status' => 1, 'created_at' => now(), 'updated_at' => now()], ['step' => 'general settings configuration', 'completion_status' => 1, 'created_at' => now(), 'updated_at' => now()], ]); } }