snipe-it/database/seeds/LicenseSeeder.php
2017-10-07 04:25:35 -07:00

18 lines
492 B
PHP

<?php
use Illuminate\Database\Seeder;
use App\Models\License;
use App\Models\LicenseSeat;
class LicenseSeeder extends Seeder
{
public function run()
{
License::truncate();
LicenseSeat::truncate();
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();
}
}