Skip to content

Commit f755840

Browse files
author
Morteza Poussaneh
committed
Add support for laravel 5.8 default bigIncrement
1 parent c7d5993 commit f755840

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)