database/seeders/DatabaseSeeder.php
/**
     * Seed the application's database.
     *
     * @return void
     */
Seed the application's database.
@return void
Seed the application ' s database . @return void
public function run()
    {
        User::factory()->create([
            'name' => 'Hakim Hambali',
            'email' => 'hakimadmin77@gmail.com',
            'type' => 'admin',
            'password' => Hash::make('12345678')
        ]);
        User::factory()->create([
            'name' => 'Team Momentum',
            'email' => 'team@momentuminternet.com',
            'password' => Hash::make('12345678')
        ]);
    }
public function run ( ) { User :: factory ( ) -> create ( [ 'name' => 'Hakim Hambali' , 'email' => 'hakimadmin77@gmail.com' , 'type' => 'admin' , 'password' => Hash :: make ( '12345678' ) ] ) ; User :: factory ( ) -> create ( [ 'name' => 'Team Momentum' , 'email' => 'team@momentuminternet.com' , 'password' => Hash :: make ( '12345678' ) ] ) ; }
Seed the application's database.
Seed the application ' s database .