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
416 B

<?php
use App\User;
use App\Fingerprint;
use Illuminate\Database\Seeder;
use Illuminate\Support\Arr;
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(['mobile' => '09123456789']);
}
}