diff --git a/crates/db_schema/src/impls/images.rs b/crates/db_schema/src/impls/images.rs index 0de734cb2..32d9469f1 100644 --- a/crates/db_schema/src/impls/images.rs +++ b/crates/db_schema/src/impls/images.rs @@ -12,11 +12,12 @@ use crate::{ utils::{get_conn, DbPool}, }; use diesel::{ + dsl::exists, insert_into, result::Error, + select, ExpressionMethods, NotFound, - OptionalExtension, QueryDsl, }; use diesel_async::{AsyncPgConnection, RunQueryDsl};