Function forest_filecoin::db::migration::migration_map::create_migration_chain
source ยท pub(super) fn create_migration_chain(
start: &Version,
goal: &Version,
) -> Result<Vec<Migration>>
Expand description
Creates a migration chain from start
to goal
. The chain is chosen to be the shortest
possible. If there are multiple shortest paths, any of them is chosen. This method will use
the pre-defined migrations map.