diff --git a/database/migrations/2018_02_25_160152_remove_default_null_value_on_table.php b/database/migrations/2018_02_25_160152_remove_default_null_value_on_table.php index e9414f230..6469867f2 100644 --- a/database/migrations/2018_02_25_160152_remove_default_null_value_on_table.php +++ b/database/migrations/2018_02_25_160152_remove_default_null_value_on_table.php @@ -20,7 +20,7 @@ class RemoveDefaultNullValueOnTable extends Migration }); DB::transaction(function () { - DB::table('users')->where('external_id', '=' , 'NULL')->update([ + DB::table('users')->where('external_id', '=', 'NULL')->update([ 'external_id' => null, ]); });