events-venues/database/seeders/UserSeeder.php

25 lines
433 B
PHP

<?php
declare(strict_types = 1);
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Seeder;
//use Illuminate\Database\Console\Seeds\WithoutModelEvents;
class UserSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
User::factory()->create([
'name' => 'Jane Doe',
'email' => 'jane.doe@example.com',
]);
}
}