I am developing a SaaS-based multitasking application and am moving to the Shared Database to store all tenant records using the TenantId column.
Now the problem is that I have a list of search records that should be available to all tenants. For example, a list of games.
GamesTable
Id
GameName
There is also another table used to store only records of a particular tenant.
Tenantgames
Id
TenantId
GameName
The main need is that I want to use both table data and get the necessary data (Game_Name) by joining another transaction table, for example UserGames. How can I achieve this with this design? Here Game_Name can either be transferred from the general table of games, or the table TenantSpecificGames
- , , JOIN?
, .