Add Mutli-Tenant Feature #11671
BjornTheProgrammer
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
you can have multiple databases in one database server by mapping site name to database name. This way no unnecessary schema level changes need to be done and data will also be protected which can otherwise be exposed by some wrong query or missed permissions |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thank you for your amazing framework, It is incredibly useful!
I would like to instantiate multiple Medusa stores for separate tenants, this way I would not need to use multiple different databases for each tenant's store alongside different instances of MedusaJS. It would be much harder to maintain such a setup without Medusa handling it natively, additionally, it would consume much more compute resources.
To do so, we would only really need a store_id or tenant_id on every table. I have a client that would be interested in maintaining this feature in the future as well, otherwise, they will likely maintain a fork of Medusa.
Please let me know if you would be interested in such a feature set, and the requirements that you might have for such a feature!
Beta Was this translation helpful? Give feedback.
All reactions