Skip to content
Snippets Groups Projects
Commit 6ed048ed authored by Prasad's avatar Prasad
Browse files

Added migration fix for #1598

parent b8b055f3
No related branches found
No related tags found
No related merge requests found
......@@ -41,4 +41,7 @@ if (defined('VTIGER_UPGRADE')) {
$db->pquery('ALTER TABLE vtiger_purchaseorder MODIFY s_h_percent DECIMAL(25,3)', array());
$db->pquery('ALTER TABLE vtiger_quotes MODIFY s_h_percent DECIMAL(25,3)', array());
// Make hidden mandatory fields optional
$db->pquery("UPDATE vtiger_field SET typeofdata = replace(typeofdata,'~M','~O') where presence =1 and typeofdata like '%~M%'", array());
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment