Skip to content

Commit

Permalink
Merge pull request laravel#393 from ShawnMcCool/master
Browse files Browse the repository at this point in the history
made all sqlite fields nullable to fix various problems with the difference in sqlite's null functionality
  • Loading branch information
taylorotwell committed Mar 7, 2012
2 parents 5b3031a + 17ac74d commit 20f62b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion laravel/database/schema/grammars/sqlite.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ protected function columns(Table $table)
*/
protected function nullable(Table $table, Fluent $column)
{
return ($column->nullable) ? ' NULL' : ' NOT NULL';
return ' NULL';
}

/**
Expand Down

0 comments on commit 20f62b5

Please sign in to comment.