mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-07 08:27:12 +00:00
refactor(store): rename SlateDB prefix from "db" to "slatedb"
Makes the on-disk storage subdirectory self-descriptive. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c7461c31dc
commit
e2897fc910
1 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ impl Database {
|
|||
}
|
||||
|
||||
fn shared_db_prefix(&self) -> String {
|
||||
format!("{}db", self.base_prefix)
|
||||
format!("{}slatedb", self.base_prefix)
|
||||
}
|
||||
|
||||
async fn open_db(&self) -> Result<slatedb::Db> {
|
||||
|
|
@ -399,7 +399,7 @@ mod tests {
|
|||
let remaining = store.list_runs(&ListRunsQuery::default()).await.unwrap();
|
||||
assert_eq!(remaining.len(), 1);
|
||||
assert_eq!(remaining[0].run_id, test_run_id("run-2"));
|
||||
assert!(!list_paths(object_store, "runs/db").await.is_empty());
|
||||
assert!(!list_paths(object_store, "runs/slatedb").await.is_empty());
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue