1
0
mirror of synced 2025-03-21 23:43:53 +03:00

fixing handling of default values

This commit is contained in:
pookey 2007-10-15 20:06:28 +00:00
parent 574ed30f77
commit 071febe96c

View File

@ -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']);
}
}
}
}