diff --git a/views/015_job_history.sql b/views/015_job_history.sql index 0e2f2a55..12c2988b 100644 --- a/views/015_job_history.sql +++ b/views/015_job_history.sql @@ -74,7 +74,7 @@ SELECT FROM canaries LEFT JOIN job_history_latest_status ON canaries.id::TEXT = job_history_latest_status.resource_id - INNER JOIN canaries_last_runtime ON canaries_last_runtime.canary_id = canaries.id + LEFT JOIN canaries_last_runtime ON canaries_last_runtime.canary_id = canaries.id WHERE canaries.deleted_at IS NULL; @@ -155,4 +155,4 @@ FROM notifications LEFT JOIN job_history_latest_status ON notifications.id::TEXT = job_history_latest_status.resource_id WHERE - notifications.deleted_at IS NULL; \ No newline at end of file + notifications.deleted_at IS NULL;