can delete attribute and will also delete relationship to type in pivot table