From f79adff68ce1ca8e7dee766e8e8f96dab61b9d51 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 21 Sep 2023 11:51:06 +0200 Subject: [PATCH] IDEMPIERE-5346 SSO Support - fixes for oracle (#2019) --- migration/iD11/oracle/202303281510_IDEMPIERE-5346.sql | 5 +++-- migration/iD11/oracle/202307111656_IDEMPIERE-5346.sql | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/migration/iD11/oracle/202303281510_IDEMPIERE-5346.sql b/migration/iD11/oracle/202303281510_IDEMPIERE-5346.sql index 9d5b58298d..8ebd4af669 100644 --- a/migration/iD11/oracle/202303281510_IDEMPIERE-5346.sql +++ b/migration/iD11/oracle/202303281510_IDEMPIERE-5346.sql @@ -21,11 +21,11 @@ INSERT INTO AD_Ref_List (AD_Ref_List_ID,Name,AD_Reference_ID,Value,AD_Client_ID, ; -- Mar 28, 2023, 3:14:19 PM IST -INSERT INTO AD_Ref_List (AD_Ref_List_ID,Name,AD_Reference_ID,Value,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,EntityType,AD_Ref_List_UU) VALUES (200633,'Application Only',200239,'FBK',0,0,'Y',TO_TIMESTAMP('2023-03-28 15:14:18','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2023-03-28 15:14:18','YYYY-MM-DD HH24:MI:SS'),100,'D','32f2269c-8c71-40f1-a128-d6f805030a69') +INSERT INTO AD_Ref_List (AD_Ref_List_ID,Name,AD_Reference_ID,Value,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,EntityType,AD_Ref_List_UU) VALUES (200633,'Application Only',200239,'APO',0,0,'Y',TO_TIMESTAMP('2023-03-28 15:14:18','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2023-03-28 15:14:18','YYYY-MM-DD HH24:MI:SS'),100,'D','32f2269c-8c71-40f1-a128-d6f805030a69') ; -- Mar 28, 2023, 3:16:08 PM IST -INSERT INTO AD_Ref_List (AD_Ref_List_ID,Name,AD_Reference_ID,Value,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,EntityType,AD_Ref_List_UU) VALUES (200634,'Application and SSO',200239,'APO',0,0,'Y',TO_TIMESTAMP('2023-03-28 15:16:08','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2023-03-28 15:16:08','YYYY-MM-DD HH24:MI:SS'),100,'D','7cd3af94-1e49-4d9f-9e33-dbdc0dfce7bb') +INSERT INTO AD_Ref_List (AD_Ref_List_ID,Name,AD_Reference_ID,Value,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,EntityType,AD_Ref_List_UU) VALUES (200634,'Application and SSO',200239,'AAS',0,0,'Y',TO_TIMESTAMP('2023-03-28 15:16:08','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2023-03-28 15:16:08','YYYY-MM-DD HH24:MI:SS'),100,'D','7cd3af94-1e49-4d9f-9e33-dbdc0dfce7bb') ; -- Mar 28, 2023, 3:16:21 PM IST @@ -55,3 +55,4 @@ INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,Displa -- May 22, 2023, 2:49:38 PM IST UPDATE AD_Field SET SeqNo=240, XPosition=1,Updated=TO_TIMESTAMP('2023-05-22 14:49:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=207626 ; + diff --git a/migration/iD11/oracle/202307111656_IDEMPIERE-5346.sql b/migration/iD11/oracle/202307111656_IDEMPIERE-5346.sql index 5cc9583aa3..b82c419fa0 100644 --- a/migration/iD11/oracle/202307111656_IDEMPIERE-5346.sql +++ b/migration/iD11/oracle/202307111656_IDEMPIERE-5346.sql @@ -62,6 +62,6 @@ ALTER TABLE sso_principalconfig RENAME CONSTRAINT sso_principleconfig_key TO sso ALTER TABLE sso_principalconfig RENAME CONSTRAINT sso_principleconfig_uu_idx TO sso_principalconfig_uu_idx; -ALTER TABLE sso_principalconfig RENAME CONSTRAINT sso_principleconfig_isactive_check TO sso_principalconfig_isactive_check; - -ALTER TABLE sso_principalconfig RENAME CONSTRAINT sso_principleconfig_isdefault_check TO sso_principalconfig_isdefault_check; \ No newline at end of file +-- constraint names have random name in oracle +-- ALTER TABLE sso_principalconfig RENAME CONSTRAINT sso_principleconfig_isactive_check TO sso_principalconfig_isactive_check; +-- ALTER TABLE sso_principalconfig RENAME CONSTRAINT sso_principleconfig_isdefault_check TO sso_principalconfig_isdefault_check;