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

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon May 14 18:09:24 EDT 2007


Author: richie
Date: Mon May 14 16:09:17 2007
New Revision: 10924

Log:
* Fixed the website issue in migration, Fixed #3839

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 Mon May 14 16:09:17 2007
@@ -248,6 +248,8 @@
 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");
 
+//remove http:// from the website in Accounts (In 5.x we will handle this in code instead of db)
+ExecuteQuery("update vtiger_account set website = REPLACE(website,'http://','')");
 
 
 





More information about the vtigercrm-commits mailing list