DDC-1411 - Fixed onDelete handling in EntityGenerator
This commit is contained in:
parent
f54cdf625e
commit
52cea01563
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ public function <methodName>()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($joinColumn['onDelete'])) {
|
if (isset($joinColumn['onDelete'])) {
|
||||||
$joinColumnAnnot[] = 'onDelete=' . ($joinColumn['onDelete'] ? 'true' : 'false');
|
$joinColumnAnnot[] = 'onDelete="' . ($joinColumn['onDelete'] . '"');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isset($joinColumn['columnDefinition'])) {
|
if (isset($joinColumn['columnDefinition'])) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue