mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 06:20:24 +01:00
Log db path and remove tauri.worktree.conf.json (accidentally commit)
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"identifier": "app.yaak.desktop.dev.yaak-detach-tauri",
|
||||
"productName": "Daak (yaak-detach-tauri)"
|
||||
}
|
||||
@@ -3,6 +3,7 @@ use crate::error::{Error, Result};
|
||||
use crate::migrate::migrate_db;
|
||||
use crate::query_manager::QueryManager;
|
||||
use crate::util::ModelPayload;
|
||||
use log::info;
|
||||
use r2d2::Pool;
|
||||
use r2d2_sqlite::SqliteConnectionManager;
|
||||
use std::fs::create_dir_all;
|
||||
@@ -41,6 +42,7 @@ pub fn init_standalone(
|
||||
}
|
||||
|
||||
// Main database pool
|
||||
info!("Initializing app database {db_path:?}");
|
||||
let manager = SqliteConnectionManager::file(db_path);
|
||||
let pool = Pool::builder()
|
||||
.max_size(100)
|
||||
@@ -50,6 +52,8 @@ pub fn init_standalone(
|
||||
|
||||
migrate_db(&pool)?;
|
||||
|
||||
info!("Initializing blobs database {blob_path:?}");
|
||||
|
||||
// Blob database pool
|
||||
let blob_manager = SqliteConnectionManager::file(blob_path);
|
||||
let blob_pool = Pool::builder()
|
||||
|
||||
Reference in New Issue
Block a user