In a database prototype, I have a set of fields (like name, description, status) that are required in multiple, functionally different tables.
These fields always have the same end user functionality for labeling, display, search, filtering etc. They are not part of a foreign key constraint. How should this be modeled?
I can think of the following variants:
Each table gets all these attributes. In this case, how would you name them? The same, in each table, or with a table name prefix (like usrName, prodName)
Move them into a table Attributes, add a foreign key to the "core" tables, referencing Attributes.PK
As above, but instead of a foreign key, use the Attributes.PK as PK in the respective core table as well.