debug: print db url
This commit is contained in:
parent
c1eeff81d5
commit
53239dd55e
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue