diff --git a/migration/i8.1z/oracle/202012181642_IDEMPIERE-1575.sql b/migration/i8.1z/oracle/202012181642_IDEMPIERE-1575.sql new file mode 100644 index 0000000000..3c5ac7cbb0 --- /dev/null +++ b/migration/i8.1z/oracle/202012181642_IDEMPIERE-1575.sql @@ -0,0 +1,31 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- IDEMPIERE-1575 Increase some columns length +-- Dec 18, 2020, 4:40:22 PM CET +UPDATE AD_Column SET FieldLength=4000,Updated=TO_DATE('2020-12-18 16:40:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54257 +; + +-- Dec 18, 2020, 4:40:26 PM CET +ALTER TABLE AD_Rule MODIFY Script VARCHAR2(4000 CHAR) DEFAULT NULL +; + +-- Dec 18, 2020, 4:41:04 PM CET +UPDATE AD_Column SET FieldLength=1000, SeqNoSelection=10,Updated=TO_DATE('2020-12-18 16:41:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=13024 +; + +-- Dec 18, 2020, 4:41:09 PM CET +ALTER TABLE AD_ChangeLog MODIFY TrxName VARCHAR2(1000 CHAR) DEFAULT NULL +; + +-- Dec 18, 2020, 4:41:40 PM CET +UPDATE AD_Column SET FieldLength=4000, SeqNoSelection=10,Updated=TO_DATE('2020-12-18 16:41:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=50196 +; + +-- Dec 18, 2020, 4:41:46 PM CET +ALTER TABLE AD_SysConfig MODIFY Value VARCHAR2(4000 CHAR) +; + +SELECT register_migration_script('202012181642_IDEMPIERE-1575.sql') FROM dual +; + diff --git a/migration/i8.1z/postgresql/202012181642_IDEMPIERE-1575.sql b/migration/i8.1z/postgresql/202012181642_IDEMPIERE-1575.sql new file mode 100644 index 0000000000..a6ba76add2 --- /dev/null +++ b/migration/i8.1z/postgresql/202012181642_IDEMPIERE-1575.sql @@ -0,0 +1,28 @@ +-- IDEMPIERE-1575 Increase some columns length +-- Dec 18, 2020, 4:37:11 PM CET +UPDATE AD_Column SET FieldLength=4000,Updated=TO_TIMESTAMP('2020-12-18 16:40:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54257 +; + +-- Dec 18, 2020, 4:40:26 PM CET +INSERT INTO t_alter_column values('ad_rule','Script','VARCHAR(4000)',null,'NULL') +; + +-- Dec 18, 2020, 4:41:04 PM CET +UPDATE AD_Column SET FieldLength=1000, SeqNoSelection=10,Updated=TO_TIMESTAMP('2020-12-18 16:41:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=13024 +; + +-- Dec 18, 2020, 4:41:09 PM CET +INSERT INTO t_alter_column values('ad_changelog','TrxName','VARCHAR(1000)',null,'NULL') +; + +-- Dec 18, 2020, 4:41:40 PM CET +UPDATE AD_Column SET FieldLength=4000, SeqNoSelection=10,Updated=TO_TIMESTAMP('2020-12-18 16:41:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=50196 +; + +-- Dec 18, 2020, 4:41:46 PM CET +INSERT INTO t_alter_column values('ad_sysconfig','Value','VARCHAR(4000)',null,null) +; + +SELECT register_migration_script('202012181642_IDEMPIERE-1575.sql') FROM dual +; +