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

Fix SQL scripts for MySQL. #2440

Merged
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
);

create table TimerMappingInfo (
id bigint generated not null auto_increment,
id bigint not null auto_increment,
externalTimerId varchar(255),
kieSessionId bigint not null,
processInstanceId bigint,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

create table TimerMappingInfo (
id bigint generated not null auto_increment,
id bigint not null auto_increment,
externalTimerId varchar(255),
kieSessionId bigint not null,
timerId bigint not null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
DROP INDEX IDX_EventTypes_element;
DROP INDEX IDX_EventTypes_compound;
DROP INDEX IDX_EventTypes_element on EventTypes;
DROP INDEX IDX_EventTypes_compound on EventTypes;
CREATE INDEX IDX_EventTypes_IdElement ON EventTypes(InstanceId,element);
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ALTER TABLE TaskEvent ADD COLUMN currentOwner varchar(255);
alter table NodeInstanceLog add column observation varchar(255);

create table TimerMappingInfo (
id bigint generated not null auto_increment,
id bigint not null auto_increment,
externalTimerId varchar(255),
kieSessionId bigint not null,
timerId bigint not null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ALTER TABLE TimerMappingInfo ADD COLUMN processInstanceId bigint;
ALTER TABLE TimerMappingInfo MODIFY timerId bigint NULL;
DROP INDEX IDX_EventTypes_element;
DROP INDEX IDX_EventTypes_compound;
DROP INDEX IDX_EventTypes_element on EventTypes;
DROP INDEX IDX_EventTypes_compound on EventTypes ;
CREATE INDEX IDX_EventTypes_IdElement ON EventTypes(InstanceId,element);
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
DROP INDEX IDX_EventTypes_element;
DROP INDEX IDX_EventTypes_compound;
DROP INDEX IDX_EventTypes_element on EventTypes;
DROP INDEX IDX_EventTypes_compound on EventTypes;
CREATE INDEX IDX_EventTypes_IdElement ON EventTypes(InstanceId,element);
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ALTER TABLE TimerMappingInfo ADD COLUMN processInstanceId bigint;
ALTER TABLE TimerMappingInfo MODIFY timerId bigint NULL;
DROP INDEX IDX_EventTypes_element;
DROP INDEX IDX_EventTypes_compound;
DROP INDEX IDX_EventTypes_element on EventTypes;
DROP INDEX IDX_EventTypes_compound on EventTypes;
CREATE INDEX IDX_EventTypes_IdElement ON EventTypes(InstanceId,element);
Loading