From llm-obsidian-wiki
Upgrades wiki-curator vault schema_version to target via idempotent bash migration scripts. Creates backups, logs changes, verifies with audit. Use for 'migrate wiki' or schema mismatch.
npx claudepluginhub ignromanov/llm-obsidian-wiki --plugin llm-obsidian-wikiThis skill uses the workspace's default tool permissions.
Run schema migration scripts to upgrade vault from current `schema_version` to target. Idempotent. Backup-first.
Migrates Elle plugin installations between versions using sequential idempotent steps with backups. Use for updates, version mismatches, or 'migrate Elle'/'upgrade Elle'.
Creates, validates, executes, and rolls back schema migrations for PostgreSQL, MySQL, MongoDB using Flyway, Alembic, Prisma, Knex.
Plans and executes migrations for databases, frameworks, and dependencies. Covers breaking change analysis, phased rollouts, validation, and rollbacks.
Share bugs, ideas, or general feedback.
Run schema migration scripts to upgrade vault from current schema_version to target. Idempotent. Backup-first.
Used by wiki-curator.
--target schema_version (default = latest plugin version)schema_versionwiki/_logs/migration-<chain>-<date>.md<vault>.bak.v<old>/Read current schema_version from wiki.config.md:
current=$(lib_read_yaml_key "$VAULT_PATH/wiki.config.md" schema_version)
Determine target version:
--target provided, use it${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.jsonFind migration chain:
scripts/migrations/v<X>-to-v<Y>/migrate.shRun scripts in order, idempotent:
for migration in chain:
"$migration" --vault "$VAULT_PATH"
Verify post-conditions: each migration script does its own verify; in addition, run audit skill at the end.
Print summary with chain executed, pages affected, log location.
<vault>.bak.v<old>/schema_version field — only via migration scripts${CLAUDE_PLUGIN_ROOT}/scripts/migrations/v0.1.0-to-v0.2.0.sh${CLAUDE_PLUGIN_ROOT}/scripts/migrations/v0.2.0-to-v0.3.0.sh${CLAUDE_PLUGIN_ROOT}/scripts/migrations/v0.3.0-to-v0.4.0/migrate.shaudit skill for verification