adding username column to users table and create user seeder

This commit is contained in:
Geriano
2022-07-15 13:08:01 +07:00
parent 349baa399a
commit 12f7a74e10
2 changed files with 22 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ class UserFactory extends Factory
{
return [
'name' => $this->faker->name(),
'username' => $this->faker->unique()->username(),
'email' => $this->faker->unique()->safeEmail(),
'email_verified_at' => now(),
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password