Reports models that use Prunable or MassPrunable traits but are not scheduled for pruning using the model:prune artisan command.

Laravel models implementing prunable functionality through the Prunnable or MassPrunnable traits should be scheduled for pruning using the model:prune command in your application's route/console.php class.

Example:

protected function schedule(Schedule $schedule)
{
    $schedule->command('model:prune', [
        '--model' => [
            \App\Models\User::class
        ],
    ])->daily();
}