<?php

namespace Database\Seeders;

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

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

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

        DB::table('delivery_methods')->insert(array(
            0 => array(
                'id' => '1',
                'name' => 'Economy Tracked Delivery',
                'cost' => '3.19',
                'item_combined_cost' => '0',
                'min' => '0',
                'max' => '35',
                'heavy' => '0',
                'order' => '1',
                'zone' => '1',
                'subzone' => '0',
                'exzone' => '0',
                'disable' => '0',
                'timestamp' => '0000-00-00 00:00:00',
                'service_id' => '0',
            ),
            1 => array(
                'id' => '63',
                'name' => 'Next Working Day',
                'cost' => '7.99',
                'item_combined_cost' => '0',
                'min' => '0',
                'max' => '999999',
                'heavy' => '0',
                'order' => '3',
                'zone' => '1',
                'subzone' => '0',
                'exzone' => '0',
                'disable' => '0',
                'timestamp' => '2017-11-16 14:58:59',
                'service_id' => '0',
            ),
            2 => array(
                'id' => '64',
                'name' => 'Tracked Express Delivery',
                'cost' => '4.39',
                'item_combined_cost' => '0',
                'min' => '0',
                'max' => '999999',
                'heavy' => '0',
                'order' => '2',
                'zone' => '1',
                'subzone' => '0',
                'exzone' => '0',
                'disable' => '0',
                'timestamp' => '2017-11-16 14:58:59',
                'service_id' => '0',
            ),
        ));
    }
}
