[Vtigercrm-commits] [vtiger-commits] r9323 - /vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Sep 6 11:57:38 EDT 2006


Author: saraj
Date: Wed Sep  6 09:57:34 2006
New Revision: 9323

Log:
* Added query to change the tablename in customview from activity to crmentity for the description fields

Modified:
    vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50.php

Modified: vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50.php
==============================================================================
--- vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50.php (original)
+++ vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50.php Wed Sep  6 09:57:34 2006
@@ -3606,6 +3606,10 @@
 		}
 	}
 }
+//we have to change the table name from activity to crmentity for customview activity description 
+Execute('update vtiger_cvcolumnlist set columnname="vtiger_crmentity:description:description:Calendar_Description:V" where columnname="vtiger_activity:description:description:Calendar_Description:V"');
+//we have to change the table name (alias) from activity to crmentiryCalendar for reports activity description
+Execute('update vtiger_selectcolumn set columnname="vtiger_crmentityCalendar:description:Calendar_Description:description:V" where columnname="vtiger_activity:description:Calendar_Description:description:V"');
 //changes made for CustomView and Reports - Activities changed to Calendar -- Ends
 
 Execute("update vtiger_field set uitype = 16 where tabid=2 and uitype=111 and columnname='sales_stage'");





More information about the vtigercrm-commits mailing list