mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
21 lines
498 B
PHP
21 lines
498 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\License;
|
|
use App\Models\LicenseSeat;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class LicenseSeeder extends Seeder
|
|
{
|
|
public function run()
|
|
{
|
|
License::truncate();
|
|
LicenseSeat::truncate();
|
|
License::factory()->count(1)->photoshop()->create();
|
|
License::factory()->count(1)->acrobat()->create();
|
|
License::factory()->count(1)->indesign()->create();
|
|
License::factory()->count(1)->office()->create();
|
|
}
|
|
}
|