1
0
mirror of synced 2025-01-31 04:21:44 +03:00

Merge branch 'DDC-969'

This commit is contained in:
Benjamin Eberlei 2011-01-23 16:12:36 +01:00
commit 975d6ada66

View File

@ -179,7 +179,7 @@ class SchemaTool
$this->_gatherColumn($class, $idMapping, $table);
$columnName = $class->getQuotedColumnName($class->identifier[0], $this->_platform);
// TODO: This seems rather hackish, can we optimize it?
$table->getColumn($class->identifier[0])->setAutoincrement(false);
$table->getColumn($columnName)->setAutoincrement(false);
$pkColumns[] = $columnName;