diff options
author | Joas Schilling <coding@schilljs.com> | 2023-07-05 10:24:33 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-10-06 15:29:25 +0200 |
commit | b202b139dd145a92626893a58bbc83bdfdda5880 (patch) | |
tree | 209ef3fd68be15c4bdd67766494cb655e16bc412 /tests | |
parent | ad839dbb0a095911da519ef19c6a8b494d0f1697 (diff) | |
download | nextcloud-server-b202b139dd145a92626893a58bbc83bdfdda5880.tar.gz nextcloud-server-b202b139dd145a92626893a58bbc83bdfdda5880.zip |
fix(postgres): Remove old Postgres 9.4 workaround
Postgres 10 is the minimum in the meantime
and doctrine/dbal fixed this in 2.6.0 already
ref https://github.com/doctrine/dbal/pull/2614
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/DB/MigratorTest.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/lib/DB/MigratorTest.php b/tests/lib/DB/MigratorTest.php index 4d7d9cab19f..bd6f91da1aa 100644 --- a/tests/lib/DB/MigratorTest.php +++ b/tests/lib/DB/MigratorTest.php @@ -13,14 +13,12 @@ use Doctrine\DBAL\Exception; use Doctrine\DBAL\ParameterType; use Doctrine\DBAL\Platforms\MySQLPlatform; use Doctrine\DBAL\Platforms\OraclePlatform; -use Doctrine\DBAL\Platforms\PostgreSQL94Platform; use Doctrine\DBAL\Platforms\SqlitePlatform; use Doctrine\DBAL\Schema\Schema; use Doctrine\DBAL\Schema\SchemaConfig; use OC\DB\Migrator; use OC\DB\MySQLMigrator; use OC\DB\OracleMigrator; -use OC\DB\PostgreSqlMigrator; use OC\DB\SQLiteMigrator; use OCP\DB\Types; use OCP\IConfig; @@ -69,8 +67,6 @@ class MigratorTest extends \Test\TestCase { return new OracleMigrator($this->connection, $this->config, $dispatcher); } elseif ($platform instanceof MySQLPlatform) { return new MySQLMigrator($this->connection, $this->config, $dispatcher); - } elseif ($platform instanceof PostgreSQL94Platform) { - return new PostgreSqlMigrator($this->connection, $this->config, $dispatcher); } return new Migrator($this->connection, $this->config, $dispatcher); } |