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