mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1460: Default nullable behavior when not explicitly defining joinColumns #1829
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 (Oct 29, 2011).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user @asm89:
Currently there is are no defaults set for 'nullable' on OneToOne and ManyToMany associations where joinColumns are not explicitly defined. I believe it should be nullable=true as a default in both cases.
I already added the OneToOne case in this commit (not merged yet, I had to check first):
a175f39b35Should I also add the 'nullable' => true as default if there are no join columns specified on a ManyToMany association?
@doctrinebot commented on GitHub (Jan 16, 2012):
Comment created by @guilhermeblanco:
We already spoke about this and agreed this change is not good
@doctrinebot commented on GitHub (Jan 16, 2012):
Issue was closed with resolution "Invalid"