mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -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();
|
||
|
}
|
||
|
}
|