add index to failed jobs
This commit is contained in:
@@ -42,6 +42,8 @@ return new class extends Migration
|
|||||||
$table->longText('payload');
|
$table->longText('payload');
|
||||||
$table->longText('exception');
|
$table->longText('exception');
|
||||||
$table->timestamp('failed_at')->useCurrent();
|
$table->timestamp('failed_at')->useCurrent();
|
||||||
|
|
||||||
|
$table->index(['connection', 'queue', 'failed_at']);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user