insertGetId([ 'name' => 'General', 'status' => 1, 'created_at' => now(), 'updated_at' => now(), ]); // Insert the "Others" category DB::table('categories')->insert([ 'section_id' => $sectionId, 'parent_id' => 0, 'name' => 'Others', 'commission_rate' => 0.00, 'url' => 'others', 'status' => 1, 'created_at' => now(), 'updated_at' => now(), ]); } public function down(): void { DB::table('categories')->where('name', 'Others')->delete(); DB::table('sections')->where('name', 'General')->delete(); } }