api/migrations_native library

Classes

SchemaInstantiationHelper
A class that can create a GeneratedDatabase suitable for instantating an older version of your app's database.
SchemaVerifier

Extensions

VerifySelf on GeneratedDatabase
Utilities verifying that the current schema of the database matches what the generated code expects.

Typedefs

InitializedSchema = InitializedSchema<Database>
Contains an initialized schema with all tables, views, triggers and indices.

Exceptions / Errors

MissingSchemaException
Thrown by SchemaInstantiationHelper.databaseForVersion when trying to instantiate a schema that hasn't been saved.
SchemaMismatch
Thrown when the actual schema differs from the expected schema.