Skip to main content

Module executor

Module executor 

Source
Expand description

Apply and reverse migrations against a siderite_orm::Db.

Structs§

LockHolder
The session that holds the migration lock, as far as the server shows it to the inspecting role. Fields other than session are None when the server hides them (PostgreSQL without pg_read_all_stats, MySQL without PROCESS) or the session ended between the two reads.
MigrationIntent
Explicit SQL/callback work entered before completion was confirmed.
Migrator
Applies JSON migrations through Db.
RecoveryEntry
Recorded recovery state; catalogs must be reconciled before any repair.
RecoveryReport
Snapshot of applied ids and recorded partial work, without modifying SQL.
Report
Outcome of Migrator::migrate or Migrator::rollback.

Constants§

HISTORY_TABLE
History table written by the migrator.