diff --git a/src/main.rs b/src/main.rs index c875a43..ed1f0ec 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1151,7 +1151,7 @@ async fn main() -> color_eyre::Result<()> { init_tracing(&CONFIG.tracing)?; let repo = Repo::open(CONFIG.repo.clone())?; - repo.from_db(CONFIG.old_db.path.clone()).await?; + repo.migrate_from_db(CONFIG.old_db.path.clone()).await?; match (*OPERATION).clone() { Operation::Run => (), diff --git a/src/repo.rs b/src/repo.rs index 47fdcb6..68fb868 100644 --- a/src/repo.rs +++ b/src/repo.rs @@ -462,7 +462,7 @@ impl Repo { } } - pub(crate) async fn from_db(&self, path: PathBuf) -> color_eyre::Result<()> { + pub(crate) async fn migrate_from_db(&self, path: PathBuf) -> color_eyre::Result<()> { if self.has_migrated().await? { return Ok(()); }