Skip to content

Implement images cleanup in database

Refs https://gitlab.com/arkindex/requests/-/issues/142

The first step of the cleanup command should be to delete ALL images that are not tied to any elements (thus are totally unused).

To avoid trashing images being processed in a larger workflow, we will only trash images without elements that were created 2 weeks ago (14 days)