mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-02-15 15:03:28 +01:00
Fix dumpless upgrade target version
This commit is contained in:
parent
1caad4c4b0
commit
c55fdad2c3
@ -1,7 +1,6 @@
|
|||||||
use heed::RwTxn;
|
use heed::RwTxn;
|
||||||
|
|
||||||
use super::UpgradeIndex;
|
use super::UpgradeIndex;
|
||||||
use crate::constants::{VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH};
|
|
||||||
use crate::progress::Progress;
|
use crate::progress::Progress;
|
||||||
use crate::{make_enum_progress, Index, Result};
|
use crate::{make_enum_progress, Index, Result};
|
||||||
|
|
||||||
@ -47,10 +46,6 @@ impl UpgradeIndex for V1_12_3_To_V1_13_0 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn target_version(&self) -> (u32, u32, u32) {
|
fn target_version(&self) -> (u32, u32, u32) {
|
||||||
(
|
(1, 13, 0)
|
||||||
VERSION_MAJOR.parse().unwrap(),
|
|
||||||
VERSION_MINOR.parse().unwrap(),
|
|
||||||
VERSION_PATCH.parse().unwrap(),
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user