Skip to main content

execute_schema_migration_plan

Function execute_schema_migration_plan 

Source
pub async fn execute_schema_migration_plan<E>(
    executor: &mut E,
    plan: &SchemaMigrationPlan,
) -> Result<(), RustAuthError>
where E: SqlExecutor,
Expand description

Executes a pure migration plan through any SQL executor.

Introspection and transaction ownership stay in the adapter crate; this helper only runs the already-planned SQL statements in order.