Skip to content

Automatically prune results #880

@alexjustesen

Description

@alexjustesen

Discussed in #877

Originally posted by Jaxel October 28, 2023
I don't know about you guys, but I don't need the results to my speedtests from 6 months ago. Is there a way to set it up so that result logs older than 28 days automatically get deleted?

Add Prunable trait to Results model to allow for records to be automatically pruned from the database.

Docs: https://laravel.com/docs/10.x/eloquent#pruning-models

Metadata

Metadata

Assignees

Labels

featureNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions