Migration
Summary
How Dendron migrates configuration
Lifecycle
- Dendron activates if it detects a Dendron workspace. This is described in Startup
- During startup, Dendron calls
runMigrationsIfNecessary
. Process described in Run Migration
changes = runMigrationsIfNecessary
if changes {
track change
} else {
maybePromptConfigMigration
}
maybePromptConfigMigration {
dendronConfig.version !== CURRENT_CONFIG_VERSION {
showConfigMigrationConfirmationMessage
}
}
When migrations are skipped
- testing