database/seeds/ServicesTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('services')->insert([
            'name' => 'Man',
            'price' => '150',
            'time' => '0.5',
            'category_id' => '1',
            'company_id' => '1'
        ]);
    }
public function run ( ) { DB :: table ( 'services' ) -> insert ( [ 'name' => 'Man' , 'price' => '150' , 'time' => '0.5' , 'category_id' => '1' , 'company_id' => '1' ] ) ; }
Run the database seeds.
Run the database seeds .