<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class AdminUserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        \App\Models\User::updateOrCreate(
            ['username' => 'Admin'],
            [
                'name' => 'Administrator',
                'email' => 'admin@admin.com',
                'password' => md5('Tiivo@Saga123'),
            ]
        );
    }
}
