snipe-it/database/seeders/ActionlogSeeder.php
snipe b30bbe1740 Fixed more factories
Signed-off-by: snipe <snipe@snipe.net>
2021-06-11 19:41:20 -07:00

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