database/seeders/PotionSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
      DB::table('potions')->insert([
        'name' => 'potion of healing',
        'healing' => '2d4 + 2'
      ]);
    }
public function run ( ) { DB :: table ( 'potions' ) -> insert ( [ 'name' => 'potion of healing' , 'healing' => '2d4 + 2' ] ) ; }
Run the database seeds.
Run the database seeds .
//consumable item test