def remove_draft_child(self):
        """Remove the draft child from versioning."""
        if self.draft_child:
            with db.session.begin_nested():
                super(PIDNodeVersioning, self).remove_child(self.draft_child,
                                                            reorder=True)
Remove the draft child from versioning.