Structs§
- DbVersion
Stamp - Version and schema migration state stored in
_cadmus_version. - Migration
Hash - BLAKE3 hash of all schema migration file paths and contents.
Enums§
- Version
Gate Result - 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.