Skip to main content

migrate

Function migrate 

Source
pub async fn migrate(cfg: &EngineConfig) -> Result<()>
Expand description

Run engine + per-module schema migrations against the configured backend. No runtime state is built, no background tasks are spawned. Idempotent — calling on an up-to-date schema is a no-op.

Used by parent binaries that want a migrate subcommand without booting workflow scheduler / vault unseal / etc. Equivalent to EngineBoot::run(cfg).await?; with a more discoverable name.