Skip to main content

apply_pending

Function apply_pending 

Source
pub async fn apply_pending(
    pool: &PgPool,
    migrations: &[Migration],
) -> Result<Vec<String>, CoolError>
Expand description

Apply every pending migration in the input slice in order. Each runs in its own transaction; checksum drift aborts the whole apply (banks treat drift as a release-process failure for humans, not a silent overwrite).