api/migrations_common library

Classes

InitializedSchema<DB extends CommonDatabase>
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<DB extends CommonDatabase>

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.