snipe-it/database/seeds/CompanySeeder.php

20 lines
301 B
PHP
Raw Normal View History

<?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, 4)->create();
}
}