dropIndex(['queue', 'reserved', 'reserved_at']); $table->dropColumn('reserved'); $table->index(['queue', 'reserved_at']); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('jobs', function (Blueprint $table) { $table->dropIndex(['queue', 'reserved_at']); $table->tinyInteger('reserved')->unsigned(); $table->index(['queue', 'reserved', 'reserved_at']); }); } }