force all Relations to use attributes for foreign keys