database/seeders/CompaniesTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('companies')->insert([
        	'company_name' => 'xyz-info',
        	'address' => 'test',
        ]);
    }
public function run ( ) { DB :: table ( 'companies' ) -> insert ( [ 'company_name' => 'xyz-info' , 'address' => 'test' , ] ) ; }
Run the database seeds.
Run the database seeds .