Skip to content

Commit

Permalink
MSSQL script update (Activiti#4243)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkurChauhan-131 authored Feb 10, 2023
1 parent cbcd552 commit a4a34b2
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,10 @@ alter table ACT_RU_EXECUTION add ID_LINK_COUNT_ int;

update ACT_GE_PROPERTY set VALUE_ = '6.0.0.2' where NAME_ = 'schema.version';

update ACT_RU_EXECUTION as exe set START_USER_ID_ = (select START_USER_ID_ from ACT_HI_PROCINST where PROC_INST_ID_=exe.PROC_INST_ID_);
UPDATE outerTable
SET START_USER_ID_ = innerTable.START_USER_ID_
FROM ACT_RU_EXECUTION outerTable
INNER JOIN
(
select START_USER_ID_, PROC_INST_ID_ from ACT_HI_PROCINST
) innerTable ON outerTable.PROC_INST_ID_ = innerTable.PROC_INST_ID_;

0 comments on commit a4a34b2

Please sign in to comment.