use prelude instead of specific imports for diesel traits
sooooo many traits
This commit is contained in:
parent
da718cf238
commit
40a5b99f02
1 changed files with 1 additions and 3 deletions
|
@ -20,9 +20,7 @@ use axum::{
|
||||||
Router,
|
Router,
|
||||||
};
|
};
|
||||||
|
|
||||||
use diesel::{
|
use diesel::prelude::*;
|
||||||
result::OptionalExtension, BelongingToDsl, ExpressionMethods, QueryDsl, SelectableHelper,
|
|
||||||
};
|
|
||||||
|
|
||||||
use diesel_async::{
|
use diesel_async::{
|
||||||
pooled_connection::{deadpool::Pool, AsyncDieselConnectionManager},
|
pooled_connection::{deadpool::Pool, AsyncDieselConnectionManager},
|
||||||
|
|
Loading…
Reference in a new issue