mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
[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:
@@ -14,7 +14,7 @@
|
|||||||
namespace phpbb\db\doctrine;
|
namespace phpbb\db\doctrine;
|
||||||
|
|
||||||
use Doctrine\DBAL\Platforms\AbstractPlatform;
|
use Doctrine\DBAL\Platforms\AbstractPlatform;
|
||||||
use Doctrine\DBAL\Platforms\PostgreSQLPlatform;
|
use Doctrine\DBAL\Platforms\PostgreSQL94Platform;
|
||||||
use Doctrine\DBAL\Schema\Index;
|
use Doctrine\DBAL\Schema\Index;
|
||||||
use Doctrine\DBAL\Schema\Sequence;
|
use Doctrine\DBAL\Schema\Sequence;
|
||||||
use Doctrine\DBAL\Schema\Table;
|
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
|
* to stay compatible with the existing DB we have to change its
|
||||||
* naming and not ours.
|
* naming and not ours.
|
||||||
*/
|
*/
|
||||||
class postgresql_platform extends PostgreSQLPlatform
|
class postgresql_platform extends PostgreSQL94Platform
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
|
Reference in New Issue
Block a user