Skip to main content

Module schema_migration

Module schema_migration 

Source
Expand description

Typed payloads for schema migration boundary events.

These payloads are data contracts only. Emitting them into the ledger is owned by the Lane S2 migration command and must not happen implicitly.

Structs§

SchemaMigrationV1ToV2Payload
Payload for the schema_migration.v1_to_v2 boundary event required by ADR 0018.

Enums§

SchemaMigrationEventError
Boundary event construction failures.
SchemaMigrationPayloadError
Payload validation failures for schema migration boundary events.

Constants§

SCHEMA_MIGRATION_V1_TO_V2_EVENT_KIND
Payload discriminator for the v1 -> v2 migration boundary event.
SCHEMA_MIGRATION_V1_TO_V2_ID
Stable migration id for the v1 -> v2 cutover recipe.
SCHEMA_MIGRATION_V1_TO_V2_TARGET
Target schema version for the v1 -> v2 cutover.

Functions§

schema_migration_v1_to_v2_event
Build the typed schema_migration.v1_to_v2 boundary event without appending it to any ledger.