I have run this seeder:
private function seedUsers()
{
$users = [
[
'name' => '**',
'email' => 'admin@**.com',
'gender' => '**',
'privacy' => '**',
'password' => '**',
'country_id' => *,
'city_id' => *,
'role_id' => *,
],
];
foreach ($users as $user) {
factory(App\Services\Users\User::class)->create($user);
}
factory(App\Services\Users\User::class, 10)->create();// This line was included by mistake.
}
Is there away to to undo this seeder and re-run it after I have removed the line that adds 10 test users?
I'm using Laravel5.5
Bear in mind, I have these users' email addresses and that this is not a testing DB, so I need to only remove these 10 test users.