Skip add DEFAULT if the field is in relations (rel or reverse)

I have add condition to check if field is in relations, that field will be skipped