mimir_migrate
Migrate a legacy v0.1.x Mimir database to the current v0.5.0 schema by reading the old SQLite file, converting memories to entity model, and merging into the current database.
Instructions
Migrate a v0.1.x Mimir database to the current v0.5.0 schema. Reads the old database, converts memories to the entity model, and merges into the current database. Use this once per legacy database during upgrade.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_path | Yes | Absolute path to the v0.1.x SQLite database file to migrate |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Any errors encountered during migration | |
| entities_created | No | New entities created from old memories | |
| entities_updated | No | Existing entities updated during merge | |
| total_old_memories | No | Number of memories found in the old database | |
| completed_at_unix_ms | No | Completion timestamp |