snipe-it/database/seeds/ActionlogSeeder.php

15 lines
326 B
PHP
Raw Normal View History

2016-03-25 01:18:05 -07:00
<?php
2016-03-25 01:18:05 -07:00
use App\Models\Actionlog;
use Illuminate\Database\Seeder;
2016-03-25 01:18:05 -07:00
class ActionlogSeeder extends Seeder
{
public function run()
{
Actionlog::truncate();
factory(Actionlog::class, 'asset-checkout-user', 300)->create();
factory(Actionlog::class, 'asset-checkout-location', 100)->create();
}
2016-03-25 01:18:05 -07:00
}