You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let db = sled::open(path).map_err(|e|format!("Failed opening DB at this location: {:?} . Is another instance of Atomic Server running? {}", path, e))?;
103
-
let resources = db.open_tree("resources_v1").map_err(|e|format!("Failed building resources. Your DB might be corrupt. Go back to a previous version and export your data. {}", e))?;
104
-
let reference_index = db.open_tree("reference_index_v1")?;
104
+
let resources = db.open_tree(RESOURCE_TREE_CURRENT).map_err(|e|format!("Failed building resources. Your DB might be corrupt. Go back to a previous version and export your data. {}", e))?;
105
+
let reference_index = db.open_tree(REFERENCE_INDEX_CURRENT)?;
105
106
let query_index = db.open_tree("members_index")?;
106
107
let prop_val_sub_index = db.open_tree("prop_val_sub_index")?;
107
108
let watched_queries = db.open_tree("watched_queries")?;
0 commit comments