Skip to content

Commit 7b5fca3

Browse files
authored
Merge pull request #7 from gdpa/hotfix/laravel58support
Add support for laravel 5.8 default bigIncrement
2 parents e7ff37c + f755840 commit 7b5fca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/create_comments_table.php.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class CreateCommentsTable extends Migration
1616
$table->morphs('commentable');
1717
$table->text('comment');
1818
$table->boolean('is_approved')->default(false);
19-
$table->unsignedInteger('user_id')->nullable();
19+
$table->unsignedBigInteger('user_id')->nullable();
2020
$table->timestamps();
2121
});
2222
}

0 commit comments

Comments
 (0)