Add support for automatically pruning activity logs

This commit is contained in:
DaneEveritt 2022-05-29 19:45:00 -04:00
parent 9b7af02690
commit e15985ea39
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 41 additions and 6 deletions

9
config/activity.php Normal file
View file

@ -0,0 +1,9 @@
<?php
return [
/*
* The number of days that must elapse before old activity log entries are deleted
* from the database.
*/
'prune_days' => env('APP_ACTIVITY_PRUNE_DAYS', 90),
];