LicenseScout icon indicating copy to clipboard operation
LicenseScout copied to clipboard

Auto DB cleanup

Open dldnhf opened this issue 3 years ago • 0 comments

Feature request

Expected Behavior - What where you expecting to happen?

LicenseScout should delete data which is older than a configurable retention period from the results database.

Possible Solution

DELETE FROM Builds WHERE Datetime < NOW() - INTERVAL 'n days' (n being a configurable parameter for the retention period in days)

dldnhf avatar Mar 12 '21 15:03 dldnhf