data/services/schema_migrator library

Classes

Migration
A single migration: version number + SQL to execute.
SchemaMigrator
Automatically applies pending database migrations after authentication.

Typedefs

MigrationLoader = Future<List<Migration>> Function()
Type signature for a migration loader. Returns the list of migrations that this build of the app knows how to apply. Exposed for tests so they can inject a hand-rolled list without touching the Flutter asset bundle.