Skip to content

resolveServerVersionColumnName

resolveServerVersionColumnName<TTable>(entry): string | undefined

Defined in: packages/contracts/src/registry.ts:1327

The Server version column (ADR-0010): the nowMicroseconds-on-update managed field a writable table stamps on every write (conventionally updated_at_us), made strictly monotonic by the applier. Returns its column name, resolving the managed field’s drizzle property key. Returns undefined when none is declared — registry validation rejects that for writable tables, so the convergence barrier never has to degrade.

TTable extends AnyPgTable

SyncTableEntry<TTable>

string | undefined