My multi tenants products are split at database level having a seperate column „tenant_id“ for top l

My multi tenants products are split at database level having a seperate column „tenant_id“ for top level entities

Rewriting existing code might be pain though, you might consider looking into Cloudflare for Platforms
https://developers.cloudflare.com/cloudflare-for-platforms/
Cloudflare Docs
Cloudflare for Platforms lets you run untrusted code written by your customers, or by AI, in a secure, hosted sandbox, and give each customer their own subdomain or custom domain.
Cloudflare for Platforms
Was this page helpful?