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] Change blob to varbinary for ansi
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
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, | ||
payload VARBINARY(1000000) NOT NULL, | ||
process_id character varying(4000) NOT NULL, | ||
version BIGINT(19), | ||
process_version VARCHAR(4000), | ||
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); |
2 changes: 1 addition & 1 deletion
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
ALTER TABLE correlation_instances | ||
ALTER COLUMN correlation TYPE character varying(10485760); | ||
ALTER COLUMN correlation TYPE character varying; |