module
Prostore::Migration::CLI
Overview
CLI helpers (bin/prostore).
Operator-facing surface: status, abort, drift check. Each takes a
Prostore::Connection and writes to an IO so callers can compose them
into a CLI binary or call them programmatically from tests.
Extended Modules
Defined in:
prostore/migration/cli.crInstance Method Summary
-
#abort(conn : Connection, migration_id : Int64, io : IO = STDOUT) : Nil
Abort an in-progress migration.
-
#drift_check(conn : Connection, io : IO = STDOUT) : Nil
Dry-run drift detection without applying any DDL.
-
#status(conn : Connection, io : IO = STDOUT) : Nil
Print the current migration state.
Instance Method Detail
Abort an in-progress migration. Marks the migration aborted and
releases its lease. Per ADR-0009, completed steps are not reversed —
operators must use the removal lifecycle (ADR-0008) for full revert.
Dry-run drift detection without applying any DDL.
Print the current migration state. Lists in-progress and completed migrations with their step status.