This is normal. You need to think about what to do if a comment with children is deleted. The FK restriction will prevent deletion, and the general solution to cascade deletion is not suitable here, as well as the NULL output of the parent link. Therefore, you may have to leave a deleted comment and simply clear the content or otherwise mark it as deleted.
source share