aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Doctrine/DBAL/Driver
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2018-11-26 20:02:15 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2018-11-28 22:04:54 +0100
commit1b6b77f02956a767fb3fa9825a7b97b4879f7d42 (patch)
treef457bd812b3aa805832dd77d8a9b247c50c60cf9 /src/Wallabag/CoreBundle/Doctrine/DBAL/Driver
parentdb9b6d8d0d9f943fe321ea690701662dac828e94 (diff)
downloadwallabag-1b6b77f02956a767fb3fa9825a7b97b4879f7d42.tar.gz
wallabag-1b6b77f02956a767fb3fa9825a7b97b4879f7d42.tar.zst
wallabag-1b6b77f02956a767fb3fa9825a7b97b4879f7d42.zip
Remove custom Postgres class
Because PG > 10 is now supported by DBAL >= 2.6.0
Diffstat (limited to 'src/Wallabag/CoreBundle/Doctrine/DBAL/Driver')
-rw-r--r--src/Wallabag/CoreBundle/Doctrine/DBAL/Driver/CustomPostgreSQLDriver.php25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/Wallabag/CoreBundle/Doctrine/DBAL/Driver/CustomPostgreSQLDriver.php b/src/Wallabag/CoreBundle/Doctrine/DBAL/Driver/CustomPostgreSQLDriver.php
deleted file mode 100644
index eb5b203f..00000000
--- a/src/Wallabag/CoreBundle/Doctrine/DBAL/Driver/CustomPostgreSQLDriver.php
+++ /dev/null
@@ -1,25 +0,0 @@
1<?php
2
3namespace Wallabag\CoreBundle\Doctrine\DBAL\Driver;
4
5use Doctrine\DBAL\Connection;
6use Doctrine\DBAL\Driver\PDOPgSql\Driver;
7use Wallabag\CoreBundle\Doctrine\DBAL\Schema\CustomPostgreSqlSchemaManager;
8
9/**
10 * This custom driver allow to use a different schema manager
11 * So we can fix the PostgreSQL 10 problem.
12 *
13 * @see https://github.com/wallabag/wallabag/issues/3479
14 * @see https://github.com/doctrine/dbal/issues/2868
15 */
16class CustomPostgreSQLDriver extends Driver
17{
18 /**
19 * {@inheritdoc}
20 */
21 public function getSchemaManager(Connection $conn)
22 {
23 return new CustomPostgreSqlSchemaManager($conn);
24 }
25}