flowable / flowable/flowable-engine

Start with cockroachdb fails

Open
#3,140 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
7h 8m
Merged PRs (30d)
2

Description

**Describe the bug**
The startup of a flowable application fails with cockroachdb as database.

**Additional context**
If I try to start our application which uses flowable-engine 6.7.1 with a cockroachdb (v20.x and v21.x), the startup fails with the error:
`2021-12-09 09:29:48.908 ERROR 1 --- [ main] liquibase.changelog.ChangeSet : Change Set org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog-crdb.xml::13::flowable failed. Error: ERROR: column "last_unavailable_time_" of relation "act_cmmn_ru_plan_item_inst" already exists [Failed SQL: (0) ALTER TABLE public.ACT_CMMN_RU_PLAN_ITEM_INST ADD LAST_UNAVAILABLE_TIME_ TIMESTAMP(3) WITHOUT TIME ZONE]`

I see in _org/flowable/cmmn/db/liquibase/flowable-cmmn-db-changelog-crdb.xml_
the column _LAST_UNAVAILABLE_TIME__ is added in changeset 11 and changeset 13.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.