Update database/seeders/DatabaseSeeder.php
This commit is contained in:
parent
9abc4c4961
commit
702a1e7d46
@ -14,7 +14,7 @@ class DatabaseSeeder extends Seeder
|
|||||||
public function run(): void
|
public function run(): void
|
||||||
{
|
{
|
||||||
// User::factory(10)->create();
|
// 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([
|
User::factory()->create([
|
||||||
'name' => 'Test User',
|
'name' => 'Test User',
|
||||||
'email' => 'test@example.com',
|
'email' => 'test@example.com',
|
||||||
|
Loading…
Reference in New Issue
Block a user