Skip to main content

migration_version

Function migration_version 

Source
pub fn migration_version(
    conn: &Connection,
    storage: &VersionStorage,
) -> Result<i64>
Expand description

Read the selected migration version without creating a table or row. Missing table/key means zero; malformed or negative versions are refused.