<?php

use Illuminate\Database\Seeder;
use Carbon\Carbon;

class RateTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('rates')->insert([
            'x1_cash' => 1.2,
            'x1_cheque' => 1.2,
            'x1_ba' => 1.2,
            'x2_cash' => 1.2,
            'x2_cheque' => 1.2,
            'x2_ba' => 1.2,
            'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
            'updated_at' => Carbon::now()->format('Y-m-d H:i:s'),
        ]);

        DB::table('rates')->insert([
            'x1_cash' => 1.3,
            'x1_cheque' => 1.3,
            'x1_ba' => 1.3,
            'x2_cash' => 1.3,
            'x2_cheque' => 1.3,
            'x2_ba' => 1.3,
            'created_at' => Carbon::now()->format('Y-m-d H:i:s'),
            'updated_at' => Carbon::now()->format('Y-m-d H:i:s'),
        ]);
    }
}
