[RFC] CARA-2244

fix to delete attachment when post is deleted