Commit e904092d authored by Dillenn Terumalai's avatar Dillenn Terumalai
Browse files

fix: Added JobModel created_at field to fillable

parent e553bfec
Pipeline #2344 passed with stage
in 6 seconds
......@@ -21,7 +21,7 @@ class DatabaseJobRepository implements JobRepository
*/
public function store($job, string $payload): JobModel
{
return JobModel::create([
return JobModel::forceCreate([
'id' => $job->id,
'job_name' => $job->name,
'partition' => $job->partition,
......
......@@ -71,6 +71,7 @@ class JobModel extends Model
'queued_at',
'failed_at',
'completed_at',
'created_at'
];
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment