pub trait MigrationName: Display {
    fn version(&self) -> MigrationVersion<'_>;
}
Expand description

Represents the name of a migration

Users should threat this as impl Display type, for implementors of custom migration types this opens the possibility to roll out their own versioning schema.

Required Methods§

The version corresponding to the current migration name

Implementors§