Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
Seeder
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisdelicata committed Jun 14, 2018
1 parent e35954a commit 5f69c44
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions database/seeds/IndividualTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ public function run()
App\Person::all()->each(function ($user) use ($parents) {
$user->father()->associate(
$parents->random()->first()
);
)->save();

$user->mother()->associate(
$parents->random()->first()
);
$user->save();

)->save();


});
Expand Down

0 comments on commit 5f69c44

Please sign in to comment.