drupal-civicrm/sites/all/modules/civicrm/CRM/Upgrade/Incremental/sql/4.2.alpha2.mysql.tpl
2018-01-14 13:10:16 +00:00

10 lines
458 B
Smarty

{include file='../CRM/Upgrade/4.2.alpha2.msg_template/civicrm_msg_template.tpl'}
-- CRM-10326
DELETE FROM `civicrm_price_set_entity` WHERE entity_table = "civicrm_contribution" or entity_table = "civicrm_participant";
-- When deleting saved searches, null-out references from groups
ALTER TABLE civicrm_group ADD CONSTRAINT `FK_civicrm_group_saved_search_id`
FOREIGN KEY (`saved_search_id`) REFERENCES `civicrm_saved_search` (`id`)
ON DELETE SET NULL;