Crate schemamama [] [src]

Macros

migration!

Efficiently implement the Migration trait for a given type.

Structs

Migrator

Maintains an ordered collection of migrations to utilize.

Enums

Direction

A migration's direction.

Error

An all-encompassing error type that can be returned during interaction with the migrator adapter.

Traits

Adapter

Use this trait to connect the migrator to your chosen database technology.

Migration

All migrations will implement this trait, and a migration trait specific to the chosen adapter. This trait defines the metadata for tracking migration sequence and for human reference.

Type Definitions

Version

The version type alias used to uniquely reference migrations.