I have table A that has an id column, and table B that has a nullable reference to table A on a unique column. This is an optional one-to-one relationship, however, there is another column on table B that is not unique and should have a many-to-one relationship to table A.
It's possible to disambiguate many-to-one relationships, but I'm not sure how to disambiguate a one-to-one without including
fields
fields
and
references
references
on the ambiguous
one()
one()
on table A which makes the one-to-one relationship incorrectly non-nullable.