I am working on an application in which every user has own schema(Postgres schema), I am using postages, nestJs, and Prisma Orm. I have developed a schema-based multi-tenant, that works fine but I have to generate a Prisma client every time when new schema required. I want to create a new schema or database when a new user register.
In conclusion, I want to create schema dynamically(Programmatically).
in this question whenever, I have use word schema means postgres schema.
Thanks in advance