migrateRecord
Public function
Signature
function migrateRecord<R extends UnknownRecord>({
record,
migrations,
fromVersion,
toVersion,
}: {
record: unknown
migrations: Migrations
fromVersion: number
toVersion: number
}): MigrationResult<R>
Parameters
Name | Description |
---|---|
|
|
Returns
MigrationResult<R>
References
UnknownRecord, Migrations, MigrationResult
Source