php - Multi Tenancy Databases with Symfony2 and Doctrine: How to separate Tenant Data? -


we building multi-tenancy application tenants data stored in same database/tables. every table has column "tenant_id" identifies tenant.

how can achieve goal using symfony2 , doctrine?

for symfony 1, there plugin called sfmultitenantplugin seems not exist in symfony2. plugin added tenant_id dynamically queries database.

what best practice use doctrine orm described data structure?

thank help!


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -

collision detection - C++ library for mesh to mesh intersection: what is available? -