feat: proper faker

This commit is contained in:
b1ek 2024-08-30 08:10:16 +10:00
parent 7cee091b6d
commit 7e1f1184fe
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 5 additions and 2 deletions

View File

@ -16,8 +16,11 @@ class DatabaseSeeder extends Seeder
// User::factory(10)->create();
User::factory()->create([
'name' => 'Test User',
'email' => 'test@example.com',
'last_name' => fake()->lastName,
'name' => fake()->name,
'middle_name' => fake()->name(),
'phone' => fake()->unique()->phoneNumber,
'email' => fake()->unique()->safeEmail,
]);
}
}