Commit 4a8e24a1 authored by Guilherme Blanco's avatar Guilherme Blanco

Update lib/Doctrine/DBAL/Platforms/AbstractPlatform.php

parent ef6c86fe
......@@ -1655,8 +1655,7 @@ abstract class AbstractPlatform
$default = " DEFAULT ".$field['default'];
} else if ((string)$field['type'] == 'DateTime' && $field['default'] == $this->getCurrentTimestampSQL()) {
$default = " DEFAULT ".$this->getCurrentTimestampSQL();
} else if ((string) $field['type'] == 'Boolean') {
} else if ((string) $field['type'] == 'boolean') {
$default = " DEFAULT '" . $this->convertBooleans($field['default']) . "'";
}
}
......
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