'streamline bill', 'unit_cost' => 0 , 'account_id' => '14'), ); foreach ($payment_items as $item) { // Prevent re-seeding the same data PaymentItem::firstOrCreate([ 'name' => $item['name'], 'unit_cost' => $item['unit_cost'], 'account_id' => $item['account_id'], ]); } } }