Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JBPM-9503] Duplicate correlationkey for 2 active process instances #1816

Merged
merged 1 commit into from
Dec 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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