fixing handling of default values
This commit is contained in:
parent
574ed30f77
commit
071febe96c
@ -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']);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user