I am working on a test app that uses Postgres for add-on data storage. So far I know, we have two options available to support multi-tenancy:
- A database instance per tenant
- Using a single database (with row-level security policies)
I would think achieving option 1 is easier compared to option 2.
My question is, to implement option 1 (a database instance per tenant) what the config.json looks like? Or, is it done somewhere else in the app?