<?php

namespace Database\Seeders;

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

class UsersTableSeeder extends Seeder
{
  
    public function run(): void
    {
        DB::table('users')->insert([
            [
                'fullName' => 'John Doe',
                'email' => 'john.doe@example.com',
                'password' => Hash::make('password123'),
                'double_auth' => false,
                'verify_code' => null,
                'role_id' => 1, 
                'etat' => 'Active',
                'image' => null,
                'phone' => '1234567890',
                'forget_password' => false,
                'created_at' => now(),
                'updated_at' => now(),
            ],
    
        ]);
    }
}

