From f4413ff0d1dba71b412a3540db676d2afab7fb85 Mon Sep 17 00:00:00 2001 From: redchris Date: Tue, 20 Oct 2009 06:42:16 +0000 Subject: [PATCH] BF [ 2881573 ] Problem with Default value https://sourceforge.net/tracker/index.php?func=detail&aid=2881573&group_id=176962&atid=879332# --- ...0_BF2881573_Problem_with_Default_value.sql | 20 +++++++++++++++++++ ...0_BF2881573_Problem_with_Default_value.sql | 20 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 migration/354a-trunk/oracle/600_BF2881573_Problem_with_Default_value.sql create mode 100644 migration/354a-trunk/postgresql/600_BF2881573_Problem_with_Default_value.sql diff --git a/migration/354a-trunk/oracle/600_BF2881573_Problem_with_Default_value.sql b/migration/354a-trunk/oracle/600_BF2881573_Problem_with_Default_value.sql new file mode 100644 index 0000000000..95a955f1f6 --- /dev/null +++ b/migration/354a-trunk/oracle/600_BF2881573_Problem_with_Default_value.sql @@ -0,0 +1,20 @@ +-- 17.10.2009 15:16:29 EEST +-- libero: create missing fields +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2009-10-17 15:16:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53390 +; + +-- 17.10.2009 15:16:58 EEST +-- libero: create missing fields +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_DATE('2009-10-17 15:16:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53400 +; + +-- 17.10.2009 15:19:39 EEST +-- libero: create missing fields +ALTER TABLE PP_Product_Planning MODIFY S_Resource_ID NUMBER(10) DEFAULT NULL +; + +-- 17.10.2009 15:20:08 EEST +-- libero: create missing fields +ALTER TABLE PP_Product_Planning MODIFY M_Warehouse_ID NUMBER(10) DEFAULT NULL +; + diff --git a/migration/354a-trunk/postgresql/600_BF2881573_Problem_with_Default_value.sql b/migration/354a-trunk/postgresql/600_BF2881573_Problem_with_Default_value.sql new file mode 100644 index 0000000000..2b078e1089 --- /dev/null +++ b/migration/354a-trunk/postgresql/600_BF2881573_Problem_with_Default_value.sql @@ -0,0 +1,20 @@ +-- 17.10.2009 15:16:29 EEST +-- libero: create missing fields +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2009-10-17 15:16:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53390 +; + +-- 17.10.2009 15:16:58 EEST +-- libero: create missing fields +UPDATE AD_Column SET DefaultValue=NULL,Updated=TO_TIMESTAMP('2009-10-17 15:16:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53400 +; + +-- 17.10.2009 15:19:39 EEST +-- libero: create missing fields +insert into t_alter_column values('pp_product_planning','S_Resource_ID','NUMERIC(10)',null,'NULL') +; + +-- 17.10.2009 15:20:08 EEST +-- libero: create missing fields +insert into t_alter_column values('pp_product_planning','M_Warehouse_ID','NUMERIC(10)',null,'NULL') +; +