id(); $table->unsignedBigInteger('user_id'); $table->text('content'); $table->string('commentable_type'); $table->bigInteger('commentable_id'); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('comments'); } }