Struct dbmigrate_lib::MigrationFile
source · pub struct MigrationFile {
pub content: Option<String>,
pub direction: Direction,
pub number: i32,
pub filename: String,
pub name: String,
}
Expand description
A single direction migration file
Fields§
§content: Option<String>
Content of the file
direction: Direction
Direction
number: i32
Number
filename: String
Filename
name: String
Actual migration name (filename with number removed)