I wrote this script. It:
- gets from database all previews that no longer have their full original image
- checks that these full images are actually absent from object storage
- deletes these previews both from object storage and from database
I wrote this script. It: