Skip to main content

apply_project

Function apply_project 

Source
pub fn apply_project(
    project: &Path,
    database_url: &str,
) -> Result<ApplyReport, MigrationError>
Expand description

Apply every pending disk migration and verify the resulting PostgreSQL schema.

ยงErrors

Returns an error for invalid project state, database failures, dirty history, or checksum mismatches. Transaction-disabled failures remain recorded for manual recovery.