<?php

namespace Database\Seeders;

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

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

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

        DB::table('medical_conditions')->insert(array(
            0 => array(
                'id' => '1',
                'name' => 'Asthma',
                'created_at' => '2017-09-29 08:18:14',
                'updated_at' => '2017-09-29 08:18:14',
            ),
            1 => array(
                'id' => '2',
                'name' => 'Migrenes',
                'created_at' => '2017-09-29 08:18:14',
                'updated_at' => '2017-09-29 08:18:14',
            ),
            2 => array(
                'id' => '3',
                'name' => 'Nausea',
                'created_at' => '2017-09-29 08:18:14',
                'updated_at' => '2017-09-29 08:18:14',
            ),
        ));
    }
}
