Page MenuHomePhabricator

for next maintenance window - Remove disabled custom fields
Open, Needs TriagePublic

Description

We have a handful of disabled Custom fields. The cleaning fairy (aka @NNichols ) tried to delete some in the past but it caused problems because there were still triggers attached to them. However, these fields should be removed from the triggers now so we could delete them (doesn't have to be maintenance week but we could do it now if we are able to confirm quickly enough)

select g.title, f.id, f.name, f.label FROM civicrm_custom_field f INNER JOIN civicrm_custom_group g ON g.id = custom_group_id WHERE
f.is_active = 0 ;

titleidnamelabel
Communication222Endowment_Opt_OutEndowment: Opt Out
Communication223PG_Opt_OutPG: Opt Out
Gift Data22Letter_CodeThank You Letter Code
Gift Data53Thank__You_StageThank -You Stage
PG - Commitment Activity290Country_of_OriginCountry of Origin OLD
Prospect11TypeType
Prospect14InclinationInclination
Prospect136ask_amountAsk Amount
Prospect137expected_amountExpected Amount
Prospect138likelihoodLikelihood (%)
Prospect139expected_close_dateExpected Close Date
Prospect140close_dateClose Date
Thank you48Thank_You_StatusThank-You Status

Event Timeline

@NNichols can you eyeball the above list & confirm you still want to wave your magic wand over those (disabled) fields?

@Eileenmcnaughton Yes if they have already been disabled we can remove

@AKanji-WMF @Dwisehaupt I think we should maybe pull this out of the sprint & do it in the next maintenance window - it is just clean up so no particular need to do it before then

AKanji-WMF renamed this task from Remove disabled custom fields to for next maintenance window - Remove disabled custom fields.Feb 22 2024, 5:09 PM
AKanji-WMF moved this task from Current Sprint to Near Future on the Fundraising-Backlog board.