From a7632ff7970dd812b2b8374deac54d7b42b099cd Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 19 Jun 2007 11:18:10 +0000 Subject: [PATCH] fixed index generation --- lib/Doctrine/Export/Mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Export/Mysql.php b/lib/Doctrine/Export/Mysql.php index 6b8114e7f..fc9ca910b 100644 --- a/lib/Doctrine/Export/Mysql.php +++ b/lib/Doctrine/Export/Mysql.php @@ -112,7 +112,7 @@ class Doctrine_Export_Mysql extends Doctrine_Export } if ( ! $found) { - $options['indexes'] = array_merge($options['indexes'], array($local => array('fields' => array($local => array())))); + $options['indexes'][$local] = array('fields' => array($local => array())); } } }