source/core/migration/auto/auto_migration_executor library
Reconciles a store's actual shape with its declared DatumSchema — the executable half of auto-migration.
This runs beside the manual SchemaMigration version chain, never
inside it: the stored int schema version is exclusively owned by
MigrationExecutor / SqlMigrationExecutor, so existing chains keep
their exact semantics. Progress is tracked with the schema
DatumSchema.fingerprint instead (via SchemaFingerprintCapable, when
the adapter opts in).
Classes
-
AutoMigrationExecutor<
T extends DatumEntityInterface> - Introspects, diffs, and applies the reconciliation for one entity store.
Typedefs
-
AutoMigrationOutcome
= ({List<
SchemaChange> applied, Object? error, StackTrace? stackTrace, bool success, List<String> warnings}) - What one auto-migration pass did (or failed to do).