I am designing a datamodel for a new project.
One of the requirements specifies that some objects can point either a person or a company.
What is the sma
I suggest you make company and person subtypes that reference the same supertype (actor). Note that you don't need separate person_id, company_id because an actor must be one or other and cannot be both. Like this: