mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-11-28 00:33:35 +01:00
feat(sql): made DbInstances public for managing directly from Rust (#1381)
This commit is contained in:
1 parent
909ff619e0
commit
4216c0517f
2 files changed
+6
-1
No files matched your search
@@ -87,7 +87,7 @@ fn path_mapper(mut app_path: PathBuf, connection_string: &str) -> String {
|
||||
}
|
||||
|
||||
#[derive(Default)]
|
||||
struct DbInstances(Mutex<HashMap<String, Pool<Db>>>);
|
||||
pub struct DbInstances(pub Mutex<HashMap<String, Pool<Db>>>);
|
||||
|
||||
struct Migrations(Mutex<HashMap<String, MigrationList>>);
|
||||
|
||||
|
||||
Reference in new issue
Block a user