snipe-it/database/seeds/ConsumableSeeder.php

13 lines
227 B
PHP
Raw Normal View History

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