# Migrating your app model to the latest version

To continuously enhance functionality and improve user experience, new versions of UI Bakery may include app model migrations. These migrations modify the app model stored in your Git repositories. Therefore, a manual app model migration is necessary to ensure smooth development process and to prevent developers from encountering merge conflicts.

{% hint style="warning" %}
App model migration is **not strictly required but highly recommended**. If the migration is not performed immediately following an update, it will be done separately in each branch automatically.

Therefore, all developers will see similar changes in their pull requests until the migration changes are merged into the main branch and subsequently into their individual branches.
{% endhint %}

## To migrate your app model:

1. Start by creating a **new** branch named `migrate-release/0.0.0` from the `main` branch.

   The newly created branch will be automatically migrated by UI Bakery.
2. Commit the changes to the **migration** branch.
3. Create a pull request from the `migrate-release/0.0.0` branch to the `main` branch.
4. Merge the pull request into the `main` branch.
5. Switch back to the `main` branch in UI Bakery and pull the latest changes.
6. Using Git, merge the updated `main` branch into any branches under active development.
7. Go to these development branches and pull the changes.

By following this process, you will ensure that your app model is consistently up-to-date, minimizing the risk of conflicts and maintaining smooth development workflow.
