3 namespace Wallabag\CoreBundle\Doctrine\DBAL\Driver
;
5 use Doctrine\DBAL\Connection
;
6 use Doctrine\DBAL\Driver\PDOPgSql\Driver
;
7 use Wallabag\CoreBundle\Doctrine\DBAL\Schema\CustomPostgreSqlSchemaManager
;
10 * This custom driver allow to use a different schema manager
11 * So we can fix the PostgreSQL 10 problem.
13 * @see https://github.com/wallabag/wallabag/issues/3479
14 * @see https://github.com/doctrine/dbal/issues/2868
16 class CustomPostgreSQLDriver
extends Driver
21 public function getSchemaManager(Connection
$conn)
23 return new CustomPostgreSqlSchemaManager($conn);