Add unique modifier

This commit is contained in:
Kai Rienow 2016-09-20 08:23:40 +02:00 committed by GitHub
parent 49a48100a7
commit dcf971805d
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
return [
'name' => $faker->name,
'email' => $faker->safeEmail,
'email' => $faker->unique()->safeEmail,
'password' => $password ?: $password = bcrypt('secret'),
'remember_token' => str_random(10),
];