Skip to content

Commit

Permalink
Make nullable first (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
ParadoxNL authored and lukepolo committed Aug 15, 2016
1 parent fa3814f commit afbf59b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class AddCartSessionIdToUsersTable extends Migration
{
if (!(Schema::hasColumn('users', 'cart_session_id'))) {
Schema::table('users', function (Blueprint $table) {
$table->string('cart_session_id')->default(null);
$table->string('cart_session_id')->nullable()->default(null);
});
}
}
Expand Down

0 comments on commit afbf59b

Please sign in to comment.