[DDC-577] Updated allocationSize to 1 based on discussion on DDC-569.
This commit is contained in:
parent
496a34a4d2
commit
5719f8523b
@ -393,7 +393,7 @@ class ClassMetadataFactory
|
|||||||
if ( ! $definition) {
|
if ( ! $definition) {
|
||||||
$sequenceName = $class->getTableName() . '_' . $class->getSingleIdentifierColumnName() . '_seq';
|
$sequenceName = $class->getTableName() . '_' . $class->getSingleIdentifierColumnName() . '_seq';
|
||||||
$definition['sequenceName'] = $this->_targetPlatform->fixSchemaElementName($sequenceName);
|
$definition['sequenceName'] = $this->_targetPlatform->fixSchemaElementName($sequenceName);
|
||||||
$definition['allocationSize'] = 10;
|
$definition['allocationSize'] = 1;
|
||||||
$definition['initialValue'] = 1;
|
$definition['initialValue'] = 1;
|
||||||
$class->setSequenceGeneratorDefinition($definition);
|
$class->setSequenceGeneratorDefinition($definition);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user