Skip to main content

status

Function status 

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

Inspect each migration in migrations against cratestack_migrations and report which are pending / applied / drifted. Use before apply to surface drift to the operator without changing state.