Details
-
Type: Task
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.0
-
Fix Version/s: 3.1
-
Component/s: CiviContribute
-
Labels:None
Description
Noticed a few schema "defiiciencies" during test sprint...
1. PCP blocks require a Supporter Profile, so civicrm_pcp_block.supporter_profile_id should be an FKey to civicrm_uf_group.id
2. We don't want to delete a soft contribution record if the associated PCP is deleted so civicrm_contribution_soft.pcp_id should be an FKey with onDelete = set null.