Skip rebuilding field distribution if not coming from v1.12

This commit is contained in:
Louis Dureuil
2025-01-13 09:31:27 +01:00
parent c3b18fede9
commit c25781f720
4 changed files with 36 additions and 7 deletions

View File

@ -151,7 +151,12 @@ fn date_round_trip(
Ok(())
}
pub fn v1_9_to_v1_10(db_path: &Path) -> anyhow::Result<()> {
pub fn v1_9_to_v1_10(
db_path: &Path,
_origin_major: &str,
_origin_minor: &str,
_origin_patch: &str,
) -> anyhow::Result<()> {
println!("Upgrading from v1.9.0 to v1.10.0");
// 2 changes here