Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/pkg/heimdall/queries/job/insert.sql
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ select
$6, -- job_version
$7, -- job_description
$8, -- job_context
case when $9 is null then null else left($9, 1024) end, -- job_error
$9, -- job_error
$10, -- username
$11, -- is_sync
$12, -- store_result_sync
Expand Down
2 changes: 1 addition & 1 deletion internal/pkg/heimdall/queries/job/status_update.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
update jobs
set
job_status_id = $1,
job_error = case when $2 is null then null else left($2, 1024) end,
job_error = $2,
updated_at = extract(epoch from now())::int
where
system_job_id = $3;