IDEMPIERE-2652 default value of ad_ctxhelpmsg_trl.create and ad_ctxhelpmsg_trl.update should now()

This commit is contained in:
Carlos Ruiz 2018-09-08 16:19:06 +02:00
parent 22460071c0
commit cab22dfe9c
2 changed files with 27 additions and 0 deletions

View File

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

View File

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