forked from apache/incubator-kie-kogito-runtimes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [Fix apache#3469 Fix apache#3480] Changing jsonb to varchar * [Fix apache#3480] Change blob to varbinary for ansi
- Loading branch information
1 parent
92c33c5
commit 0ac6c2e
Showing
7 changed files
with
28 additions
and
29 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
10 changes: 5 additions & 5 deletions
10
addons/common/persistence/jdbc/src/main/resources/db/ansi/V1.35.0__create_runtime_ansi.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,10 +1,10 @@ | ||
CREATE TABLE process_instances | ||
( | ||
id CHAR(36) NOT NULL, | ||
payload BLOB NOT NULL, | ||
process_id VARCHAR(4000) NOT NULL, | ||
version BIGINT(19), | ||
process_version VARCHAR(4000), | ||
id character(36) NOT NULL, | ||
payload varbinary(1000000) NOT NULL, | ||
process_id character varying(4000) NOT NULL, | ||
version bigint, | ||
process_version character varying(4000), | ||
CONSTRAINT process_instances_pkey PRIMARY KEY (id) | ||
); | ||
CREATE INDEX idx_process_instances_process_id ON process_instances (process_id, id, process_version); |
9 changes: 9 additions & 0 deletions
9
...s/common/persistence/jdbc/src/main/resources/db/ansi/V10.0.1__create_correlation_ansi.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,9 @@ | ||
CREATE TABLE correlation_instances | ||
( | ||
id character(36) NOT NULL, | ||
encoded_correlation_id character varying(36) NOT NULL UNIQUE, | ||
correlated_id character varying(36) NOT NULL, | ||
correlation character varying(8000) NOT NULL, | ||
version bigint, | ||
CONSTRAINT correlation_instances_pkey PRIMARY KEY (id) | ||
); |
2 changes: 2 additions & 0 deletions
2
...rsistence/jdbc/src/main/resources/db/postgresql/V10.0.1__alter_correlation_PostgreSQL.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,2 @@ | ||
ALTER TABLE correlation_instances | ||
ALTER COLUMN correlation TYPE character varying; |
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