strapi-plugin-comments
strapi-plugin-comments copied to clipboard
Remove comment after remove relation data
Could you implement db hooks to remove comments after remove related content type data?
Example scenario:
- Comments have relations to articles
- Users adding comments to some articles
- After remove one articles all comments in relation should be remove
That hooks shouldn't override hooks implemented by owner on model lifecycle