increments('id'); $table->morphs('commentable'); $table->text('comment'); $table->boolean('is_approved')->default(false); $table->unsignedBigInteger('user_id')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down() { Schema::dropIfExists('comments'); } }