unsignedBigInteger('moderator_checking_id')->nullable(); $table->unsignedBigInteger('feed_id')->index(); $table->dropColumn('complaintable_type'); $table->dropColumn('complaintable_id'); $table->dropColumn('user_checking_id'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('complaints', function (Blueprint $table) { $table->dropColumn('moderator_checking_id'); $table->dropColumn('feed_id'); $table->unsignedBigInteger('user_checking_id')->nullable(); $table->morphs('complaintable'); }); } }