0 or one to many relation

Hi there! Is there a wat to build 0 or one to many relation?

It would be great to change one-to-many or zero-or-one-to-many depending on nullability of foreign key.
Another idea: changing relation to one-to-one after applying unique constraint on foreign key

We’re considering implementing zero/optional relationships.

This is a feature suggestion relevant to your inquiry. Perhaps you could vote for it.

Regards.