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
up: Option<MigrationFile>
The Up file
down: Option<MigrationFile>
The Down file