The delete_after_days value is set to null by default, and end user is required to set this value in their project.
This PR sets the default value to 30 days. This will reduce the steps to setup the ModelPrune command.
Have a default value for delete_after_days is harmless, because it is not effective/used unless developer configures the schedule their-self.
Hi @freekmurze
The prunable feature was added in PR https://github.com/spatie/laravel-webhook-client/pull/166
The
delete_after_days
value is set tonull
by default, and end user is required to set this value in their project. This PR sets the default value to 30 days. This will reduce the steps to setup the ModelPrune command.Have a default value for
delete_after_days
is harmless, because it is not effective/used unless developer configures the schedule their-self.Thanks.