[DDC-2679] SchemaTool ON DELETE CASCADE does not work with MSSQL Created: 13/Sep/13 Updated: 15/Jan/14
|Project:||Doctrine 2 - ORM|
MSSQL 2008 R2
The following queries are produced by:
An explanation why this is happening:
|Comment by Steve Müller [ 15/Jan/14 ]|
This is a SQL Server limitation as it does not support multi-path cascades for foreign keys.
Not sure what to do about this at the moment...
|Comment by Flip [ 15/Jan/14 ]|
Yes there is nothing we can do to get this to work. But what we can do is: