Hi!

I have two tables:Student and profile with hasone association
Table Student: profile_id
Table Profile:id

And two models

Profile hasOne Student (fk:profile_id)
Student belongsTo Profile (fk:profile_id)

If i delete a profile the associated Student is deleted, but how can I
delete the associated Profile if a Student is deleted?

Thanks and regards

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to