Add support for automatically pruning activity logs
This commit is contained in:
parent
9b7af02690
commit
e15985ea39
4 changed files with 41 additions and 6 deletions
9
config/activity.php
Normal file
9
config/activity.php
Normal 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),
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue