2016-03-25 01:18:05 -07:00
|
|
|
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
use App\Models\License;
|
|
|
|
use App\Models\LicenseSeat;
|
|
|
|
|
|
|
|
class LicenseSeeder extends Seeder
|
|
|
|
{
|
2017-06-12 17:39:03 -07:00
|
|
|
public function run()
|
|
|
|
{
|
|
|
|
License::truncate();
|
|
|
|
LicenseSeat::truncate();
|
2017-10-07 04:25:35 -07:00
|
|
|
factory(License::class, 1)->states('photoshop')->create();
|
|
|
|
factory(License::class, 1)->states('acrobat')->create();
|
|
|
|
factory(License::class, 1)->states('indesign')->create();
|
|
|
|
factory(License::class, 1)->states('office')->create();
|
2017-06-12 17:39:03 -07:00
|
|
|
}
|
2016-03-25 01:18:05 -07:00
|
|
|
}
|