database/seeds/ProductsTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
            Product::create(array(
                'categories_id'=>'1',
                'reviews_id'=>'1',
                'name' => '1',
                'short_description' => '1',
                'price' => '1888',
            ));
        }
public function run ( ) { Product :: create ( array ( 'categories_id' => '1' , 'reviews_id' => '1' , 'name' => '1' , 'short_description' => '1' , 'price' => '1888' , ) ) ; }
Run the database seeds.
Run the database seeds .