Open Closed

[General Query] Does ABP natively support mixing of tenant DB and Host DB? (i.e AbpUsers in host DB, SaasTenant in tenant DB) #7952


User avatar
0
Bryan-EDV created
  • ABP Framework version: v8.3
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue: N/A

Hi all,

I would like to have some entities (e.g. Book, AbpUsers) be stored in the tenant's database, while other entities (e.g. SaasTenant, other Abp* tables ) be stored in the host's database. Is this something that ABP supports natively? Would storing AbpUsers in a tenant database cause issues if SaasTenants is in the host database?

Does anyone have guides or documentation for implementing such functionality?

Thank you Bryan


2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    no, ABP doesn't support it

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    You can read these documents to understand it

    https://abp.io/docs/latest/framework/fundamentals/connection-strings https://abp.io/docs/latest/framework/architecture/multi-tenancy

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11