From 53239dd55ecfa20f024426d67c914fe850030e40 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Sun, 14 Jul 2024 21:46:35 +0530 Subject: [PATCH] debug: print db url --- src/db/sqlx_postgres.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/db/sqlx_postgres.rs b/src/db/sqlx_postgres.rs index d39eb15..342de17 100644 --- a/src/db/sqlx_postgres.rs +++ b/src/db/sqlx_postgres.rs @@ -39,6 +39,7 @@ pub struct PostgresDatabase; #[async_trait::async_trait] impl super::create_database::CreateDatabase for PostgresDatabase { async fn create_database(&self, url: &url::Url) { + println!("Trying to connect to: {}", url.as_str()); sqlx::Postgres::create_database(url.as_str()).await.unwrap(); } }