Expand description

A database schema migration library that supports directed acyclic graph (DAG) dependencies between migrations.

To use with a specific database, an adapter is required. Known adapter crates:


Test harness for applying a generic test suite to any backend-specific schemer adapter.


Create a trivial implementation of Migration for a type.

Test an Adapter with the generic test suite.


Primary schemer type for defining and applying migrations.


Error resulting from the definition of migration identity and dependency.

Direction in which a migration is applied (Up) or reverted (Down).

Error resulting either from migration definitions or from migration application with an adapter.


Trait necessary to adapt schemer’s migration management to a stateful backend.

Metadata for defining the identity and dependence relations of migrations. Specific adapters require additional traits for actual application and reversion of migrations.