snipe-it/database/seeders/ActionlogSeeder.php
2023-03-15 18:31:08 -07:00

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();
}
}