snipe-it/database/seeds/ManufacturerSeeder.php

14 lines
253 B
PHP
Raw Normal View History

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