Skip to content

Commit

Permalink
[JBPM-9503] Duplicate correlationkey for 2 active process instances
Browse files Browse the repository at this point in the history
  • Loading branch information
elguardian committed Dec 11, 2020
1 parent 01dc250 commit ef55b48
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,8 @@
foreign key (correlationKey_keyId)
references CorrelationKeyInfo;

alter table CorrelationKeyInfo add constraint IDX_CorrelationKeyInfo_name unique (name);

alter table Deadline
add constraint FK_68w742sge00vco2cq3jhbvmgx
foreign key (Deadlines_StartDeadLine_Id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,8 @@
foreign key (correlationKey_keyId)
references CorrelationKeyInfo;

alter table CorrelationKeyInfo add constraint IDX_CorrelationKeyInfo_name unique (name);

alter table Deadline
add constraint FK_68w742sge00vco2cq3jhbvmgx
foreign key (Deadlines_StartDeadLine_Id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,8 @@
foreign key (correlationKey_keyId)
references CorrelationKeyInfo;

alter table CorrelationKeyInfo add constraint IDX_CorrelationKeyInfo_name unique (name);

alter table Deadline
add constraint FK_68w742sge00vco2cq3jhbvmgx
foreign key (Deadlines_StartDeadLine_Id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,8 @@
foreign key (correlationKey_keyId)
references CorrelationKeyInfo;

alter table CorrelationKeyInfo add constraint IDX_CorrelationKeyInfo_name unique (name);

alter table Deadline
add constraint FK_68w742sge00vco2cq3jhbvmgx
foreign key (Deadlines_StartDeadLine_Id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,8 @@
foreign key (correlationKey_keyId)
references CorrelationKeyInfo (keyId);

alter table CorrelationKeyInfo add constraint IDX_CorrelationKeyInfo_name unique (name);

alter table Deadline
add index IDX_Deadline_StartId (Deadlines_StartDeadLine_Id),
add constraint FK_68w742sge00vco2cq3jhbvmgx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,8 @@
foreign key (correlationKey_keyId)
references CorrelationKeyInfo (keyId);

alter table CorrelationKeyInfo add constraint IDX_CorrelationKeyInfo_name unique (name);

alter table Deadline
add index IDX_Deadline_StartId (Deadlines_StartDeadLine_Id),
add constraint FK_68w742sge00vco2cq3jhbvmgx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,8 @@
foreign key (correlationKey_keyId)
references CorrelationKeyInfo;

alter table CorrelationKeyInfo add constraint IDX_CorrelationKeyInfo_name unique (name);

alter table Deadline
add constraint FK_68w742sge00vco2cq3jhbvmgx
foreign key (Deadlines_StartDeadLine_Id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,8 @@
foreign key (correlationKey_keyId)
references CorrelationKeyInfo;

alter table CorrelationKeyInfo add constraint IDX_CorrelationKeyInfo_name unique (name);

alter table Deadline
add constraint FK_68w742sge00vco2cq3jhbvmgx
foreign key (Deadlines_StartDeadLine_Id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,8 @@
foreign key (correlationKey_keyId)
references CorrelationKeyInfo;

alter table CorrelationKeyInfo add constraint IDX_CorrelationKeyInfo_name unique (name);

alter table Deadline
add constraint FK_68w742sge00vco2cq3jhbvmgx
foreign key (Deadlines_StartDeadLine_Id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,8 @@
foreign key (correlationKey_keyId)
references CorrelationKeyInfo;

alter table CorrelationKeyInfo add constraint IDX_CorrelationKeyInfo_name unique (name);

alter table Deadline
add constraint FK_68w742sge00vco2cq3jhbvmgx
foreign key (Deadlines_StartDeadLine_Id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,9 @@
references CorrelationKeyInfo
go

alter table CorrelationKeyInfo add constraint IDX_CorrelationKeyInfo_name unique (name)
go

alter table Deadline
add constraint FK21DF3E78A9FE0EF4
foreign key (Deadlines_StartDeadLine_Id)
Expand Down

0 comments on commit ef55b48

Please sign in to comment.