pub fn migrate_graph(conn: &Connection, current: u32) -> Result<u32>Expand description
Incremental migration for the knowledge graph schema.
Applies version-to-version migrations from current up to
GRAPH_SCHEMA_VERSION inside a single transaction. On failure the
transaction rolls back and the recorded version is unchanged. Returns the
new version (equal to current when already up to date).