1
0
mirror of synced 2024-12-14 07:06:04 +03:00

Merge pull request #824 from brikou/patch-3

s/PostgreSQLPlatform/PostgreSqlPlatform/
This commit is contained in:
Marco Pivetta 2013-10-21 00:45:51 -07:00
commit 0a31ecb283

View File

@ -450,7 +450,7 @@ class ClassMetadataFactory extends AbstractClassMetadataFactory
$sequenceName = null; $sequenceName = null;
$fieldName = $class->identifier ? $class->getSingleIdentifierFieldName() : null; $fieldName = $class->identifier ? $class->getSingleIdentifierFieldName() : null;
if ($this->targetPlatform instanceof Platforms\PostgreSQLPlatform) { if ($this->targetPlatform instanceof Platforms\PostgreSqlPlatform) {
$columnName = $class->getSingleIdentifierColumnName(); $columnName = $class->getSingleIdentifierColumnName();
$quoted = isset($class->fieldMappings[$fieldName]['quoted']) || isset($class->table['quoted']); $quoted = isset($class->fieldMappings[$fieldName]['quoted']) || isset($class->table['quoted']);
$sequenceName = $class->getTableName() . '_' . $columnName . '_seq'; $sequenceName = $class->getTableName() . '_' . $columnName . '_seq';