summaryrefslogtreecommitdiffstats
path: root/src/schema.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/schema.rs')
-rw-r--r--src/schema.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/schema.rs b/src/schema.rs
index 3b7c4d4..cca6a25 100644
--- a/src/schema.rs
+++ b/src/schema.rs
@@ -3,6 +3,7 @@ table! {
id -> Int4,
path -> Varchar,
released -> Bool,
+ job_id -> Int4,
}
}
@@ -101,6 +102,7 @@ table! {
}
}
+joinable!(artifacts -> jobs (job_id));
joinable!(job_envs -> envvars (env_id));
joinable!(job_envs -> jobs (job_id));
joinable!(job_input_artifacts -> artifacts (artifact_id));