handle removing relations when "dropping" a table