# Disable keycloak migrations

**URL:** <https://forum.keycloak.org/t/disable-keycloak-migrations/7357>\
**Category:** Configuring the server\
**Tags:** database\
**Created:** [February 12, 2021, 1:07pm UTC](https://forum.keycloak.org/t/disable-keycloak-migrations/7357 "2021-02-12T13:07:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmr](https://avatars.discourse-cdn.com/v4/letter/t/7ab992/32.png) [@tmr](https://forum.keycloak.org/u/tmr)\
**Post date:** [February 12, 2021, 1:07pm UTC](https://forum.keycloak.org/t/disable-keycloak-migrations/7357/1 "2021-02-12T13:07:21Z")

</div>

We have a project wide standard for doing migrations on the project, I have therefor made a migration based on an automatic initialization of keycloak (using generateChangelog). This is being applied to the database during start up of a new keycloak deploy. However during initialization keycloak will then try to apply the migrations from keycloak-model-jpa, however since this migrations are already applied in the migration file I made and initialized the database from, it fails.

How can i disable JpaUpdaterProvider to prevent it from trying to apply these migrations?

---

<div class="post-metadata">

**Author:** ![dasniko](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/dasniko/32/2969_2.png) [@dasniko](https://forum.keycloak.org/u/dasniko)\
**Post date:** [February 14, 2021, 4:09pm UTC](https://forum.keycloak.org/t/disable-keycloak-migrations/7357/2 "2021-02-14T16:09:22Z")

</div>

You are looking for “migration strategy” here: [Server Installation and Configuration Guide](https://www.keycloak.org/docs/latest/server_installation/index.html#database-configuration)
