mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1135: Relation columns (like of ManyToOne mappings) are missing on multilevel inheritance #1427
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 (May 4, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user toberger:
I try to setup a class structure with a multilevel inheritance which is described here: http://pastebin.com/dDXAKN5M
To generate the schema I use the "doctrine:schema:create" command of symfony.
The event table looks like it should be, but the Appointment table doesn't have a creationUser column. The rest of the columns are available.
I also tried it with a OneToOne mapping, same issue. At the second level of inheritance these mappings are just missing.
@doctrinebot commented on GitHub (May 14, 2011):
Comment created by @beberlei:
Your mappings are wrong the Event class needs additional @orm:InheritanceType and @orm:DiscriminatorMap annotations to describe the inheritance hierachy.
@doctrinebot commented on GitHub (May 14, 2011):
Issue was closed with resolution "Invalid"