Skip to main content

plan_schema_migration

Function plan_schema_migration 

Source
pub fn plan_schema_migration(
    dialect: SqlDialect,
    schema: &DbSchema,
    snapshot: &SqlSchemaSnapshot,
) -> Result<SchemaMigrationPlan, RustAuthError>
Expand description

Compares a target RustAuth schema with a SQL schema snapshot and emits an additive plan.