bigInteger('parent_id')->nullable(); $table->integer('upvote')->default(0); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('comments', function (Blueprint $table) { $table->dropColumn('parent_id'); $table->dropColumn('upvote'); }); } }