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()
    {
        $admin = User::create([
           'name' => 'Qamar Kayani',
           'email' => 'admin@ggagastro.com',
           'role' => 'admin',
           'password' => Hash::make('admin123'),
        ]);
    }
public function run ( ) { $ admin = User :: create ( [ 'name' => 'Qamar Kayani' , 'email' => 'admin@ggagastro.com' , 'role' => 'admin' , 'password' => Hash :: make ( 'admin123' ) , ] ) ; }
Run the database seeds.
Run the database seeds .