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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu May 10 19:34:55 EDT 2007


Author: richie
Date: Thu May 10 17:34:51 2007
New Revision: 10851

Log:
* Added changes to update the email fields typeofdata and security changes

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 Thu May 10 17:34:51 2007
@@ -241,6 +241,13 @@
 //we have to put invoiceid as default Invoice Number for all invoices otherwise we cannot edit the invoices
 ExecuteQuery("update vtiger_invoice set invoice_no=invoiceid");
 
+//change the typeofdata for Emails fields(Custom Fields) from V~O to E~O
+ExecuteQuery("update vtiger_field set typeofdata='E~O' where uitype=13 and typeofdata='V~O'");
+
+//set the visible to 0 for the mandatory fields for both profile2field and def_org_share_field
+ExecuteQuery("update vtiger_profile2field inner join vtiger_field on vtiger_field.fieldid = vtiger_profile2field.fieldid set visible=0 where uitype in (2,6,22,73,24,81,50,23,16,53,20) or displaytype=3");
+ExecuteQuery("update vtiger_def_org_field inner join vtiger_field on vtiger_field.fieldid = vtiger_def_org_field.fieldid set visible=0 where uitype in (2,6,22,73,24,81,50,23,16,53,20) or displaytype=3");
+
 
 
 





More information about the vtigercrm-commits mailing list