<?php

use App\Partner;
use App\PartnerDescription;
use Illuminate\Database\Seeder;

class PartnerDescriptionSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        factory(Partner::class, 10)->create();
//        foreach (Partner::cursor() as $partner) {
//            foreach (languages() as $language) {
//                factory(PartnerDescription::class)->create([
//                    'partner_id' => $partner->id,
//                    'language_id' => $language->id,
//                ]);
//            }
//        }
    }
}
