跳转到内容
简体中文

MigrationStep

此内容尚不支持你的语言。

Defined in: src/persistence/migration/MigrationChain.ts:10

One step in an upcaster pipeline — a pure function that maps a payload at version fromVersion to one at version toVersion. Steps are normally consecutive (fromVersion + 1 === toVersion); larger jumps are allowed but rare.

From = unknown

To = unknown

readonly fromVersion: number

Defined in: src/persistence/migration/MigrationChain.ts:11


readonly toVersion: number

Defined in: src/persistence/migration/MigrationChain.ts:12

upcast(from): To

Defined in: src/persistence/migration/MigrationChain.ts:13

From

To