<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class UsersSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $users = [
            [
                'name' => 'Kundan kumar',
                'email' => 'kundan@gmail.com',
                'password' => bcrypt('123'), // Use bcrypt for password hashing
                'user_profile' => 'profile/alice.jpg',
                'role' => 'superadmin',
                'status' => 1,
            ],
            
        ];

        DB::table('users')->insert($users);
    }
}
