fahadzk opened a new issue, #2408:
URL: https://github.com/apache/incubator-kie-issues/issues/2408
**Versions:** Kogito 10.2.0, Quarkus 3.18.2, PostgreSQL 14,
kie-addons-quarkus-persistence-jdbc
**Scenario:** An app on Kogito 10.0.0 created its tables through Quarkus
Flyway from db/postgresql/V1.35.0…V10.0.1, all recorded in
flyway_schema_history. After upgrading to 10.2.0:
1. With kie.flyway.enabled=false (the default),
V10.0.2__create_event_table.sql never runs, and process start fails with
relation "event_types" does not exist in GenericRepository.insertInternal.
2. With kie.flyway.enabled=true, KIE Flyway creates
kie_flyway_history_runtime_persistence with a baseline of 0.0 and reruns
V1.35.0. Startup fails with relation "process_instances" already exists.
_**Cause**: KieFlywayInitializer hardcodes baselineOnMigrate(true) and
baselineVersion("0.0"). KieFlywayQuarkusRuntimeConfig only exposes enabled and
modules.<name>.enabled._
**Request:** Add a per-module baseline setting (for example
kie.flyway.modules."runtime-persistence".baseline-version), or detect existing
tables, and document the 10.0 → 10.1+ upgrade path
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]