Skip to main content

status

Function status 

pub async fn status(
    pool: &Pool<Postgres>,
    migrations: &[Migration],
) -> Result<Vec<MigrationState>, CratestackError>
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.