multi_tenancy_bundle
multi_tenancy_bundle copied to clipboard
Symfony 5 /6 bundle to support multi-tenants
fix: Add postgresql to DbService DsnParser to fix: 'The given driver 'postgresql is unknown, Doctrine currently supports only the following drivers: pdo_mysql, pdo_sqlite, pdo_pgsql, pdo_oci, oci8, ibm_db2, pdo_sqlsrv, mysqli, pgsql,...
1. indentation in the example `config/packages/hakam_multi_tenancy.yaml` for the `tenant_naming_strategy` was incorrect 2. set the same naming_strategy as in the doctrine.yaml example, since it's different than the default from doctrine
When running t:m:d 1 command, getting following error "The metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue." - Default (main) entity works...
Currently, I am facing an issue with the salon table records. In the main database, I have 3 records. However, I have only one record in the tenant database. When...
TenantEntityManager returns entity of previous tenant after swtiching DB - identity map not cleared?
When loading entities with the same ID from two tenants, same entity is returned - the one from the first tenant. It appears that when dispatching a switch event, TenantEntityManager's...
Not sure if this is the best way to fix it - maybe there is a cleaner method to get access to the entity manager - please point me in...
In the Readme we can see that the command for execute the pending migrations is this: https://github.com/RamyHakam/multi_tenancy_bundle/blob/a5fcc04c930f58774315beb7a8f4fb34b46e143e/README.md?plain=1#L79 But is not working, instead you need to use the old 'migrate'.
Help @RamyHakam Problem description When trying to persist/manage a related entity (Product) from the tenant, Doctrine throws the following error: While adding an entity of class Proxies\__CG__\App\Entity\Tenant\ProductsInventory\Product with an ID...