<?php

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

class ClientsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //
        DB::table('clients')->delete();
        DB::table('clients')->insert([
            [
                'email' => 'client01@gmail.com',
                'password' => bcrypt('!client'),
                'type' => 1,
                'sale_code' => "S0001",
                "total" => 0,
                "created_at" => Carbon::now(),
                'is_checked' => 0
            ]
        ]);
    }
}
