Skip to main content

migration_sql_range

Function migration_sql_range 

Source
pub fn migration_sql_range(
    from: i32,
    to: i32,
) -> Vec<(i32, &'static str, String)>
Expand description

Get migration SQL for a version range (from, to]from is exclusive, to is inclusive. Returns only migrations where from < version <= to.