database/seeders/GearSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('consumables')->insert([
            'name' => 'gear',
            'category' => 'Adventuring gear'
            ]);
    }
public function run ( ) { DB :: table ( 'consumables' ) -> insert ( [ 'name' => 'gear' , 'category' => 'Adventuring gear' ] ) ; }
Run the database seeds.
Run the database seeds .