IDEMPIERE-5493 [Workflow Activities] - Activity persists after delete related record (#1988)

- Set Model Cascade for Record_ID column in AD_WF_Activity, AD_WF_EventAudit and AD_WF_Process
This commit is contained in:
Carlos Ruiz 2023-09-12 11:59:02 +02:00 committed by GitHub
parent c0a1756043
commit 9678c01664
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,18 @@
-- IDEMPIERE-5493 [Workflow Activities] - Activity persists after delete related record
SELECT register_migration_script('202308301811_IDEMPIERE-5493.sql') FROM dual;
SET SQLBLANKLINES ON
SET DEFINE OFF
-- Aug 30, 2023, 6:11:46 PM CEST
UPDATE AD_Column SET FKConstraintType='M',Updated=TO_TIMESTAMP('2023-08-30 18:11:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11545
;
-- Aug 30, 2023, 6:12:11 PM CEST
UPDATE AD_Column SET FKConstraintType='M',Updated=TO_TIMESTAMP('2023-08-30 18:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11683
;
-- Aug 30, 2023, 6:12:24 PM CEST
UPDATE AD_Column SET FKConstraintType='M',Updated=TO_TIMESTAMP('2023-08-30 18:12:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11549
;

View File

@ -0,0 +1,15 @@
-- IDEMPIERE-5493 [Workflow Activities] - Activity persists after delete related record
SELECT register_migration_script('202308301811_IDEMPIERE-5493.sql') FROM dual;
-- Aug 30, 2023, 6:11:46 PM CEST
UPDATE AD_Column SET FKConstraintType='M',Updated=TO_TIMESTAMP('2023-08-30 18:11:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11545
;
-- Aug 30, 2023, 6:12:11 PM CEST
UPDATE AD_Column SET FKConstraintType='M',Updated=TO_TIMESTAMP('2023-08-30 18:12:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11683
;
-- Aug 30, 2023, 6:12:24 PM CEST
UPDATE AD_Column SET FKConstraintType='M',Updated=TO_TIMESTAMP('2023-08-30 18:12:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11549
;