database/seeders/HotelTableSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
       Hotel::create([
           'name'=>'Dream House',
           'email'=>'hotel@gmail.com',
           'address'=>'Dream House',
           'contact_no'=>'Dream House'
       ]);
    }
public function run ( ) { Hotel :: create ( [ 'name' => 'Dream House' , 'email' => 'hotel@gmail.com' , 'address' => 'Dream House' , 'contact_no' => 'Dream House' ] ) ; }
Run the database seeds.
Run the database seeds .