mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
18 lines
492 B
PHP
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();
|
|
}
|
|
}
|