From 0a597943f5c66bf4d8412fbc1736f08040c5ca7c Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 10 Nov 2020 03:03:16 +0100 Subject: [PATCH] IDEMPIERE-1117 Attachment -> Disable preview over certain size (#366) * IDEMPIERE-1117 Attachment -> Disable preview over certain size Add message Preview * IDEMPIERE-1117 Attachment -> Disable preview over certain size Move to correct folder --- .../i8.1z/oracle/202011092042_IDEMPIERE-1117.sql | 11 +++++++++++ .../i8.1z/postgresql/202011092042_IDEMPIERE-1117.sql | 8 ++++++++ 2 files changed, 19 insertions(+) create mode 100644 migration/i8.1z/oracle/202011092042_IDEMPIERE-1117.sql create mode 100644 migration/i8.1z/postgresql/202011092042_IDEMPIERE-1117.sql diff --git a/migration/i8.1z/oracle/202011092042_IDEMPIERE-1117.sql b/migration/i8.1z/oracle/202011092042_IDEMPIERE-1117.sql new file mode 100644 index 0000000000..51cc6765c5 --- /dev/null +++ b/migration/i8.1z/oracle/202011092042_IDEMPIERE-1117.sql @@ -0,0 +1,11 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- IDEMPIERE-1117 Attachment -> Disable preview over certain size +-- 11.2020.09 20:42:00 +INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','Preview',0,0,'Y',TO_DATE('2020-11-09 20:42:00','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-11-09 20:42:00','YYYY-MM-DD HH24:MI:SS'),100,200651,'Preview','D','ee9dfe12-97b3-41fb-8449-e47dbb6d5fe2') +; + +SELECT register_migration_script('202011092042_IDEMPIERE-1117.sql') FROM dual +; + diff --git a/migration/i8.1z/postgresql/202011092042_IDEMPIERE-1117.sql b/migration/i8.1z/postgresql/202011092042_IDEMPIERE-1117.sql new file mode 100644 index 0000000000..2c54516f47 --- /dev/null +++ b/migration/i8.1z/postgresql/202011092042_IDEMPIERE-1117.sql @@ -0,0 +1,8 @@ +-- IDEMPIERE-1117 Attachment -> Disable preview over certain size +-- 11.2020.09 20:42:00 +INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','Preview',0,0,'Y',TO_TIMESTAMP('2020-11-09 20:42:00','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-11-09 20:42:00','YYYY-MM-DD HH24:MI:SS'),100,200651,'Preview','D','ee9dfe12-97b3-41fb-8449-e47dbb6d5fe2') +; + +SELECT register_migration_script('202011092042_IDEMPIERE-1117.sql') FROM dual +; +