ultimate-backend
ultimate-backend copied to clipboard
Feature Request : TypeOrm support for multi-tenancy
I can see that there is support for MongoDB and ArangoDB. Can we add TypeOrm as well to support multi tenant config with request scope?
@shajeeck sure, but there are some constraints though. What would your approach be for Sql Database migration for new tenants
@juicycleff i am now going ahead with database isolation, TypeOrm and migrations are managed by a separate micro-service for all tenants. As i couldn't find a consistent approach for managing migrations using TypeOrm Migrations for request scoped built into framework, just created a migration-service
@shajeeck I thought the same too, either way, a migration service is the best route to go