chore: fix all clippy warnings
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful

This commit is contained in:
Jef Roosens 2024-07-08 21:54:12 +02:00
parent 9cec2e0dc2
commit fde56af414
Signed by: Jef Roosens
GPG key ID: 02D4C0997E74717B
13 changed files with 119 additions and 158 deletions

View file

@ -88,7 +88,7 @@ pub async fn connect(conn: &DbConfig) -> crate::Result<DbConn> {
} => {
let mut url = format!("postgres://{}:{}@{}:{}/{}", user, password, host, port, db);
if schema != "" {
if !schema.is_empty() {
url = format!("{url}?currentSchema={schema}");
}