mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2551: schema-tool does not match join columns with identifier options #3203
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 (Jul 13, 2013).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user atans:
Problem here: ====================================================
@doctrinebot commented on GitHub (Jul 15, 2013):
Comment created by @ocramius:
You can make your join column unsigned by using the
columnDefinitionproperty.@doctrinebot commented on GitHub (Jul 15, 2013):
Comment created by @ocramius:
The schema tool can't use the column options to match join columns with identifier columns.
Column options are one step further and cannot really be applied transitively to join columns, since they may contain vendor specific settings.
@doctrinebot commented on GitHub (Jul 15, 2013):
Issue was closed with resolution "Can't Fix"
@doctrinebot commented on GitHub (Jul 15, 2013):
Comment created by atans:
Thanks.
Is this right ?
@doctrinebot commented on GitHub (Jul 15, 2013):
Comment created by @ocramius:
No. Your problem is that the join coulm is signed, whereas the referenced identifier column is unsigned.
@doctrinebot commented on GitHub (Jul 15, 2013):
Comment created by atans:
I do not understand, how can I do ?
@doctrinebot commented on GitHub (Jul 15, 2013):
Comment created by @ocramius:
Simple solution: just drop the
options={"unsigned"=true}from your annotations@doctrinebot commented on GitHub (Jul 16, 2013):
Comment created by atans:
Thanks Marco Pivetta.
@doctrinebot commented on GitHub (Jul 16, 2013):
Comment created by atans:
Marco Pivetta, It is the same problem (2.4.0-RC2).
rbac_role (id) does not change to rbac_role (role_id)
@doctrinebot commented on GitHub (Jul 16, 2013):
Comment created by @ocramius:
That's normal. I already marked the issue as "won't fix". Please don't use the issue tracker as a helpdesk.
@doctrinebot commented on GitHub (Jul 16, 2013):
Comment created by atans:
Oh, sorry