More cleanup
This commit is contained in:
+1
-3
@@ -1,8 +1,6 @@
|
|||||||
// use std::io::Write;
|
// use std::io::Write;
|
||||||
|
|
||||||
// use common_multipart_rfc7578::client::multipart::{Body as MultipartBody, Form as MultipartForm};
|
// use common_multipart_rfc7578::client::multipart::{Body as MultipartBody, Form as MultipartForm};
|
||||||
// use tower::ServiceExt;
|
|
||||||
|
|
||||||
use textsender_api::db;
|
use textsender_api::db;
|
||||||
|
|
||||||
mod db_mgr {
|
mod db_mgr {
|
||||||
@@ -62,7 +60,7 @@ mod db_mgr {
|
|||||||
|
|
||||||
let pool = connect_to_db(&db_name).await.unwrap();
|
let pool = connect_to_db(&db_name).await.unwrap();
|
||||||
migrations(&pool).await;
|
migrations(&pool).await;
|
||||||
// db::migrations(&pool).await;
|
|
||||||
(tm_pool, db_name, pool)
|
(tm_pool, db_name, pool)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user