Commit 071febe9 authored by pookey's avatar pookey

fixing handling of default values

parent 574ed30f
......@@ -221,7 +221,7 @@ END;
$a = array();
if (isset($column['default']) && $column['default']) {
if (isset($column['default'])) {
$a[] = '\'default\' => ' . var_export($column['default'], true);
}
if (isset($column['notnull']) && $column['notnull']) {
......@@ -492,4 +492,4 @@ END;
throw new Doctrine_Import_Builder_Exception("Couldn't write file " . $options['fileName']);
}
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment