Create a command to delete document and rules soft deleted
Myddleware opened this issue · 1 comments
Myddleware commented
A new command has to be created to remove all rules and documents with flag deleted = 1.
The command should have a parameter nbDays that indicate the number of day. If this parameter is 7 then the command will remove rules and documents if its last modified date is before today - 7 days.
Myddleware commented
Check command pruneDatabase