From 6fb4ebbf2f5120b83b6d382cc263999cdb309bf5 Mon Sep 17 00:00:00 2001 From: lHeidbreder <79985645+lHeidbreder@users.noreply.github.com> Date: Tue, 31 Aug 2021 14:11:56 +0200 Subject: [PATCH] IDEMPIERE-1575 Increase some columns length AD_ImpFormat_Row.Callout (#852) * addendum to IDEMPIERE-1575 with regards to IDEMPIERE-4724 * Regenerated scripts, added register line and increased the size up to 4k to safely accomodate multiple callouts Co-authored-by: mschnbeck --- .../i8.2z/oracle/202108301100_IDEMPIERE-1575.sql | 14 ++++++++++++++ .../postgresql/202108301100_IDEMPIERE-1575.sql | 11 +++++++++++ 2 files changed, 25 insertions(+) create mode 100644 migration/i8.2z/oracle/202108301100_IDEMPIERE-1575.sql create mode 100644 migration/i8.2z/postgresql/202108301100_IDEMPIERE-1575.sql diff --git a/migration/i8.2z/oracle/202108301100_IDEMPIERE-1575.sql b/migration/i8.2z/oracle/202108301100_IDEMPIERE-1575.sql new file mode 100644 index 0000000000..869bd0da52 --- /dev/null +++ b/migration/i8.2z/oracle/202108301100_IDEMPIERE-1575.sql @@ -0,0 +1,14 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- IDEMPIERE-1575 with regards to IDEMPIERE-4724 +-- 31.08.2021, 08:57:56 MESZ +UPDATE AD_Column SET FieldLength=4000,Updated=TO_DATE('2021-08-31 08:57:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4704 +; + +-- 31.08.2021, 08:58:02 MESZ +ALTER TABLE AD_ImpFormat_Row MODIFY Callout VARCHAR2(4000 CHAR) DEFAULT NULL +; + +SELECT register_migration_script('202108301100_IDEMPIERE-1575.sql') FROM dual +; diff --git a/migration/i8.2z/postgresql/202108301100_IDEMPIERE-1575.sql b/migration/i8.2z/postgresql/202108301100_IDEMPIERE-1575.sql new file mode 100644 index 0000000000..18b0ba5150 --- /dev/null +++ b/migration/i8.2z/postgresql/202108301100_IDEMPIERE-1575.sql @@ -0,0 +1,11 @@ +-- IDEMPIERE-1575 with regards to IDEMPIERE-4724 +-- 31.08.2021, 08:57:56 MESZ +UPDATE AD_Column SET FieldLength=4000,Updated=TO_TIMESTAMP('2021-08-31 08:57:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4704 +; + +-- 31.08.2021, 08:58:02 MESZ +INSERT INTO t_alter_column values('ad_impformat_row','Callout','VARCHAR(4000)',null,'NULL') +; + +SELECT register_migration_script('202108301100_IDEMPIERE-1575.sql') FROM dual +;