pub async fn migrate_on(conn: &mut PgConnection) -> Result<(), DBError>Expand description
Runs the migration set on an existing connection.
The fleet migrator already holds one per tenant for the claim lock, so opening a second just to migrate would double its connection cost — four workers would spend eight tenant connections against a budget of five (ADR 0032).
§Errors
DBError::Migration if a migration fails or the applied set has drifted.