<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class CompanyDetailsSetupSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        if(DB::table('company_details_setup')->get()->count() == 0){
            DB::table('company_details_setup')->insert([
                'time_out' => '30',
                'version_from' => '2019',
                'created_at' => now(),
                'updated_at' => now()
            ]);
        }
    }
}
