mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-969: SchemaTool fails with class table inheritance if id columnName is not "id" #1213
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jan 5, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user ayhan:
In method getSchemaFromMetadata() within the $class->isInheritanceTypeJoined() part the following line
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
@doctrinebot commented on GitHub (Jan 23, 2011):
Comment created by @beberlei:
Fixed
@doctrinebot commented on GitHub (Jan 23, 2011):
Issue was closed with resolution "Fixed"