Skip to content

How to build multi-tenancy? #495

Answered by michaelbromley
rohanrajpal asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there,

I skimmed the article you linked but I don't really understand what is meant by "one schema per tenant", but it seems it may be a Postgres-specific solution? Vendure supports several different DBs so I doubt any DB-level solution would work here.

By "community projects" it is referring to contributions to the core that enable multi-tenancy features, rather than a plugin you can install. For example:

These PRs make it so Orders and Customers are assigned to specific channels. So as of now the following entities are "channel-aware":

  • Order
  • Customer
  • Role
  • Product
  • Collection
  • Shipping Method

A Channel in this case c…

Replies: 4 comments 20 replies

Comment options

You must be logged in to vote
4 replies
@rohanrajpal
Comment options

@martijnvdbrug
Comment options

@rohanrajpal
Comment options

@mariusa
Comment options

Answer selected by rohanrajpal
Comment options

You must be logged in to vote
8 replies
@michaelbromley
Comment options

@rohanrajpal
Comment options

@rohanrajpal
Comment options

@michaelbromley
Comment options

@rohanrajpal
Comment options

Comment options

You must be logged in to vote
8 replies
@rohanrajpal
Comment options

@rohanrajpal
Comment options

@rohanrajpal
Comment options

@michaelbromley
Comment options

@rohanrajpal
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants