---
title: migrate
status: published
category: store
group: Function
author: api
date: 06/23/2023
order: 13
---<Small>Public Function</Small>




##### Parameters


<ParametersTable>

<ParametersTableRow>
<ParametersTableName>

`{ value, migrations, fromVersion, toVersion, }`

</ParametersTableName>
<ParametersTableDescription>

```ts
{
  value: unknown
  migrations: Migrations
  fromVersion: number
  toVersion: number
}
```



</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>

##### Returns


```ts
MigrationResult<T>
```

##### References

[Migrations](/gen/store/Migrations-interface), [MigrationResult](/gen/store/MigrationResult-type)

