pub fn assert_migrator_reversible<'a, M>(
migrator: M,
db_conn: Option<DbConnection<'a>>,
)where
M: MigratorTrait,
Expand description
Runs a given Migrator
against a new database.
It’s migrations will be run up and down in series.
If a Migration differs when going down, an error will be raised.
Note for performance reasons, this works in reverse order of migrations.