Make sure default values in schema columns are always non-empty (especially booleans).
This commit is contained in:
@@ -108,7 +108,7 @@ class SQLServer extends Grammar {
|
||||
{
|
||||
if ( ! is_null($column->default))
|
||||
{
|
||||
return " DEFAULT '".$column->default."'";
|
||||
return " DEFAULT '".$this->default_value($column->default)."'";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user