mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-16 15:08:54 +00:00
[ticket/17528] Fix PostgreSQL platform issues
PHPBB-17528
This commit is contained in:
parent
98c6a88438
commit
83f1ed8de4
1 changed files with 6 additions and 6 deletions
|
@ -79,14 +79,14 @@ class postgresql_platform extends PostgreSQL94Platform
|
|||
return AbstractPlatform::getDefaultValueDeclarationSQL($column);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getAlterTableSQL(TableDiff $diff)
|
||||
{
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getAlterTableSQL(TableDiff $diff)
|
||||
{
|
||||
$sql = parent::getAlterTableSQL($diff);
|
||||
$table_name = $diff->getOldTable()->getName();
|
||||
$columns = array_merge($diff->getAddedColumns(), $diff->getModifiedColumns());
|
||||
$columns = $diff->getAddedColumns();
|
||||
$post_sql = $sequence_sql = [];
|
||||
|
||||
foreach ($columns as $column)
|
||||
|
|
Loading…
Add table
Reference in a new issue