From e010e5c461ae7d815e83bdf2c09cda295155ac01 Mon Sep 17 00:00:00 2001 From: Dirk Niemeyer Date: Thu, 20 Aug 2015 10:24:45 -0500 Subject: [PATCH] IDEMPIERE-2778 2pack: column size for SQL statement shall be extended --- .../i2.1/oracle/201508201340_IDEMPIERE-2778.sql | 14 ++++++++++++++ .../postgresql/201508201340_IDEMPIERE-2778.sql | 11 +++++++++++ 2 files changed, 25 insertions(+) create mode 100644 migration/i2.1/oracle/201508201340_IDEMPIERE-2778.sql create mode 100644 migration/i2.1/postgresql/201508201340_IDEMPIERE-2778.sql diff --git a/migration/i2.1/oracle/201508201340_IDEMPIERE-2778.sql b/migration/i2.1/oracle/201508201340_IDEMPIERE-2778.sql new file mode 100644 index 0000000000..99bc783923 --- /dev/null +++ b/migration/i2.1/oracle/201508201340_IDEMPIERE-2778.sql @@ -0,0 +1,14 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- IDEMPIERE-2778 2pack: column size for SQL statement shall be extended +-- Aug 20, 2015 3:37:36 PM CEST +UPDATE AD_Column SET FieldLength=4000,Updated=TO_DATE('2015-08-20 15:37:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=50122 +; + +-- Aug 20, 2015 3:37:48 PM CEST +ALTER TABLE AD_Package_Exp_Detail MODIFY SQLStatement VARCHAR2(4000) DEFAULT NULL +; + +SELECT register_migration_script('201508201340_IDEMPIERE-2778.sql') FROM dual +; diff --git a/migration/i2.1/postgresql/201508201340_IDEMPIERE-2778.sql b/migration/i2.1/postgresql/201508201340_IDEMPIERE-2778.sql new file mode 100644 index 0000000000..9839283cfc --- /dev/null +++ b/migration/i2.1/postgresql/201508201340_IDEMPIERE-2778.sql @@ -0,0 +1,11 @@ +-- IDEMPIERE-2778 2pack: column size for SQL statement shall be extended +-- Aug 20, 2015 3:37:36 PM CEST +UPDATE AD_Column SET FieldLength=4000,Updated=TO_TIMESTAMP('2015-08-20 15:37:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=50122 +; + +-- Aug 20, 2015 3:37:48 PM CEST +INSERT INTO t_alter_column values('ad_package_exp_detail','SQLStatement','VARCHAR(4000)',null,'NULL') +; + +SELECT register_migration_script('201508201340_IDEMPIERE-2778.sql') FROM dual +;