bigInteger('status_profile_id')->nullable()->unsigned()->index()->after('status_id'); $table->boolean('is_comment')->nullable()->index()->after('status_profile_id'); $table->dropColumn('flagged'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('likes', function (Blueprint $table) { $table->dropColumn(['status_profile_id','is_comment']); $table->boolean('flagged')->default(false); }); } }