Interface: SchemaMetadata
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:298
A record describing all the naming correspondences between the logical names used within Depot and their concrete translation within the database.
Properties
fromFields
readonlyfromFields:FieldNamePair[]
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:314
The field name correspondences as they exist in the old version of the schema
fromVersion?
readonlyoptionalfromVersion?:number
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:306
The version of the schema within the "old" state of the dataset
name
readonlyname:SchemaMetadataName
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:302
The translation pair from the Depot logical name to the database name
toFields
readonlytoFields:FieldNamePair[]
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:318
The field name correspondences as they exist in the new version of the schema
toVersion?
readonlyoptionaltoVersion?:number
Defined in: packages/depot-cdk/src/stage-depot-migration-types.ts:310
The version of the schema within the "new" state of the dataset