You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
445 B
20 lines
445 B
<?php
|
|
|
|
use App\Models\User;
|
|
use App\Models\Fingerprint;
|
|
use Illuminate\Support\Arr;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class UserSeeder extends Seeder
|
|
{
|
|
public function run()
|
|
{
|
|
User::insert(
|
|
factory(User::class, 5000)->raw()
|
|
);
|
|
Fingerprint::insert(
|
|
factory(Fingerprint::class, 5000)->raw()
|
|
);
|
|
User::where('id', 1)->update(['email' => 'masouddarvishiv56@gmail.com']);
|
|
}
|
|
}
|