PersistedOperation

In-memory representation of a row in trax.persisted_operation. Returned by IPersistedOperationStore reads.

Properties

PropertyTypeColumnNotes
TenantKeystring?tenant_keyNull at the C# boundary. Stored as '' sentinel because the column participates in the composite primary key.
IdstringidBuild-time-stable id, e.g. userProfile_v1.
OperationNamestringoperation_nameOriginal GraphQL operation name (often differs from id by case).
VersionintversionNumeric version parsed from the id suffix.
DocumentstringdocumentFull GraphQL document text.
ShapeFingerprintstringshape_fingerprintsha-256 hex of the canonicalized response shape.
IsActiveboolis_activeFalse indicates a soft-delete. Inactive rows do not serve requests.
DeprecationReasonstring?deprecation_reasonRequired when IsActive is false.
Descriptionstring?descriptionOperator-facing note.
CreatedAtDateTimecreated_atUTC.
UpdatedAtDateTimeupdated_atUTC.

Schema

The table is created by Trax migration 035_persisted_operations.sql, which also creates trax.persisted_operation_history for audit and rollback. Both tables live in the trax schema alongside the rest of the Trax tables (metadata, manifest, log, etc.).