<?php

namespace Database\Seeders;

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

class AdminSeeder extends Seeder
{
    public function run(): void
    {
        User::updateOrCreate(
            ['email' => 'uovidiu@sent.com'],
            [
                'name' => 'Ovidiu U',
                'password' => Hash::make('changeme'),
                'is_admin' => true,
            ]
        );
    }
}
