database/seeds/TranslationSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        \DB::table('lang_translation')->delete();
        \DB::table('lang_translation')->insert(array (
            0 =>
                array (
                    'name' => 'title',
                    'flag' => 'title',
                    'folder' => 'title',
                ),
            1 =>
                array (
                    'name' => 'United States of America',
                    'flag' => 'https://restcountries.eu/data/usa.svg',
                    'folder' => 'US',
                ),
        ));
    }
public function run ( ) { \ DB :: table ( 'lang_translation' ) -> delete ( ) ; \ DB :: table ( 'lang_translation' ) -> insert ( array ( 0 => array ( 'name' => 'title' , 'flag' => 'title' , 'folder' => 'title' , ) , 1 => array ( 'name' => 'United States of America' , 'flag' => 'https://restcountries.eu/data/usa.svg' , 'folder' => 'US' , ) , ) ) ; }
Run the database seeds.
Run the database seeds .