Configuring many-to-one relationships