mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-553: Should @DiscriminatorColumn support columnDefinition attribute just like @Column ? #686
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 (Apr 28, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user mjh_ca:
Still getting into setting up models with Doctrine2 and testing as I go...
It is my understanding that the @DiscriminatorColumn annotation defines a table column in the underlying table (i.e. when run through SchemaTool).
If this is correct, shouldn't @DiscriminatorColumn support the columnDefinition attribute? This would allow this field to be setup as an ENUM in MySQL, for example... i.e.
@doctrinebot commented on GitHub (May 1, 2010):
Comment created by @beberlei:
This clutters the mapping code, i am against it, the use case is pretty slim.
@doctrinebot commented on GitHub (May 1, 2010):
Issue was closed with resolution "Won't Fix"