diff --git a/migration/i5.1/oracle/201809081618_IDEMPIERE-2652.sql b/migration/i5.1/oracle/201809081618_IDEMPIERE-2652.sql new file mode 100644 index 0000000000..f8cfb694d0 --- /dev/null +++ b/migration/i5.1/oracle/201809081618_IDEMPIERE-2652.sql @@ -0,0 +1,15 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- IDEMPIERE-2652 default value of ad_ctxhelpmsg_trl.create and ad_ctxhelpmsg_trl.update should now() +-- Sep 8, 2018 4:14:56 PM CEST +ALTER TABLE AD_CtxHelpMsg_Trl MODIFY Created DATE DEFAULT SYSDATE +; + +-- Sep 8, 2018 4:15:28 PM CEST +ALTER TABLE AD_CtxHelpMsg_Trl MODIFY Updated DATE DEFAULT SYSDATE +; + +SELECT register_migration_script('201809081618_IDEMPIERE-2652.sql') FROM dual +; + diff --git a/migration/i5.1/postgresql/201809081618_IDEMPIERE-2652.sql b/migration/i5.1/postgresql/201809081618_IDEMPIERE-2652.sql new file mode 100644 index 0000000000..8d0a8cceea --- /dev/null +++ b/migration/i5.1/postgresql/201809081618_IDEMPIERE-2652.sql @@ -0,0 +1,12 @@ +-- IDEMPIERE-2652 default value of ad_ctxhelpmsg_trl.create and ad_ctxhelpmsg_trl.update should now() +-- Sep 8, 2018 4:14:56 PM CEST +INSERT INTO t_alter_column values('ad_ctxhelpmsg_trl','Created','TIMESTAMP',null,'statement_timestamp()') +; + +-- Sep 8, 2018 4:15:28 PM CEST +INSERT INTO t_alter_column values('ad_ctxhelpmsg_trl','Updated','TIMESTAMP',null,'statement_timestamp()') +; + +SELECT register_migration_script('201809081618_IDEMPIERE-2652.sql') FROM dual +; +