Adds current project ID to user seeder. (#360)

This commit is contained in:
Adam Patterson
2024-11-17 04:11:47 -07:00
committed by GitHub
parent 20944421de
commit 9c63b96a42

View File

@ -22,6 +22,7 @@ public function run(): void
$user = User::factory()->create([ $user = User::factory()->create([
'name' => 'Test User', 'name' => 'Test User',
'email' => 'user@example.com', 'email' => 'user@example.com',
'current_project_id' => Project::factory()->create(),
]); ]);
$this->createResources($user); $this->createResources($user);