snipe-it/database/seeders/SupplierSeeder.php

16 lines
251 B
PHP
Raw Permalink Normal View History

2016-03-25 01:18:05 -07:00
<?php
2021-06-10 13:18:00 -07:00
namespace Database\Seeders;
2016-03-25 01:18:05 -07:00
use App\Models\Supplier;
use Illuminate\Database\Seeder;
2016-03-25 01:18:05 -07:00
class SupplierSeeder extends Seeder
{
public function run()
{
Supplier::truncate();
2021-06-10 13:17:44 -07:00
Supplier::factory()->count(5)->create();
2016-03-25 01:18:05 -07:00
}
}