Myddleware/myddleware

Create a command to delete document and rules soft deleted

Myddleware opened this issue · 1 comments

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.

Check command pruneDatabase