From 41398ec88c04dafa07b841cdf5447e96db2d8f3b Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 7 Mar 2013 17:51:20 -0500 Subject: [PATCH] IDEMPIERE-626 Zk: Ticket #1002211: Context help pane / add defaults to created/updated columns - add missing translations broken --- .../oracle/201303071741_IDEMPIERE-626.sql | 33 +++++++++++++++++++ .../postgresql/201303071741_IDEMPIERE-626.sql | 33 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 migration/i1.0a-release/oracle/201303071741_IDEMPIERE-626.sql create mode 100644 migration/i1.0a-release/postgresql/201303071741_IDEMPIERE-626.sql diff --git a/migration/i1.0a-release/oracle/201303071741_IDEMPIERE-626.sql b/migration/i1.0a-release/oracle/201303071741_IDEMPIERE-626.sql new file mode 100644 index 0000000000..7e85d78090 --- /dev/null +++ b/migration/i1.0a-release/oracle/201303071741_IDEMPIERE-626.sql @@ -0,0 +1,33 @@ +-- Mar 7, 2013 5:39:23 PM COT +-- IDEMPIERE-626 Zk: Ticket #1002211: Context help pane +UPDATE AD_Column SET DefaultValue='SYSDATE',Updated=TO_DATE('2013-03-07 17:39:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=208572 +; + +-- Mar 7, 2013 5:39:58 PM COT +-- IDEMPIERE-626 Zk: Ticket #1002211: Context help pane +ALTER TABLE AD_CtxHelpMsg_Trl MODIFY Created DATE DEFAULT SYSDATE +; + +-- Mar 7, 2013 5:40:04 PM COT +-- IDEMPIERE-626 Zk: Ticket #1002211: Context help pane +UPDATE AD_CtxHelpMsg_Trl SET Created=SYSDATE WHERE Created IS NULL +; + +-- Mar 7, 2013 5:45:58 PM COT +-- IDEMPIERE-626 Zk: Ticket #1002211: Context help pane +UPDATE AD_Column SET DefaultValue='SYSDATE',Updated=TO_DATE('2013-03-07 17:45:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=208578 +; + +-- Mar 7, 2013 5:46:09 PM COT +-- IDEMPIERE-626 Zk: Ticket #1002211: Context help pane +ALTER TABLE AD_CtxHelpMsg_Trl MODIFY Updated DATE DEFAULT SYSDATE +; + +-- Mar 7, 2013 5:46:09 PM COT +-- IDEMPIERE-626 Zk: Ticket #1002211: Context help pane +UPDATE AD_CtxHelpMsg_Trl SET Updated=SYSDATE WHERE Updated IS NULL +; + +SELECT register_migration_script('201303071741_IDEMPIERE-626.sql') FROM dual +; + diff --git a/migration/i1.0a-release/postgresql/201303071741_IDEMPIERE-626.sql b/migration/i1.0a-release/postgresql/201303071741_IDEMPIERE-626.sql new file mode 100644 index 0000000000..5f57b28308 --- /dev/null +++ b/migration/i1.0a-release/postgresql/201303071741_IDEMPIERE-626.sql @@ -0,0 +1,33 @@ +-- Mar 7, 2013 5:39:23 PM COT +-- IDEMPIERE-626 Zk: Ticket #1002211: Context help pane +UPDATE AD_Column SET DefaultValue='SYSDATE',Updated=TO_TIMESTAMP('2013-03-07 17:39:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=208572 +; + +-- Mar 7, 2013 5:39:58 PM COT +-- IDEMPIERE-626 Zk: Ticket #1002211: Context help pane +INSERT INTO t_alter_column values('ad_ctxhelpmsg_trl','Created','TIMESTAMP',null,'now()') +; + +-- Mar 7, 2013 5:40:04 PM COT +-- IDEMPIERE-626 Zk: Ticket #1002211: Context help pane +UPDATE AD_CtxHelpMsg_Trl SET Created=now() WHERE Created IS NULL +; + +-- Mar 7, 2013 5:45:58 PM COT +-- IDEMPIERE-626 Zk: Ticket #1002211: Context help pane +UPDATE AD_Column SET DefaultValue='SYSDATE',Updated=TO_TIMESTAMP('2013-03-07 17:45:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=208578 +; + +-- Mar 7, 2013 5:46:09 PM COT +-- IDEMPIERE-626 Zk: Ticket #1002211: Context help pane +INSERT INTO t_alter_column values('ad_ctxhelpmsg_trl','Updated','TIMESTAMP',null,'now()') +; + +-- Mar 7, 2013 5:46:09 PM COT +-- IDEMPIERE-626 Zk: Ticket #1002211: Context help pane +UPDATE AD_CtxHelpMsg_Trl SET Updated=now() WHERE Updated IS NULL +; + +SELECT register_migration_script('201303071741_IDEMPIERE-626.sql') FROM dual +; +