Skip to content

Commit adf46ad

Browse files
authored
Add batch job name.
Fixes: ORA-01400: cannot insert NULL into ("JOB_BATCHES"."NAME")
1 parent 680662b commit adf46ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WithExportQueue.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public function exportQueue(): string
3131
{
3232
$batch = Bus::batch([
3333
new DataTableExportJob(self::class, $this->request->all(), optional($this->request->user())->id),
34-
])->dispatch();
34+
])->name('datatables-export')->dispatch();
3535

3636
return $batch->id;
3737
}
38-
}
38+
}

0 commit comments

Comments
 (0)