mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1050: Schema tool seems to have problems with mappedSuperClasses and subclasses with SINGLE_TABLE inheritance type #1310
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 (Feb 27, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user sebastian.hoitz:
I have a class App_Model_Contact_Attribute:
and a class App_Model_Contact_EmailAddress and App_Model_Contact_TwitterAccount. Both yml files look similar to this:
Now, when I want to execute migrations:diff it always fails giving me the message: "Table contact_attribute already exists".
This probably has to do with the mappedSuperClass declaration in my models.
@doctrinebot commented on GitHub (Mar 3, 2011):
Comment created by @beberlei:
Discriminator Information is not possible to set on a mapped superclass.
@doctrinebot commented on GitHub (Mar 3, 2011):
Issue was closed with resolution "Invalid"
@doctrinebot commented on GitHub (Mar 3, 2011):
Comment created by @beberlei:
Throwing exception now when defining this on a mapped superclass.