From c5d089090403e314d4d06833a369ecddcbf31a77 Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 19 Jun 2007 10:40:39 +0000 Subject: [PATCH] --- lib/Doctrine/Export.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Doctrine/Export.php b/lib/Doctrine/Export.php index 51103c23b..7f101f9e8 100644 --- a/lib/Doctrine/Export.php +++ b/lib/Doctrine/Export.php @@ -1003,7 +1003,8 @@ class Doctrine_Export extends Doctrine_Connection_Module } } } - + /** Not needed anymore ? createTable() now handles foreign keys + foreach ($fks as $tableName => $fk) { foreach ($fk as $k => $definition) { if (is_array($definition)) { @@ -1011,6 +1012,7 @@ class Doctrine_Export extends Doctrine_Connection_Module } } } + */ return $sql; } /**