Skip to main content

Module version

Module version 

Source

Structs§

DbVersionStamp
Version and schema migration state stored in _cadmus_version.
MigrationHash
BLAKE3 hash of all schema migration file paths and contents.

Enums§

VersionGateResult
Compares the database version with the current application version.

Constants§

MIGRATION_HASH
BLAKE3 hash of schema migration files.

Functions§

check_version_gate
Checks whether the database version is compatible with the running app.
current_migration_hash
Returns the schema migration hash embedded in the running build.
read_db_version
Reads the Cadmus version stored in _cadmus_version.
read_db_version_stamp
Reads the Cadmus version stamp stored in _cadmus_version.
stamp_db_version
Stamps the database with an explicit migration hash.