add the upgradeTo field in the details

This commit is contained in:
Tamo
2025-01-23 01:52:08 +01:00
committed by Louis Dureuil
parent 9a57736773
commit fd5649091d
15 changed files with 59 additions and 25 deletions

View File

@ -291,8 +291,8 @@ fn snapshot_details(d: &Details) -> String {
Details::IndexSwap { swaps } => {
format!("{{ swaps: {swaps:?} }}")
}
Details::UpgradeDatabase { from } => {
format!("{{ from: v{}.{}.{} }}", from.0, from.1, from.2)
Details::UpgradeDatabase { from, to } => {
format!("{{ from: {from:?}, to: {to:?} }}")
}
}
}