From 9899404661cb7ee9181a2354e8ed72e5e9185192 Mon Sep 17 00:00:00 2001
From: iximeow <me@iximeow.net>
Date: Tue, 27 Jun 2023 02:05:24 -0700
Subject: [all] a job may have null run_host if it has never been run

---
 src/dbctx.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dbctx.rs b/src/dbctx.rs
index 926f717..0269a18 100644
--- a/src/dbctx.rs
+++ b/src/dbctx.rs
@@ -41,7 +41,7 @@ pub struct Job {
     pub id: u64,
     pub artifacts_path: Option<String>,
     pub state: sql::JobState,
-    pub run_host: String,
+    pub run_host: Option<String>,
     pub remote_id: u64,
     pub commit_id: u64,
     pub created_time: u64,
-- 
cgit v1.1