Skip to main content

read_db_version

Function read_db_version 

Source
pub async fn read_db_version(
    pool: &SqlitePool,
) -> Result<Option<GitVersion>, Error>
Expand description

Reads the Cadmus version stored in _cadmus_version.

Returns None if the table does not exist (database predates migration 012) or if the row is missing.