Interface: MigrationRecord
Defined in: migrate.ts:345
An immutable record of one migration transition.
Properties
actor
readonlyactor:string
Defined in: migrate.ts:359
Who made the change (default system).
algorithm
readonlyalgorithm:string
Defined in: migrate.ts:355
The key algorithm after the transition.
fromState
readonlyfromState:MigrationState
Defined in: migrate.ts:351
The state before the transition.
isForward
readonlyisForward:boolean
Defined in: migrate.ts:365
True when toState is a forward step from fromState.
keyId
readonlykeyId:string
Defined in: migrate.ts:349
The key this transition belongs to.
metadata
readonlymetadata:Readonly<Record<string,unknown>>
Defined in: migrate.ts:363
Free-form JSON-serializable details supplied by the caller.
reason
readonlyreason:string
Defined in: migrate.ts:361
Why the change was made; non-empty for a backward transition.
recordId
readonlyrecordId:string
Defined in: migrate.ts:347
A random UUID (version 4 layout) identifying this record.
timestamp
readonlytimestamp:number
Defined in: migrate.ts:357
Unix seconds.
toState
readonlytoState:MigrationState
Defined in: migrate.ts:353
The state after the transition.