From 6f5d7edf8790d19f60ed700d619ad62455ecb6ab Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Mon, 7 Feb 2022 10:45:44 +0100 Subject: [PATCH] IDEMPIERE-5168 column AD_AuthorizationAccount.AccessToken is short on some case (#1165) Fix ORA-22858: invalid alteration of datatype --- migration/i9/oracle/202201302336_IDEMPIERE-5168.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/migration/i9/oracle/202201302336_IDEMPIERE-5168.sql b/migration/i9/oracle/202201302336_IDEMPIERE-5168.sql index 5ae94d2f55..cf89f3eb58 100644 --- a/migration/i9/oracle/202201302336_IDEMPIERE-5168.sql +++ b/migration/i9/oracle/202201302336_IDEMPIERE-5168.sql @@ -23,6 +23,9 @@ UPDATE AD_Column SET FieldLength=0, AD_Reference_ID=14,Updated=TO_DATE('2022-01- ; -- Jan 30, 2022, 11:33:02 PM CET +ALTER TABLE AD_AuthorizationAccount MODIFY AccessToken LONG DEFAULT NULL +; + ALTER TABLE AD_AuthorizationAccount MODIFY AccessToken CLOB DEFAULT NULL ;