From 2648bbca251f79063cb4f8d2996f5c1cbc7ed298 Mon Sep 17 00:00:00 2001 From: curquiza Date: Thu, 23 Feb 2023 18:36:30 +0100 Subject: [PATCH] Update migration link to the docs --- meilisearch-types/src/versioning.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meilisearch-types/src/versioning.rs b/meilisearch-types/src/versioning.rs index f1c477834..f429a6128 100644 --- a/meilisearch-types/src/versioning.rs +++ b/meilisearch-types/src/versioning.rs @@ -46,7 +46,7 @@ pub fn check_version_file(db_path: &Path) -> anyhow::Result<()> { pub enum VersionFileError { #[error( "Meilisearch (v{}) failed to infer the version of the database. - To update Meilisearch please follow our guide on https://docs.meilisearch.com/learn/advanced/updating.html.", + To update Meilisearch please follow our guide on https://docs.meilisearch.com/learn/update_and_migration/updating.html.", env!("CARGO_PKG_VERSION").to_string() )] MissingVersionFile, @@ -54,7 +54,7 @@ pub enum VersionFileError { MalformedVersionFile, #[error( "Your database version ({major}.{minor}.{patch}) is incompatible with your current engine version ({}).\n\ - To migrate data between Meilisearch versions, please follow our guide on https://docs.meilisearch.com/learn/advanced/updating.html.", + To migrate data between Meilisearch versions, please follow our guide on https://docs.meilisearch.com/learn/update_and_migration/updating.html.", env!("CARGO_PKG_VERSION").to_string() )] VersionMismatch { major: String, minor: String, patch: String },