mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-30 07:59:50 -08:00
21 lines
585 B
PHP
Executable file
21 lines
585 B
PHP
Executable file
<?php
|
|
use Illuminate\Database\Seeder;
|
|
use App\Models\Statuslabel;
|
|
|
|
|
|
class StatuslabelSeeder extends Seeder
|
|
{
|
|
public function run()
|
|
{
|
|
Statuslabel::truncate();
|
|
factory(Statuslabel::class, 'rtd')->create();
|
|
factory(Statuslabel::class, 'pending')->create();
|
|
factory(Statuslabel::class, 'archived')->create();
|
|
factory(Statuslabel::class, 'out_for_diagnostics')->create();
|
|
factory(Statuslabel::class, 'out_for_repair')->create();
|
|
factory(Statuslabel::class, 'broken')->create();
|
|
factory(Statuslabel::class, 'lost')->create();
|
|
}
|
|
|
|
}
|