Struct dbmigrate_lib::Migration [−][src]
pub struct Migration {
pub up: Option<MigrationFile>,
pub down: Option<MigrationFile>,
}
Expand description
A migration has 2 files: one up and one down
Fields
up: Option<MigrationFile>
The Up file
down: Option<MigrationFile>
The Down file