<?php

namespace Database\Seeders;

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

class UsersSeeder extends Seeder {
	/**
	 * Run the database seeds.
	 */
	public function run(): void {
		DB::table('users')->insert( [
			'name'              => 'Default User',
			'email'             => 'default@change.me',
			'password'          => Hash::make( 'change-me' ),
			'is_2fa_enabled'    => false,
			'two_factor_secret' => '',
			'role'              => 'admin'
		] );
	}
}
