Skip to main content

status

Function status 

Source
pub async fn status(
    pool: &PgPool,
    migrator: &Migrator,
) -> Result<Vec<MigrationStatus>, Error>
Expand description

Every migration in migrator, oldest first, with whether it has run.

ยงErrors

Fails on a database error.