<?php
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Seeder;

class ProductSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
      DB::table('products')->insert([
                 [
                   'name' => 'Project',
                   'price' => 100,
                   'path_img' => 'img/portfolio-01.jpg',
                   'created_at' => new DateTime,
                   'updated_at' => new DateTime,
               ],
                     [
                       'name' => 'Project1',
                       'price' => 101,
                       'path_img' => 'img/portfolio-02.jpg',
                       'created_at' => new DateTime,
                       'updated_at' => new DateTime,
                   ]
             ]);
    }
}
