mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00: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:
parent
10199ae619
commit
38fe1a4479
1 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||||
|
|
Loading…
Add table
Reference in a new issue