#1481: Application-level cascade definition via YML doesn't work.
---------------------------+------------------------------------------------
Reporter: nodkz | Owner: jwage
Type: defect | Status: new
Priority: major | Milestone: 1.0.3
Component: Schema Files | Version: 1.0
Resolution: | Keywords: yml, shema, cascade
Has_test: 0 | Mystatus: Pending Core Response
Has_patch: 1 |
---------------------------+------------------------------------------------
Comment (by ctigglet):
I think your syntax is incorrect. It should be as follows:
{{{
BillItem:
local: id
foreign: bill_id
type: many
onDelete: CASCADE # <-- BUILDER does not write in {object}Base.php
this line
}}}
You'll notice in the code you excerpted that "onDelete" is already
handled.
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1481#comment:1>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---