From 2727437688f1fc4ce7609ad062d1136912548582 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 6 Feb 2024 23:15:37 +0100 Subject: [PATCH] IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - fix oracle migration script (#2228) * IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - fix oracle migration script * - same fix for t_selection_infowindow --- migration/iD11/oracle/202304060001_IDEMPIERE-5567.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migration/iD11/oracle/202304060001_IDEMPIERE-5567.sql b/migration/iD11/oracle/202304060001_IDEMPIERE-5567.sql index d3a1e152e9..00a1399c1c 100644 --- a/migration/iD11/oracle/202304060001_IDEMPIERE-5567.sql +++ b/migration/iD11/oracle/202304060001_IDEMPIERE-5567.sql @@ -8,7 +8,7 @@ SET DEFINE OFF INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','UUID based table is not compatible with Record_ID',0,0,'Y',TO_TIMESTAMP('2023-04-06 00:01:13','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2023-04-06 00:01:13','YYYY-MM-DD HH24:MI:SS'),100,200830,'UUTableNotCompatibleWithRecordID','D','5b220b22-2a21-493c-81f0-877dbc083874') ; -ALTER TABLE t_selection ADD t_selection_uu VARCHAR2(36 CHAR) DEFAULT '' NOT NULL; +ALTER TABLE t_selection ADD t_selection_uu VARCHAR2(36 CHAR) DEFAULT ' ' NOT NULL; ALTER TABLE T_SELECTION MODIFY T_SELECTION_ID DEFAULT 0; @@ -18,7 +18,7 @@ DROP INDEX t_selection_key; ALTER TABLE t_selection ADD CONSTRAINT t_selection_pkey PRIMARY KEY (ad_pinstance_id, t_selection_id, t_selection_uu); -ALTER TABLE t_selection_infowindow ADD t_selection_uu VARCHAR2(36 CHAR) DEFAULT '' NOT NULL; +ALTER TABLE t_selection_infowindow ADD t_selection_uu VARCHAR2(36 CHAR) DEFAULT ' ' NOT NULL; ALTER TABLE t_selection_infowindow MODIFY t_selection_id DEFAULT 0;