Skip to content

Commit f3940f8

Browse files
authored
Corrects the use of "failed_jobs" instead of "job_batches" (#42389)
in BatchedTableCommand in comments and BatchedTableCommand::createBaseMigration()'s default value for $table parameter.
1 parent 69af961 commit f3940f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Illuminate/Queue/Console/BatchesTableCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class BatchesTableCommand extends Command
3636
protected $composer;
3737

3838
/**
39-
* Create a new failed queue jobs table command instance.
39+
* Create a new batched queue jobs table command instance.
4040
*
4141
* @param \Illuminate\Filesystem\Filesystem $files
4242
* @param \Illuminate\Support\Composer $composer
@@ -74,15 +74,15 @@ public function handle()
7474
* @param string $table
7575
* @return string
7676
*/
77-
protected function createBaseMigration($table = 'failed_jobs')
77+
protected function createBaseMigration($table = 'job_batches')
7878
{
7979
return $this->laravel['migration.creator']->create(
8080
'create_'.$table.'_table', $this->laravel->databasePath().'/migrations'
8181
);
8282
}
8383

8484
/**
85-
* Replace the generated migration with the failed job table stub.
85+
* Replace the generated migration with the batches job table stub.
8686
*
8787
* @param string $path
8888
* @param string $table

0 commit comments

Comments
 (0)