From d24601f70fdd4bd82833e7aefff66e252edd871d Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Mon, 14 Jun 2010 18:52:59 +0000 Subject: [PATCH] [3013401] IsCreatePlan in table PP_Product_Planning default=Y - Peer review -> sync database default Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=3013401 --- migration/354a-trunk/oracle/734_FR3013401_IsPlan.sql | 10 ++++++++++ .../354a-trunk/postgresql/734_FR3013401_IsPlan.sql | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/migration/354a-trunk/oracle/734_FR3013401_IsPlan.sql b/migration/354a-trunk/oracle/734_FR3013401_IsPlan.sql index be959f97ad..600a725fc2 100644 --- a/migration/354a-trunk/oracle/734_FR3013401_IsPlan.sql +++ b/migration/354a-trunk/oracle/734_FR3013401_IsPlan.sql @@ -3,3 +3,13 @@ UPDATE AD_Column SET DefaultValue='Y',Updated=TO_DATE('2010-06-08 12:47:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53382 ; +-- Jun 14, 2010 1:50:44 PM COT +-- FR3013401_IsCreatePlan default value=Y +ALTER TABLE PP_Product_Planning MODIFY IsCreatePlan CHAR(1) DEFAULT 'Y' +; + +-- Jun 14, 2010 1:50:45 PM COT +-- FR3013401_IsCreatePlan default value=Y +UPDATE PP_Product_Planning SET IsCreatePlan='Y' WHERE IsCreatePlan IS NULL +; + diff --git a/migration/354a-trunk/postgresql/734_FR3013401_IsPlan.sql b/migration/354a-trunk/postgresql/734_FR3013401_IsPlan.sql index f3c2a23797..205a87dcf9 100644 --- a/migration/354a-trunk/postgresql/734_FR3013401_IsPlan.sql +++ b/migration/354a-trunk/postgresql/734_FR3013401_IsPlan.sql @@ -3,3 +3,13 @@ UPDATE AD_Column SET DefaultValue='Y',Updated=TO_TIMESTAMP('2010-06-08 12:47:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53382 ; +-- Jun 14, 2010 1:50:44 PM COT +-- FR3013401_IsCreatePlan default value=Y +INSERT INTO t_alter_column values('pp_product_planning','IsCreatePlan','CHAR(1)',null,'Y') +; + +-- Jun 14, 2010 1:50:45 PM COT +-- FR3013401_IsCreatePlan default value=Y +UPDATE PP_Product_Planning SET IsCreatePlan='Y' WHERE IsCreatePlan IS NULL +; +