Details
Description
In method getSchemaFromMetadata() within the $class->isInheritanceTypeJoined() part the following line
Doctrine\ORM\Tools\SchemaTool::getSchemaFromMetadata() — Line 182
$table->getColumn($class->identifier[0])->setAutoincrement(false);
leads to a Doctrine\DBAL\Schema\SchemaException::columnDoesNotExist() if a columnName other then id is used for the id field, as not the columnName (but the field name) is passed to $table->getColumn().
Should rather be
$table->getColumn($columnName)->setAutoincrement(false);
Fixed