Skip to content

Commit

Permalink
Fix issue with Seeder class not having a UUID for the "id" field
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosbern committed Sep 23, 2024
1 parent e02028c commit 7d00e47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Commands/Seed.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ private function rememberThatSeederHaveBeenRun()
* @phpstan-ignore-next-line Call to an undefined static method Khalyomede\LaravelSeed\Seeder::insert()
*/
Seeder::insert([
"id" => Str::uuid(),
"seeder" => $this->seedFileName,
"batch" => $this->batchNumber,
]);
Expand Down

0 comments on commit 7d00e47

Please sign in to comment.