migrate
Public function
Signature
function migrate<T>({
value,
migrations,
fromVersion,
toVersion,
}: {
value: unknown
migrations: Migrations
fromVersion: number
toVersion: number
}): MigrationResult<T>
Parameters
Name | Description |
---|---|
|
|
Returns
MigrationResult<T>
References
Source