migratrom 0.2.0

Declarative, self-verifying database migrations (core engine).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! The migration runner: applying migrations, executing operations, and history.

mod apply;
mod executor;
mod history;

pub use apply::{advisory_lock_key, apply_migrations, ApplyOptions};
pub use executor::{run_operation, OpOutcome};
pub use history::{
    ensure_history_table, read_applied_ids, read_applied_records, record_migration, AppliedRecord,
    DEFAULT_HISTORY_TABLE,
};