From 1ddd4f5db4676a13dc8b0d7e4726c5e1f8e315f2 Mon Sep 17 00:00:00 2001 From: phuson Date: Thu, 18 Oct 2007 19:36:18 +0000 Subject: [PATCH] Added back the generation of "equal: true" from schema files. --- lib/Doctrine/Import/Builder.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Doctrine/Import/Builder.php b/lib/Doctrine/Import/Builder.php index e5310adc4..bfe17f390 100644 --- a/lib/Doctrine/Import/Builder.php +++ b/lib/Doctrine/Import/Builder.php @@ -457,6 +457,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]);