RamyHakam / multi_tenancy_bundle

Symfony 5 /6 bundle to support multi-tenants
MIT License
81 stars 24 forks source link

2.7.0 PostgreSQL Issue #42

Closed rChassat closed 3 months ago

rChassat commented 3 months ago

Hello 👋

This changes in 2.7.0 to the DbService class caused an issue with PostgreSql db config :

$dsnParser = new DsnParser(['mysql' => 'pdo_mysql']);
$tmpConnection = DriverManager::getConnection($dsnParser->parse($this->dbCredentials['db_url']));

You should probably add all the supported entries in the array passed to the DsnParser constructor or direcly use Doctrine\Bundle\DoctrineBundle\ConnectionFactory::DEFAULT_SCHEME_MAP array.

rChassat commented 3 months ago

Just saw that there is this pull request #38 that also concerns that issue.

RamyHakam commented 3 months ago

Thanks for your support and help, The fix has been released

RamyHakam commented 3 months ago

It is fixed in 2.7.1