Add support for laravel 5.8 default bigIncrement

This commit is contained in:
Morteza Poussaneh
2019-03-02 14:53:21 +03:30
parent c7d599349d
commit f75584052f
@@ -16,7 +16,7 @@ class CreateCommentsTable extends Migration
$table->morphs('commentable'); $table->morphs('commentable');
$table->text('comment'); $table->text('comment');
$table->boolean('is_approved')->default(false); $table->boolean('is_approved')->default(false);
$table->unsignedInteger('user_id')->nullable(); $table->unsignedBigInteger('user_id')->nullable();
$table->timestamps(); $table->timestamps();
}); });
} }