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