Skip to main content
Version: 0.15 (unstable)

Migrations

Occasionally, a new node version requires storage schema changes. These can be applied using the migrate command after stopping the node.

miden-node migrate --data-directory full-node-data

Backwards migrations are not supported. If a data directory is older than the minimum supported schema version for a release, migrate forward in stages with older compatible versions first.

The node will error on startup if any migrations have not been applied. It is safe to run the migration command if all migrations have already been applied.