From 394c67d482ccf1de41434f30741e058049bf9400 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Wed, 6 Oct 2010 22:18:48 +0200 Subject: [PATCH] Fix DDC-672 --- lib/Doctrine/ORM/Tools/Export/Driver/YamlExporter.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/Doctrine/ORM/Tools/Export/Driver/YamlExporter.php b/lib/Doctrine/ORM/Tools/Export/Driver/YamlExporter.php index 1c140e1bf..1cc699610 100644 --- a/lib/Doctrine/ORM/Tools/Export/Driver/YamlExporter.php +++ b/lib/Doctrine/ORM/Tools/Export/Driver/YamlExporter.php @@ -89,11 +89,6 @@ class YamlExporter extends AbstractExporter $ids = array(); foreach ($fieldMappings as $name => $fieldMapping) { - if (isset($fieldMapping['length'])) { - $fieldMapping['type'] = $fieldMapping['type'] . '(' . $fieldMapping['length'] . ')'; - unset($fieldMapping['length']); - } - $fieldMapping['column'] = $fieldMapping['columnName']; unset( $fieldMapping['columnName'],