snipe-it/database/seeds/AssetModelSeeder.php

15 lines
228 B
PHP
Raw Normal View History

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