mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
b30bbe1740
Signed-off-by: snipe <snipe@snipe.net>
19 lines
369 B
PHP
19 lines
369 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();
|
|
|
|
|
|
}
|
|
}
|