Browse Source

Merge pull request #393 from ShawnMcCool/master

made all sqlite fields nullable to fix various problems with the difference in sqlite's null functionality
Taylor Otwell 12 years ago
parent
commit
20f62b5a1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/database/schema/grammars/sqlite.php

+ 1 - 1
laravel/database/schema/grammars/sqlite.php

@@ -113,7 +113,7 @@ class SQLite extends Grammar {
 	 */
 	protected function nullable(Table $table, Fluent $column)
 	{
-		return ($column->nullable) ? ' NULL' : ' NOT NULL';
+		return ' NULL';
 	}
 
 	/**