Releases: RamyHakam/multi_tenancy_bundle
Bulk Creation and Migrations Support
Bulk Migrations Support:
Added the ability to execute bulk migrations for all tenant databases with a single command.
Improved Configuration Management:
Enhanced support for different hosts, usernames, and passwords for tenant databases.
Flexible Driver Configuration:
Added the ability to use different database drivers for tenant databases, independent of the main database driver.
Extended Doctrine Commands:
Introduced new custom extended Doctrine commands for better management and automation of tenant databases.
What's Changed
- Implement bulk create and migrate commands by @RamyHakam in #47
Full Changelog: v2.8.1...v2.8.2
Fix Dir check
Merge pull request #48 from RamyHakam/fix-wrong-dir-check fix-wrong-dir-check
Support Multiple hosts for Tenant DBs
- All tenant DBs should have the same Driver type, Cuz For now the tenant Sechma is shared between all tenants
- If your tenants host on localhost but with different ports, it is better to use IP rather than localhost in your host
- In docker, you should use IP rather than localhost
- You can use docker.host.internal as your host in your docker env
But remember to add it as an extra host in your compose file
Fix Postgresql Driver issue
in this release, we have the issue related to Postgresql driver not being found #42
Thanks for @JensMyParcel for his PR #38
Support DBAL 3.8 , 4.0
What's Changed
- fix: update README by @dfranco in #34
- 25-deprecated-the-url-connection-parameter-dbal-36 by @RamyHakam in #32
- Update UpdateSchemaCommand.php by @mogilvie in #33
- 35-doctrine-dbal-4-multiple-changes-and-deprecations by @RamyHakam in #36
New Contributors
Full Changelog: v2.6.0...2.7.0
Support Symfony 7
Support Symfony 7
Support Symfony 6.4
Remove Deprecated version 6.1,6.3
Add DQL functions to Tenant Entity Manager
You can now add DQL functions to Tenant Entity Manager from Configrations
Add 2 new methods to TenantDbConfigurationInterface
Add 2 new methods to TenantDbConfigurationInterface as a fix of #26
Add naming Strategy
Merge pull request #24 from RamyHakam/v2.5.2 V2.5.2
Support Postgres Database
Remove support for 5.3
Add Support for PHP 8.2
Create Tenant Databases directly from the Main Db data
Create and Migrate tenant databases Without interactions
Add Timestamp Trait
Add Support for Postgres Database
Upgrade Doctrine annotation #20