Struct dbmigrate_lib::MigrationFile [] [src]

pub struct MigrationFile {
    pub content: Option<String>,
    pub direction: Direction,
    pub number: i32,
    pub filename: String,
    pub name: String,
}

A single direction migration file

Fields

Content of the file

Direction

Number

Filename

Actual migration name (filename with number removed)

Trait Implementations

impl Debug for MigrationFile
[src]

Formats the value using the given formatter.