diff --git a/database/factories/User/UserFactory.php b/database/factories/User/UserFactory.php index 041aa791f..431dab354 100644 --- a/database/factories/User/UserFactory.php +++ b/database/factories/User/UserFactory.php @@ -14,7 +14,7 @@ class UserFactory extends Factory public function definition() { return [ - 'id' => $this->faker->numberBetween(800000, 1900000), + 'id' => $this->faker->unique()->numberBetween(800000, 1900000), ]; } }