database/seeds/GenreTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('genres')->insert([
            'name' => 'Humours'
        ]);
        DB::table('genres')->insert([
            'name' => 'Biography'
        ]);
    }
public function run ( ) { DB :: table ( 'genres' ) -> insert ( [ 'name' => 'Humours' ] ) ; DB :: table ( 'genres' ) -> insert ( [ 'name' => 'Biography' ] ) ; }
Run the database seeds.
Run the database seeds .