Merge pull request #18882 from Godmartinz/purge-old-eula-option-for-deleted-users

adds #18868 options to Eula Purge Command
This commit is contained in:
snipe
2026-04-17 12:08:20 +01:00
committed by GitHub
3 changed files with 268 additions and 3 deletions
@@ -103,7 +103,7 @@ class CheckoutAcceptanceFactory extends Factory
$acceptance->checkoutable->assetlog()->create([
'action_type' => 'checkout',
'target_id' => $acceptance->assigned_to_id,
'target_type' => get_class($acceptance->assignedTo),
'target_type' => User::class,
'item_id' => $acceptance->checkoutable_id,
'item_type' => $acceptance->checkoutable_type,
]);