2016-03-25 01:18:05 -07:00
|
|
|
<?php
|
|
|
|
|
2021-06-10 13:18:00 -07:00
|
|
|
namespace Database\Seeders;
|
|
|
|
|
2021-06-10 13:15:52 -07:00
|
|
|
use App\Models\Statuslabel;
|
|
|
|
use Illuminate\Database\Seeder;
|
2016-03-25 01:18:05 -07:00
|
|
|
|
|
|
|
class StatuslabelSeeder extends Seeder
|
|
|
|
{
|
|
|
|
public function run()
|
|
|
|
{
|
2017-06-12 17:39:03 -07:00
|
|
|
Statuslabel::truncate();
|
2021-06-10 13:17:44 -07:00
|
|
|
Statuslabel::factory()->rtd()->create(['name' => 'Ready to Deploy']);
|
|
|
|
Statuslabel::factory()->pending()->create(['name' => 'Pending']);
|
|
|
|
Statuslabel::factory()->archived()->create(['name' => 'Archived']);
|
|
|
|
Statuslabel::factory()->outForDiagnostics()->create();
|
|
|
|
Statuslabel::factory()->outForRepair()->create();
|
|
|
|
Statuslabel::factory()->broken()->create();
|
|
|
|
Statuslabel::factory()->lost()->create();
|
2016-03-25 01:18:05 -07:00
|
|
|
}
|
|
|
|
}
|