Skip to main content

SCHEMA_VERSION

Constant SCHEMA_VERSION 

Source
pub const SCHEMA_VERSION: u16 = 2;
Expand description

Current schema version for persisted Cortex rows and JSON envelopes.

See version for the bump policy.

Bumped to 2 in the schema v2 atomic cutover commit (ADR 0018). Forward- only: a v1 binary opening a v2 store fails closed with Exit::SchemaMismatch (ADR 0033 §6). Rollback is restore-from-blessed-pre-v2-backup; in-place down-migration is forbidden by ADR 0033 §3.