database/seeders/LevelSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $level=array(
            'level'=>'Junior Level',
            'description'=>'This is Junior Level'
           );
           DB::table('levels')->insert($level);
       }
public function run ( ) { $ level = array ( 'level' => 'Junior Level' , 'description' => 'This is Junior Level' ) ; DB :: table ( 'levels' ) -> insert ( $ level ) ; }
Run the database seeds.
Run the database seeds .