database/seeds/carte.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
      DB::table('carte')->insert([
        'rid'=>"1",
        'cName'=>"1",
        'cprice'=>"1",
        'cRecommend'=>"1",
        'cDescription'=>"1",
]);
    }
public function run ( ) { DB :: table ( 'carte' ) -> insert ( [ 'rid' => " 1 " , 'cName' => " 1 " , 'cprice' => " 1 " , 'cRecommend' => " 1 " , 'cDescription' => " 1 " , ] ) ; }
Run the database seeds.
Run the database seeds .
//