snipe-it/database/seeds/AccessorySeeder.php

13 lines
222 B
PHP
Raw Normal View History

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