initial: bootstrap from BukidBountyApp base
This commit is contained in:
16
database/factories/UserFactory.php
Normal file
16
database/factories/UserFactory.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use App\Models\User;
|
||||
use Carbon\Carbon;
|
||||
use Faker\Generator as Faker;
|
||||
|
||||
$factory->define(User::class, function (Faker $faker) {
|
||||
return [
|
||||
'name' => $faker->unique()->name(),
|
||||
'email' => $faker->unique()->safeEmail(),
|
||||
'email_verified_at' => Carbon::now(),
|
||||
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
|
||||
];
|
||||
});
|
||||
Reference in New Issue
Block a user