diff --git a/modules/Migration/models/Module.php b/modules/Migration/models/Module.php index 83b4aee8484f2318fd3e0f1a2e4b704317e645f8..cae6786829b97f0cd4dbc5bdfd8b8c5ebbd63905 100644 --- a/modules/Migration/models/Module.php +++ b/modules/Migration/models/Module.php @@ -48,6 +48,7 @@ class Migration_Module_Model extends Vtiger_Module_Model { array('73' => '7.3'), array('730' => '7.3.0'), array('740' => '7.4.0'), + array('750' => '7.5.0'), ); return $versions; } diff --git a/modules/Migration/schema/740_to_750.php b/modules/Migration/schema/740_to_750.php new file mode 100644 index 0000000000000000000000000000000000000000..1f00777b15aecc130376e0acf19a8053e59c4fd9 --- /dev/null +++ b/modules/Migration/schema/740_to_750.php @@ -0,0 +1,16 @@ +<?php +/*+******************************************************************************** + * The contents of this file are subject to the vtiger CRM Public License Version 1.0 + * ("License"); You may not use this file except in compliance with the License + * The Original Code is: vtiger CRM Open Source + * The Initial Developer of the Original Code is vtiger. + * Portions created by vtiger are Copyright (C) vtiger. + * All Rights Reserved. + *********************************************************************************/ + +if (defined('VTIGER_UPGRADE')) { + global $current_user, $adb; + $db = PearDatabase::getInstance(); + + $db->pquery("ALTER TABLE vtiger_inventorychargesrel ADD KEY record_idx (recordid)", array()); +}