I am having thoughts on what design should I take on my current application architecture. I am building multiple sites (different products) then requesting to a centralized API for data.
My initial thoughts of the API database would be:
common_db
- This database likely contains common entities such as user (id, details, etc.)
first_site_db
- This database contains table with data specific for the product site
second_site_db
- This database contains table with data specific for the product site
... and so on.
Is this a bad database design practice? Considering this is fine, what particular technique should I implement in order for each product database to get the user details on the common database?