lasthourcloud/database/seeders/UserSeeder.php
Andras Bacsai a044354294 css
2023-05-22 15:47:40 +02:00

22 lines
408 B
PHP

<?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Seeder;
class UserSeeder extends Seeder
{
public function run(): void
{
User::factory()->create([
"id" => 0,
'email' => 'test@example.com',
'is_root_user' => true,
]);
User::factory()->create([
'email' => 'test2@example.com',
]);
}
}