Add on-delete to relation.