Skip to content

Commit

Permalink
Fix SQL scripts for MySQL.
Browse files Browse the repository at this point in the history
  • Loading branch information
baldimir committed Aug 22, 2024
1 parent 04c3ebd commit f0a5426
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
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);

0 comments on commit f0a5426

Please sign in to comment.