database/seeders/VentasTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('ventas')->insert([
           [ 
            "Producto" => "Pala",
            "cantidad" => "8",
            "Precio" => 200,
            "total" => 1600
           ]
        ]);
    }
public function run ( ) { DB :: table ( 'ventas' ) -> insert ( [ [ " Producto " => " Pala " , " cantidad " => " 8 " , " Precio " => 200 , " total " => 1600 ] ] ) ; }
Run the database seeds.
Run the database seeds .