api/migrations library
Classes
- InitializedSchema
- Contains an initialized schema with all tables, views, triggers and indices.
- SchemaInstantiationHelper
-
The implementation of this class is generated through the
moor_generator
CLI tool. - SchemaVerifier
Extensions
- VerifySelf on GeneratedDatabase
- Utilities verifying that the current schema of the database matches what the generated code expects.
Exceptions / Errors
- MissingSchemaException
- Thrown when trying to instantiate a schema that hasn't been saved.
- SchemaMismatch
- Thrown when the actual schema differs from the expected schema.