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

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

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