Hi,
My application database user does not have those rights to create tables, primary keys, foreign keys, indexes etc. so I’m using Liquibase to run the provided database scripts to create Flowable database objects.
I’m getting the following exception when Liquibase run the scripts from db-scripts-3.6.0.zip:
Caused by: liquibase.exception.ValidationFailedException: Validation Failed:
1 change sets check sum
org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml::1::flowable was: 7:0aaa7b01343f4cdaf1019cd2de3f98f3 but is now: 8:1b0c48c9cf7945be799d868a2626d687
- The md5 7:0aaa7b01343f4cdaf1019cd2de3f98f3 is from flowable.engine.h2.all.create.sql script:
INSERT INTO FLW_EV_DATABASECHANGELOG (ID, AUTHOR, FILENAME, DATEEXECUTED, ORDEREXECUTED, MD5SUM, DESCRIPTION, COMMENTS, EXECTYPE, CONTEXTS, LABELS, LIQUIBASE, DEPLOYMENT_ID) VALUES ('1', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', NOW(), 1, '7:0aaa7b01343f4cdaf1019cd2de3f98f3', 'createTable tableName=FLW_EVENT_DEPLOYMENT; createTable tableName=FLW_EVENT_RESOURCE; createTable tableName=FLW_EVENT_DEFINITION; createIndex indexName=ACT_IDX_EVENT_DEF_UNIQ, tableName=FLW_EVENT_DEFINITION; createTable tableName=FLW_CHANNEL_DEFIN...', '', 'EXECUTED', NULL, NULL, '3.5.3', '6093920445');
- The md5 8:1b0c48c9cf7945be799d868a2626d687 is generated by Liquibase for flowable-eventregistry-db-changelog.xml file from library org.flowable:flowable-event-registry:6.5.0.17
So for the moment I have to use flowable.databaseSchemaUpdate=none.
Do I have to use a specific version of Liquibase? Currently I’m using the one that comes as dependency from Flowable which is org.liquibase:liquibase-core:3.8.0.
Thanks,
Ovidiu