database/seeders/UserSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        User::factory(1)->create([
            'email' => 'admin@admin.com'
        ]);
        User::factory(100)->create();
    }
public function run ( ) { User :: factory ( 1 ) -> create ( [ 'email' => 'admin@admin.com' ] ) ; User :: factory ( 100 ) -> create ( ) ; }
Run the database seeds.
Run the database seeds .