Struct dbmigrate_lib::Migration [] [src]

pub struct Migration {
    pub up: Option<MigrationFile>,
    pub down: Option<MigrationFile>,
}

A migration has 2 files: one up and one down

Fields

The Up file

The Down file

Trait Implementations

impl Debug for Migration
[src]

Formats the value using the given formatter.