I’ve been wondering whether constants like “Approved, disapproved, pending” or “Single, married, divorced” should be grouped up in a single table holding references to what module they are used at in the database or into separate tables for each relevant module. Which one is more practical?
I’ve been wondering whether constants like Approved, disapproved, pending or Single, married, divorced should
Share
Separate tables in order for the database to enforce foreign key constraints that only applies for the referencing table.