Skip to main content

ensure_executable_migration_plan

Function ensure_executable_migration_plan 

Source
pub fn ensure_executable_migration_plan(
    plan: &SchemaMigrationPlan,
) -> Result<(), RustAuthError>
Expand description

Rejects migration plans that carry non-executable warnings before any schema mutation runs.

Shared preflight so every SQL adapter refuses warning/error plans identically instead of silently mutating the database.