<?php use Illuminate\Database\Seeder; class InquirySeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() {
factory(App\Models\Inquiry::class, 50)->create()->each(function ($user) { $user->insert(factory(\App\Models\Inquiry::class)->make()); });
} }