summaryrefslogtreecommitdiffstats
path: root/src/db/models
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-12-03 08:17:18 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-12-03 08:17:18 +0100
commit7dfca01d8e8bffe0ca09ca58fe7e11f9d34514d2 (patch)
tree734ebfeda6dfb6e7fb0dc16312f9320a6d2bce52 /src/db/models
parentfcdda0b9999fbb5f796ad67f8a23ffdfe2093b2b (diff)
Cleanup imports
This patch cleans the imports, removes the unused ones and moves imports, wherever possible, to the outer scope. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/db/models')
-rw-r--r--src/db/models/job_env.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/db/models/job_env.rs b/src/db/models/job_env.rs
index 3ef1ae3..f2c5fb1 100644
--- a/src/db/models/job_env.rs
+++ b/src/db/models/job_env.rs
@@ -2,7 +2,6 @@ use anyhow::Result;
use diesel::PgConnection;
use diesel::prelude::*;
-use crate::schema::job_envs::*;
use crate::schema::job_envs;
use crate::db::models::Job;
use crate::db::models::EnvVar;