Skip to main content

applied_set

Function applied_set 

Source
pub async fn applied_set(pool: &PgPool) -> Result<HashSet<String>, MigrateError>
Expand description

Set of migration names already recorded in the default ledger table (__rustango_migrations__). For a custom ledger, build a Builder with .ledger("…") and call its applied_set method.

§Errors

Returns MigrateError::Driver for any sqlx failure (including a missing ledger table — call ensure_ledger first).