Update database/seeders/DatabaseSeeder.php

This commit is contained in:
Václav Španinger 2024-08-07 19:22:55 +00:00
parent 9abc4c4961
commit 702a1e7d46
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class DatabaseSeeder extends Seeder
public function run(): void
{
// User::factory(10)->create();
if (empty(User::where('email', 'test@example.co')->first())){
if (empty(User::where('email', 'test@example.com')->first())){
User::factory()->create([
'name' => 'Test User',
'email' => 'test@example.com',