Skip to content

Commit

Permalink
Salva o nome
Browse files Browse the repository at this point in the history
  • Loading branch information
edersoares committed Mar 20, 2024
1 parent 1376e1a commit b179a23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions database/factories/LegacyIndividualFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public function withName(string $name): static
{
return $this->afterCreating(function (LegacyIndividual $individual) use ($name) {
$individual->person->nome = $name;
$individual->person->save();
});
}

Expand Down

0 comments on commit b179a23

Please sign in to comment.