-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JBPM-10224] Missing index 'IDX_EventTypes_IdElement' with hibernate (#…
…2395) (#2409) * [JBPM-10224] Missing index 'IDX_EventTypes_IdElement' with hibernate.hbm2ddl.auto=update * [JBPM-10224] Align ddl-scripts for mysql5 and mysqlinnodb with creation of index 'IDX_EventTypes_IdElement' * [JBPM-10224] Align ddl-scripts for mysql5 and mysqlinnodb with creation of index 'IDX_EventTypes_Id' Co-authored-by: Daniele Mams <[email protected]>
- Loading branch information
1 parent
462defc
commit 3c3cf57
Showing
8 changed files
with
21 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/mysql5/jbpm-7.72-to-7.73.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
DROP INDEX IDX_EventTypes_element; | ||
DROP INDEX IDX_EventTypes_compound; | ||
CREATE INDEX IDX_EventTypes_IdElement ON EventTypes(InstanceId,element); |
5 changes: 4 additions & 1 deletion
5
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/mysql5/rhpam-7.13-to-7.13.1.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
ALTER TABLE TimerMappingInfo ADD COLUMN processInstanceId bigint; | ||
ALTER TABLE TimerMappingInfo MODIFY timerId bigint NULL; | ||
ALTER TABLE TimerMappingInfo MODIFY timerId bigint NULL; | ||
DROP INDEX IDX_EventTypes_element; | ||
DROP INDEX IDX_EventTypes_compound; | ||
CREATE INDEX IDX_EventTypes_IdElement ON EventTypes(InstanceId,element); |
3 changes: 3 additions & 0 deletions
3
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/mysqlinnodb/jbpm-7.72-to-7.73.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
DROP INDEX IDX_EventTypes_element; | ||
DROP INDEX IDX_EventTypes_compound; | ||
CREATE INDEX IDX_EventTypes_IdElement ON EventTypes(InstanceId,element); |
5 changes: 4 additions & 1 deletion
5
jbpm-db-scripts/src/main/resources/db/upgrade-scripts/mysqlinnodb/rhpam-7.13-to-7.13.1.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
ALTER TABLE TimerMappingInfo ADD COLUMN processInstanceId bigint; | ||
ALTER TABLE TimerMappingInfo MODIFY timerId bigint NULL; | ||
ALTER TABLE TimerMappingInfo MODIFY timerId bigint NULL; | ||
DROP INDEX IDX_EventTypes_element; | ||
DROP INDEX IDX_EventTypes_compound; | ||
CREATE INDEX IDX_EventTypes_IdElement ON EventTypes(InstanceId,element); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters