From a1ba81cec62a54e1b89527503f5c81ce9ffc699f Mon Sep 17 00:00:00 2001 From: Pralav Singh Date: Mon, 30 Nov 2026 15:14:09 +0530 Subject: [PATCH] docs: clarify schema upgrades when migrating from Camunda --- .../update/camunda-to-operaton.md | 42 ++++++++++--------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/docs/documentation/update/camunda-to-operaton.md b/docs/documentation/update/camunda-to-operaton.md index ab197bd6..6e2fd89e 100644 --- a/docs/documentation/update/camunda-to-operaton.md +++ b/docs/documentation/update/camunda-to-operaton.md @@ -7,24 +7,24 @@ sidebar_position: 10 # Migration Guide from Camunda 7 CE to Operaton -Operaton is a fork of the Camunda 7 platform. It is API-compatible and -schema-compatible with **Camunda 7.24**: the database schema and the REST API have -been adopted from Camunda 7.24 and are kept in sync. As a result, migrating an -existing Camunda 7 CE application to Operaton requires no data conversion — you -update your code dependencies and run Operaton against your existing database. +Operaton is a fork of the Camunda 7 platform and adopts the database schema and +REST API from **Camunda 7.24**. Migrating an existing Camunda 7 CE application to +Operaton requires no data conversion. You update your code dependencies and +prepare your existing database for the target Operaton version before starting +the runtime. A migration consists of two independent parts: -1. **[Runtime data](#runtime-data)** — your engine database. No schema migration - is needed; you point Operaton at the database you already have. +1. **[Runtime data](#runtime-data)** — reuse your engine database and apply any + schema updates required by the target Operaton version. 2. **[Application code](#application-code)** — your Java sources and build files. An [OpenRewrite](https://docs.openrewrite.org/) recipe automates this. ## Prerequisites - **Upgrade your existing application to Camunda 7.24 first**, then migrate to - Operaton. Operaton tracks Camunda 7.24, so this keeps the schema and API at the - expected level and makes the switch a one-step change. Follow the + Operaton. This provides a common starting point for the schema and API before + applying any Operaton-specific updates. Follow the [Camunda 7 update guide](https://docs.camunda.org/manual/7.24/update/) to reach 7.24. - **Java 17 or later.** Operaton requires Java 17 as a minimum and is tested on @@ -32,20 +32,23 @@ A migration consists of two independent parts: ## Runtime data -Because the Operaton schema is identical to the Camunda 7.24 schema, there is -**no database migration to perform**: +Your existing engine data can be reused without data conversion. The required +schema version depends on the target Operaton release: - Database tables keep the `ACT_` prefix — no tables are renamed. -- Once your application runs on Camunda 7.24, its database is already at the - schema level Operaton expects. -- Operaton 2.2 and later use schema version 7.25. It has the same tables, - columns and indexes as 7.24. Run the `_engine_7.24_to_7.25.sql` - upgrade script so that `ACT_GE_SCHEMA_LOG` records the matching version. See - [Database schema](../installation/database-schema.md). +- Operaton 1.0, 1.1, 2.0, and 2.1 use schema version 7.24. No schema upgrade is + needed when switching from Camunda 7.24 to these releases. +- Operaton 2.2 uses schema version 7.25. It has the same tables, columns and + indexes as 7.24. Run the `_engine_7.24_to_7.25.sql` upgrade script or + apply the Liquibase changelog so that `ACT_GE_SCHEMA_LOG` records the matching + version. Follow the [schema update procedure](../installation/database-schema.md#update). - Already-deployed BPMN, DMN, and CMMN models continue to work. The engine accepts both the `operaton:` and the legacy `camunda:` extension namespaces, so process definitions deployed under Camunda remain valid. +Check the [schema version mapping](../user-guide/process-engine/database/database-schema/index.md#schema-version-mapping) +for the Operaton release you are migrating to. + :::warning[Back up your database first] Always create a backup of your database before switching the runtime, so you can roll back if needed. @@ -54,8 +57,9 @@ roll back if needed. To switch the runtime: 1. Stop the Camunda application. -2. Start Operaton configured against the **same datasource**. No schema upgrade - scripts need to be run as part of the Camunda-to-Operaton switch. +2. Apply any schema updates required by the target Operaton release, as described + above. +3. Start Operaton configured against the **same datasource**. ## Application code