snipe-it/database/seeds/AssetModelSeeder.php
2016-03-25 01:18:05 -07:00

15 lines
242 B
PHP
Executable file

<?php
use Illuminate\Database\Seeder;
use App\Models\AssetModel;
class AssetModelSeeder extends Seeder
{
public function run()
{
AssetModel::truncate();
factory(AssetModel::class, 'assetmodel',5)->create();
}
}