<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;

class AdminUserSeeder extends Seeder
{
    public function run()
    {
        DB::table('users')->insert([
            'name' => 'Admin Ryll Store',
            'email' => 'admin@ryllstore.com',
            'password' => Hash::make('admin123'), // Passwordna ieu mang
            'role' => 'admin',
            'created_at' => now(),
            'updated_at' => now(),
        ]);
    }
}