<?php

namespace Database\Seeders;

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

class AdminUserSeeder extends Seeder
{

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('admin_users')->insert([
                                     'email' => config('auth.admin_user_email'),
                                     'password' => bcrypt(
                                       config('auth.admin_user_password')
                                     ),
                                     'first_name' => config('auth.admin_user_firstname'),
                                     'last_name' => config('auth.admin_user_lastname'),
                                   ]);

    }

}
