IDEMPIERE-3519:column updated, created of c_salesregion_trl isn't yet sync so miss default value

This commit is contained in:
hieplq 2017-10-13 12:55:39 +07:00
parent d2acbd8e74
commit a56e9dbe28
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,14 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- IDEMPIERE-3519:column updated, created of c_salesregion_trl isn't yet sync so miss default value
-- Oct 13, 2017 12:41:29 PM ICT
ALTER TABLE C_SalesRegion_Trl MODIFY Created DATE DEFAULT SYSDATE
;
-- Oct 13, 2017 12:41:53 PM ICT
ALTER TABLE C_SalesRegion_Trl MODIFY Updated DATE DEFAULT SYSDATE
;
SELECT register_migration_script('201710131604-IDEMPIERE-3519.sql') FROM dual
;

View File

@ -0,0 +1,11 @@
-- IDEMPIERE-3519:column updated, created of c_salesregion_trl isn't yet sync so miss default value
-- Oct 13, 2017 12:41:29 PM ICT
INSERT INTO t_alter_column values('c_salesregion_trl','Created','TIMESTAMP',null,'statement_timestamp()')
;
-- Oct 13, 2017 12:41:53 PM ICT
INSERT INTO t_alter_column values('c_salesregion_trl','Updated','TIMESTAMP',null,'statement_timestamp()')
;
SELECT register_migration_script('201710131604-IDEMPIERE-3519.sql') FROM dual
;