api/migrations library

Classes

InitializedSchema
Contains an initialized schema with all tables, views, triggers and indices.
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.

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.