Set db schema prefix during runtime

Hi, I am trying to setup a multi-schema engine. My tenants, reside in the same database but in separate schemas. The question is how to dynamically set the schema so that the right tenant tables are accessed.

I am able to generate the schemas but at the time of deploying process it is going to the default schema.

For that I need to set the database schema prefix at the runtime .


1 Like

Hi Kratyos,

Please check it once, this topic is already had few items in this forum site.
refer :