mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
19 lines
327 B
PHP
19 lines
327 B
PHP
|
<?php
|
||
|
|
||
|
use App\Models\User;
|
||
|
use Illuminate\Database\Seeder;
|
||
|
|
||
|
class UserSeeder extends Seeder
|
||
|
{
|
||
|
/**
|
||
|
* Run the database seeds.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function run()
|
||
|
{
|
||
|
// Don't truncate the user column, that might suck.
|
||
|
factory(User::class, 'valid-user', 10)->create();
|
||
|
}
|
||
|
}
|