Data Migration (migration)
Estimated reading time: less than 1 minuteThe migration tool handles save data changes during version upgrades. It is used directly by the Variables module.
Access via maplebirch.tool.migration.
Core API
Creating an Instance
add(fromVersion, toVersion, migrationFn)
Add a migration step from source version to target version.
run(data, targetVersion)
Execute all migration steps from current version to target version.
