mirror of
https://github.com/wearepixel/laravel-comments.git
synced 2026-11-14 14:02:04 +00:00
Add support for laravel 5.8 default bigIncrement
This commit is contained in:
@@ -16,7 +16,7 @@ class CreateCommentsTable extends Migration
|
||||
$table->morphs('commentable');
|
||||
$table->text('comment');
|
||||
$table->boolean('is_approved')->default(false);
|
||||
$table->unsignedInteger('user_id')->nullable();
|
||||
$table->unsignedBigInteger('user_id')->nullable();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user