Don't set a default value when there isn't a default specified
This commit is contained in:
parent
841c622085
commit
dcca887f18
|
@ -186,7 +186,7 @@ class MDB2SchemaReader {
|
|||
}
|
||||
}
|
||||
if (isset($name) && isset($type)) {
|
||||
if (empty($options['default'])) {
|
||||
if (isset($options['default']) && empty($options['default'])) {
|
||||
if (empty($options['notnull']) || !$options['notnull']) {
|
||||
unset($options['default']);
|
||||
$options['notnull'] = false;
|
||||
|
|
Loading…
Reference in New Issue