mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-247: can't set "nullable" using xml mapping #305
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 (Jan 10, 2010).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user koubas:
nullable="TRUE" doesn't work in xml - all fields are always "not null" and JoinColumns are allways nullable
@doctrinebot commented on GitHub (Jan 10, 2010):
@doctrinebot commented on GitHub (Jan 27, 2010):
Comment created by @beberlei:
Fixed
@doctrinebot commented on GitHub (Feb 3, 2010):
Comment created by ignat:
There is still no ability to create "NOT NULL" foreign key or I don't get it? I mean when you use join column declaration only?
For example
This will generate SQL with module_id column without "NOT NULL"
A looked to Doctrine\ORM\Tools\SchemaTool::_gatherRelationJoinColumns and added in my local version
@doctrinebot commented on GitHub (Feb 3, 2010):
Comment created by @beberlei:
I missed that one, i thought SchemaTool supports the @JoinCOlumn nullable and only the XML Driver did not. The XML Driver did indeed not support this and this was added, however with the feature generally missing in SchemaTool this bugfix is indeed useless :-)
I get on it.
@doctrinebot commented on GitHub (Feb 7, 2010):
Comment created by @beberlei:
Fixed in trunk.
@doctrinebot commented on GitHub (Feb 7, 2010):
Issue was closed with resolution "Fixed"