Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #239
    dan
    Participant

    Hi when I run php artisan migrate, I encounter this problem.

    This is the entry to the migration file:

    $table->boolean(‘confirm’)-> default(‘false’);

    It looks its the default value but I couldnt figure it out

    #240

    You are a storing a string ‘false’ . Remove the single quotations around the boolean false and code like this.

    $table->boolean(‘confirm’)-> default(false);

    #241
    dan
    Participant

    It works. Thank you

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.