#881 DDC-2825 - aligning assignments
This commit is contained in:
parent
f0102a69f9
commit
3ba9689448
@ -576,12 +576,11 @@ class ClassMetadataFactory extends AbstractClassMetadataFactory
|
||||
|
||||
// Platforms that do not have native IDENTITY support need a sequence to emulate this behaviour.
|
||||
if ($this->targetPlatform->usesSequenceEmulatedIdentityColumns()) {
|
||||
$columnName = $class->getSingleIdentifierColumnName();
|
||||
$quoted = isset($class->fieldMappings[$fieldName]['quoted']) || isset($class->table['quoted']);
|
||||
$sequencePrefix = $class->getSequencePrefix($this->targetPlatform);
|
||||
|
||||
$sequenceName = $this->targetPlatform->getIdentitySequenceName($sequencePrefix, $columnName);
|
||||
$definition = array(
|
||||
$columnName = $class->getSingleIdentifierColumnName();
|
||||
$quoted = isset($class->fieldMappings[$fieldName]['quoted']) || isset($class->table['quoted']);
|
||||
$sequencePrefix = $class->getSequencePrefix($this->targetPlatform);
|
||||
$sequenceName = $this->targetPlatform->getIdentitySequenceName($sequencePrefix, $columnName);
|
||||
$definition = array(
|
||||
'sequenceName' => $this->targetPlatform->fixSchemaElementName($sequenceName)
|
||||
);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user