Search code examples
springspring-bootdatabase-schemacamunda

Can the automatic db schema update process inside camunda spring boot starter still be used if updating a schema with liquibase is required?


We have a spring web app which uses camunda spring boot starter (version 7.18). We want to leverage the automatic db schema updates from camunda and have our own schema updates via liquibase.

Judging from the official documentation camunda is using liquibase internally as well. So we are unsure on how to achieve the goal of having automatic schema updates from camunda (say when we upgrage 7.18 -> 7.19) and at the same time cover any of the schema updates we would like to track in liquibase as well.


Solution

  • Camunda does not perform automatic schema upgrades when you switch versions. (Only automatic schema creation, which is supposed to be disabled when working with Liquibase according to docs). For schema upgrades you chose either the

    (It looks like there have been no recent schema upgrades between patch levels for 2 years: https://docs.camunda.org/manual/7.18/installation/database-schema/#patch-level-update)