thank you! where can I put the unlink row?
On Mar 18, 7:35 pm, Lea Hänsenberger baerne...@gmail.com wrote:
hi,
there's still a partner with a foreign key pointing to the user you want to
delete. you should first unlink the user from the partner:
$partner-unlink('rmUser',$user_id);
Then you
before the line where you delete the user. Probably you have to save the
partner after unlinking and before deleting the user.
On Mar 19, 2010, at 10:12 , saki wrote:
thank you! where can I put the unlink row?
On Mar 18, 7:35 pm, Lea Hänsenberger baerne...@gmail.com wrote:
hi,
there's
I've found another solution:
1. schema.yml - onDelete: CASCADE - SET NULL
2.1. check if the foreign key fields have NULL(=FALSE) attribute, now
you have to change it to TRUE...
2. symfony doctrine:build --all
3. works fine :)
thank you for your help!
On Mar 19, 10:45 am, Lea Hänsenberger