Added generation for "equal: true" in the relations block of yml.
This commit is contained in:
parent
852a2fdf87
commit
e63393cd39
@ -401,6 +401,10 @@ END;
|
||||
$a[] = '\'onUpdate\' => ' . var_export($relation['onUpdate'], true);
|
||||
}
|
||||
|
||||
if (isset($relation['equal']) && $relation['equal']) {
|
||||
$a[] = '\'equal\' => ' . var_export($relation['equal'], true);
|
||||
}
|
||||
|
||||
if ( ! empty($a)) {
|
||||
$ret[$i] .= ', ' . 'array(';
|
||||
$length = strlen($ret[$i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user