[Vtigercrm-commits] [vtiger-commits] r10991 - /vtigercrm/branches/5.0.3/modules/Migration/DBChanges/503rc2_to_503.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed May 23 14:15:03 EDT 2007


Author: richie
Date: Wed May 23 12:15:00 2007
New Revision: 10991

Log:
* Removed the contact id column in cvcolumnlist for products customview because now cntact id is not available in products

Modified:
    vtigercrm/branches/5.0.3/modules/Migration/DBChanges/503rc2_to_503.php

Modified: vtigercrm/branches/5.0.3/modules/Migration/DBChanges/503rc2_to_503.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Migration/DBChanges/503rc2_to_503.php (original)
+++ vtigercrm/branches/5.0.3/modules/Migration/DBChanges/503rc2_to_503.php Wed May 23 12:15:00 2007
@@ -324,6 +324,8 @@
 $adb->query("alter table vtiger_industry drop index Industry_UK0");
 $adb->query("alter table vtiger_industry add UNIQUE index industry_industry_idx(industry)");
 
+//we have removed contactid from products so that in cvcolumnlist we have to remove this column
+ExecuteQuery("delete from vtiger_cvcolumnlist where columnname='vtiger_products:contactid:contact_id:Products_Contact_Name:I'");
 
 
 ExecuteQuery("CREATE TABLE vtiger_version (id int(11) NOT NULL auto_increment, old_version varchar(30) default NULL, current_version varchar(30) default NULL, PRIMARY KEY  (id) ) ENGINE=InnoDB DEFAULT CHARSET=latin1");





More information about the vtigercrm-commits mailing list