8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d8b803 commit acd933fCopy full SHA for acd933f
src/Illuminate/Queue/Console/stubs/jobs.stub
@@ -15,14 +15,12 @@ class Create{{tableClassName}}Table extends Migration
15
{
16
Schema::create('{{table}}', function (Blueprint $table) {
17
$table->bigIncrements('id');
18
- $table->string('queue');
+ $table->string('queue')->index();
19
$table->longText('payload');
20
$table->unsignedTinyInteger('attempts');
21
$table->unsignedInteger('reserved_at')->nullable();
22
$table->unsignedInteger('available_at');
23
$table->unsignedInteger('created_at');
24
-
25
- $table->index(['queue', 'reserved_at']);
26
});
27
}
28
0 commit comments