[ticket/16964] Fix doctrine error in installer

Currently AbstractPostgreSQLDriver requires Postgres platform to be an instance
of PostgreSQL94Platform. When this will be changed in Doctrine,
this fix can be reverted.

PHPBB3-16964
This commit is contained in:
rxu 2022-02-09 00:02:06 +07:00
parent 10199ae619
commit 38fe1a4479
No known key found for this signature in database
GPG key ID: 955F0567380E586A

View file

@ -14,7 +14,7 @@
namespace phpbb\db\doctrine;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
use Doctrine\DBAL\Platforms\PostgreSQL94Platform;
use Doctrine\DBAL\Schema\Index;
use Doctrine\DBAL\Schema\Sequence;
use Doctrine\DBAL\Schema\Table;
@ -31,7 +31,7 @@ use Doctrine\DBAL\Types\Type;
* to stay compatible with the existing DB we have to change its
* naming and not ours.
*/
class postgresql_platform extends PostgreSQLPlatform
class postgresql_platform extends PostgreSQL94Platform
{
/**
* {@inheritdoc}