<?php

namespace Database\Seeders;

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

class AdminRolesTableSeeder extends Seeder
{
    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        echo 'Seeding admin_roles...'.PHP_EOL;

        DB::table('admin_roles')->delete();

        DB::table('admin_roles')->insert(array(
            0 => array(
                'id' => '3',
                'name' => 'Doctor',
                'created_at' => '2017-08-17 13:55:11',
                'updated_at' => '2017-08-17 13:55:11',
            ),
            1 => array(
                'id' => '4',
                'name' => 'Pharmacist',
                'created_at' => '2017-08-17 14:04:47',
                'updated_at' => '2017-08-17 14:04:47',
            ),
            2 => array(
                'id' => '7',
                'name' => 'Shop Manager',
                'created_at' => '2017-08-18 09:47:59',
                'updated_at' => '2017-08-18 09:47:59',
            ),
            3 => array(
                'id' => '8',
                'name' => 'NHS Pharmacist',
                'created_at' => null,
                'updated_at' => null,
            ),
            4 => array(
                'id' => '9',
                'name' => 'Private Prescription Pharmacist',
                'created_at' => null,
                'updated_at' => null,
            ),
        ));
    }
}
