database/seeders/AdminSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        User::create([
            'name'=>'Admin',
            'email'=>'admin@community.com',
            'password'=> Hash::make('password'),
            'type'=>'admin',
            'gender' => 'male'
        ]);
    }
public function run ( ) { User :: create ( [ 'name' => 'Admin' , 'email' => 'admin@community.com' , 'password' => Hash :: make ( 'password' ) , 'type' => 'admin' , 'gender' => 'male' ] ) ; }
Run the database seeds.
Run the database seeds .