diff --git a/src/interfaces/database/query_prelude.rs b/src/interfaces/database/query_prelude.rs index eb026d19..04afaf02 100644 --- a/src/interfaces/database/query_prelude.rs +++ b/src/interfaces/database/query_prelude.rs @@ -1,5 +1,3 @@ -#![allow(unused_imports)] - pub use diesel::dsl::*; pub use diesel::ExpressionMethods; pub use diesel::OptionalExtension; @@ -7,3 +5,8 @@ pub use diesel::query_dsl::*; pub use diesel::SelectableHelper; pub use diesel::upsert::*; +#[allow(unused_imports)] +pub use super::models::*; +#[allow(unused_imports)] +pub use super::schema::*; +