mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
17 lines
359 B
PHP
17 lines
359 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\Actionlog;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class ActionlogSeeder extends Seeder
|
|
{
|
|
public function run()
|
|
{
|
|
Actionlog::truncate();
|
|
Actionlog::factory()->count(300)->assetCheckoutToUser()->create();
|
|
Actionlog::factory()->count(100)->assetCheckoutToLocation()->create();
|
|
}
|
|
}
|