0 votes

Hi,
How configure how configure @ORM\JoinColumn(..., onDelete="CASCADE") ?
I mean... ON DELETE CASCADE in sql statment.
for example :
CONSTRAINT FOREIGN KEY (...) REFERENCES ... (jobAbbr) ON DELETE CASCADE ON UPDATE CASCADE
(not in doctrine)
Thank you in advance.
Oda

in Solved by (120 points)
recategorized by

1 Answer

0 votes

Unfortunately we can't help you with SQL statements. It depends on ORM (in your case Doctrine) how schema files are translated to SQL.

In case you need help with such topic please use stackoverflow.com site.

Thanks!
Ludek

by Skipper developer (137k points)