Skip to main content

migrate_workspace

Function migrate_workspace 

Source
pub fn migrate_workspace(
    snapshot: WorkspaceSnapshot,
) -> Result<MigrationResult, WorkspaceMigrationError>
Expand description

Attempt to migrate a workspace snapshot to the current schema version.

For v1 (current), this is a no-op identity migration. Future versions will chain migrations through each intermediate version.