pub async fn run_migrate(
conn: &impl DbConnection,
migrations_dir: &str,
dialect: Dialect,
) -> Result<u32, MigrateError>Expand description
Applies pending migrations from the given directory to the database.
ยงErrors
Returns MigrateError on database, I/O, or hash mismatch failures.