Created
March 2, 2018 12:55
-
-
Save afoysal/80428e36c87a1c4f3fceb8a1ce19658e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Faker\Generator as Faker; | |
$factory->define(App\Applicant_skill::class, function (Faker $faker) { | |
return [ | |
'applicant_id' => \App\Applicant::all()->random()->id, | |
'skill_id' => \App\Skills::all()->random()->id, | |
]; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment