How to create multiple one to one’s
You are using the inheritance (also known in entity-relationship modeling as “subclass” or “category”). In general, there are 3 ways to represent it in the database: “All classes in one table”: Have just one table “covering” the parent and all child classes (i.e. with all parent and child columns), with a CHECK constraint to ensure … Read more