Quotes should become tenanted as per the Multi-Tenancy design, and will be logically separated in the backend database by a tenantId row that serves as a foreign key on the tenants table.
[ ] Add tenantId row to quotes table that is required and maps to an id on the tenants table.
[ ] Add tenantId to database queries on quotes
[ ] Acquire tenantId from request headers on routes involving quotes and pass them into quote service logic.
[ ] Include tenantId in path of quote URL. e.g. http://exampe-rafiki/:tenantId/quotes/:id
Quotes should become tenanted as per the Multi-Tenancy design, and will be logically separated in the
backend
database by atenantId
row that serves as a foreign key on the tenants table.tenantId
row toquotes
table that is required and maps to an id on thetenants
table.tenantId
to database queries on quotestenantId
from request headers on routes involving quotes and pass them into quote service logic.tenantId
in path of quote URL. e.g.http://exampe-rafiki/:tenantId/quotes/:id
Prerequisites