if we are going to delete environment or content_view, remove corresponding entry from content_view_version_environments table