clawdesk-migrate
The migrate crate handles data migration when upgrading between ClawDesk versions.
What It Does (Plain English)
When ClawDesk updates to a new version, the way it stores data might change. This crate makes sure your existing conversations, agents, and settings are automatically converted to the new format — so you never lose any data when updating.
Key Features
- Automatic migration — Detects version changes and migrates data on startup
- Reversible changes — Migrations can be rolled back if something goes wrong
- Version tracking — Records which migrations have been applied
- Schema evolution — Handles changes to the SochDB database schema
Architecture Role
| Layer | Position |
|---|---|
| Infrastructure | Data versioning and migration |
Dependencies
clawdesk-types— Data type definitionsclawdesk-sochdb— Database access for migration operations