diff --git a/src-tauri/src/db/mod.rs b/src-tauri/src/db/mod.rs index f1339d8..a47e84e 100644 --- a/src-tauri/src/db/mod.rs +++ b/src-tauri/src/db/mod.rs @@ -13,7 +13,7 @@ async fn get_db(path: &PathBuf) -> Result { .filename(path) .create_if_missing(true) .journal_mode(SqliteJournalMode::Wal); - connect_options.disable_statement_logging(); + connect_options = connect_options.disable_statement_logging(); let db = sqlx::pool::PoolOptions::::new() .max_connections(1) .connect_with(connect_options)