Force type to uuid if the field is a foreign key