From 17ac74d7f822c5a429c475e4eb4bdbb2929d0850 Mon Sep 17 00:00:00 2001 From: Shawn McCool Date: Wed, 7 Mar 2012 20:52:17 +0100 Subject: [PATCH] made all sqlite fields nullable to fix various problems with the difference in sqlite's null functionality --- laravel/database/schema/grammars/sqlite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/database/schema/grammars/sqlite.php b/laravel/database/schema/grammars/sqlite.php index 30bd5bb0..232192ad 100644 --- a/laravel/database/schema/grammars/sqlite.php +++ b/laravel/database/schema/grammars/sqlite.php @@ -113,7 +113,7 @@ protected function columns(Table $table) */ protected function nullable(Table $table, Fluent $column) { - return ($column->nullable) ? ' NULL' : ' NOT NULL'; + return ' NULL'; } /**