This is an automated email from the ASF dual-hosted git repository. jstastnycz pushed a commit to branch sync-20250907 in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-apps.git
commit d3cad194a6bedbcf5c430d28420a38766738c8d8 Author: Deepak Joseph <[email protected]> AuthorDate: Tue Aug 12 17:28:20 2025 +0530 [DBACLD-188379] Add missing KIE Flyway migration scripts Part 2 (#25) --- ..._state_retriggered_event_type_check_bamoe930.sql | 21 +++++++++++++++++++++ ..._state_retriggered_event_type_check_bamoe930.sql | 21 +++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/data-audit/kogito-addons-data-audit-jpa/kogito-addons-data-audit-jpa-common/src/main/resources/kie-flyway/db/data-audit/microsoft-sql-server/V1.4.3__Add_process_instance_state_retriggered_event_type_check_bamoe930.sql b/data-audit/kogito-addons-data-audit-jpa/kogito-addons-data-audit-jpa-common/src/main/resources/kie-flyway/db/data-audit/microsoft-sql-server/V1.4.3__Add_process_instance_state_retriggered_event_type_check_bamoe930.sql new file mode 100644 index 000000000..b379276c3 --- /dev/null +++ b/data-audit/kogito-addons-data-audit-jpa/kogito-addons-data-audit-jpa-common/src/main/resources/kie-flyway/db/data-audit/microsoft-sql-server/V1.4.3__Add_process_instance_state_retriggered_event_type_check_bamoe930.sql @@ -0,0 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +alter table Process_Instance_State_Log drop constraint Process_Instance_State_Log_event_type_check; +alter table Process_Instance_State_Log add constraint Process_Instance_State_Log_event_type_check CHECK (event_type IN ('ACTIVE','COMPLETED','SLA_VIOLATION','MIGRATED','STATE_UPDATED','RETRIGGERED')); diff --git a/data-audit/kogito-addons-data-audit-jpa/kogito-addons-data-audit-jpa-common/src/main/resources/kie-flyway/db/data-audit/oracle/V1.4.3__Add_process_instance_state_retriggered_event_type_check_bamoe930.sql b/data-audit/kogito-addons-data-audit-jpa/kogito-addons-data-audit-jpa-common/src/main/resources/kie-flyway/db/data-audit/oracle/V1.4.3__Add_process_instance_state_retriggered_event_type_check_bamoe930.sql new file mode 100644 index 000000000..b379276c3 --- /dev/null +++ b/data-audit/kogito-addons-data-audit-jpa/kogito-addons-data-audit-jpa-common/src/main/resources/kie-flyway/db/data-audit/oracle/V1.4.3__Add_process_instance_state_retriggered_event_type_check_bamoe930.sql @@ -0,0 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +alter table Process_Instance_State_Log drop constraint Process_Instance_State_Log_event_type_check; +alter table Process_Instance_State_Log add constraint Process_Instance_State_Log_event_type_check CHECK (event_type IN ('ACTIVE','COMPLETED','SLA_VIOLATION','MIGRATED','STATE_UPDATED','RETRIGGERED')); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
