chore: fix all clippy warnings
This commit is contained in:
parent
9cec2e0dc2
commit
fde56af414
13 changed files with 119 additions and 158 deletions
|
|
@ -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}");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue