database/seeds/CategoriesTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('categories')->insert([
            'name' => 'SNS- GOBIERNO/CONTRATO'
        ]);
        DB::table('categories')->insert([
            'name' => 'INSTITUCIONAL / DECENTRALIZADOS'
        ]);
        DB::table('categories')->insert([
            'name' => 'HOSPITALARIA'
        ]);
    }
public function run ( ) { DB :: table ( 'categories' ) -> insert ( [ 'name' => 'SNS- GOBIERNO/CONTRATO' ] ) ; DB :: table ( 'categories' ) -> insert ( [ 'name' => 'INSTITUCIONAL / DECENTRALIZADOS' ] ) ; DB :: table ( 'categories' ) -> insert ( [ 'name' => 'HOSPITALARIA' ] ) ; }
Run the database seeds.
Run the database seeds .