IDEMPIERE-1575 Increase some columns length (#475)

AD_Rule.Script -> 4000
AD_ChangeLog.TrxName -> 1000
AD_SysConfig.Value -> 4000
This commit is contained in:
Carlos Ruiz 2020-12-20 07:27:00 +01:00 committed by GitHub
parent b80ed34d9c
commit 73588b43f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 59 additions and 0 deletions

View File

@ -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
;

View File

@ -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
;