snipe-it/database/seeds/SupplierSeeder.php

14 lines
227 B
PHP
Raw Normal View History

2016-03-25 01:18:05 -07:00
<?php
use Illuminate\Database\Seeder;
use App\Models\Supplier;
class SupplierSeeder extends Seeder
{
public function run()
{
Supplier::truncate();
factory(Supplier::class, 'supplier',5)->create();
}
}