pub fn find_index_of_non_reversible_migration<'a, M>(
migrator: M,
db_conn: Option<DbConnection<'a>>,
) -> Option<usize>where
M: MigratorTrait,Expand description
Returns the index of the first migration it can find, which is not reversible.
None is returned if they are all reversible.
Note for performance reasons, this will check migrations in reverse order.