mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -08:00
20 lines
312 B
PHP
20 lines
312 B
PHP
|
<?php
|
||
|
|
||
|
use App\Models\Company;
|
||
|
use Illuminate\Database\Seeder;
|
||
|
|
||
|
class CompanySeeder extends Seeder
|
||
|
{
|
||
|
/**
|
||
|
* Run the database seeds.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function run()
|
||
|
{
|
||
|
//
|
||
|
Company::truncate();
|
||
|
factory(Company::class, 'company', 4)->create();
|
||
|
}
|
||
|
}
|