1
0
mirror of synced 2024-12-13 14:56:01 +03:00

[DDC-577] Updated allocationSize to 1 based on discussion on DDC-569.

This commit is contained in:
Guilherme Blanco 2010-08-12 01:07:48 -03:00
parent 496a34a4d2
commit 5719f8523b

View File

@ -393,7 +393,7 @@ class ClassMetadataFactory
if ( ! $definition) {
$sequenceName = $class->getTableName() . '_' . $class->getSingleIdentifierColumnName() . '_seq';
$definition['sequenceName'] = $this->_targetPlatform->fixSchemaElementName($sequenceName);
$definition['allocationSize'] = 10;
$definition['allocationSize'] = 1;
$definition['initialValue'] = 1;
$class->setSequenceGeneratorDefinition($definition);
}