snipe-it/database/seeds/ActionlogSeeder.php

15 lines
330 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();
2021-06-10 13:17:44 -07:00
Actionlog::factory()->count('asset-checkout-user', 300)->create();
Actionlog::factory()->count('asset-checkout-location', 100)->create();
}
2016-03-25 01:18:05 -07:00
}