You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "gmunozfe (via GitHub)" <gi...@apache.org> on 2024/04/25 15:23:24 UTC

Re: [PR] [Fix #3480] Changing jsonb to varchar [incubator-kie-kogito-runtimes]

gmunozfe commented on code in PR #3484:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/3484#discussion_r1579702938


##########
addons/common/persistence/jdbc/src/main/resources/db/ansi/V1.35.0__create_runtime_ansi.sql:
##########
@@ -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,

Review Comment:
   I guess you rounded up from a blob that it's strictly 65535 bytes.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org