create(); if (empty(User::where('email', 'test@example.com')->first())){ User::factory()->create([ 'name' => 'Test User', 'email' => 'test@example.com', ]); } $this->call([ HostSeeder::class, TaskSeeder::class, ]); } }