<?php

namespace Database\Seeders;

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

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

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

        DB::table('properties')->insert(array(
            0 => array(
                'id' => '1',
                'property_type_id' => '1',
                'name' => 'Yes',
                'order' => '0',
                'timestamp' => '2017-09-07 13:55:36',
            ),
            1 => array(
                'id' => '2',
                'property_type_id' => '1',
                'name' => 'No',
                'order' => '0',
                'timestamp' => '2017-09-07 13:55:43',
            ),
            2 => array(
                'id' => '3',
                'property_type_id' => '2',
                'name' => 'Z',
                'order' => '0',
                'timestamp' => '2017-10-23 07:29:11',
            ),
            3 => array(
                'id' => '4',
                'property_type_id' => '2',
                'name' => 'S',
                'order' => '0',
                'timestamp' => '2017-10-23 07:29:18',
            ),
            4 => array(
                'id' => '5',
                'property_type_id' => '2',
                'name' => 'L',
                'order' => '0',
                'timestamp' => '2017-10-23 07:29:27',
            ),
        ));
    }
}
