<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
use App\Models\User;

class UserSeeder extends Seeder
{
    public function run(): void
    {
        User::updateOrCreate(
            ['email' => 'admin@rentx.test'],
            [
                'name' => 'Admin',
                'password' => Hash::make('Password123!'),
            ]
        );
    }
}
