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