Commit 3009fab5 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Revert a previous commit, apparently the Type engine has two ways of naming...

Revert a previous commit, apparently the Type engine has two ways of naming types, and there is one that is case-sensitive.
parent 4a8e24a1
......@@ -1655,7 +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