mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
teams and users - DB migrations, seeders, models
This commit is contained in:
1 parent
2141a4da7c
commit
7c45871646
10 files changed
+235
-11
No files matched your search
@@ -18,11 +18,15 @@ class UserFactory extends Factory
|
||||
public function definition()
|
||||
{
|
||||
return [
|
||||
'name' => fake()->name(),
|
||||
'email' => fake()->unique()->safeEmail(),
|
||||
'email_verified_at' => now(),
|
||||
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
|
||||
'remember_token' => Str::random(10),
|
||||
'firstname' => fake()->firstname(),
|
||||
'lastname' => fake()->lastname(),
|
||||
'code' => strtoupper(Str::random(3)),
|
||||
'work_start' => '9.0',
|
||||
'work_end' => '17.0',
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user